:root {
    --partner-green: #1b5e3b;
    --partner-green-dark: #0c3f27;
    --partner-green-soft: #eaf7f0;
    --partner-ink: #0f172a;
    --partner-muted: #64748b;
    --partner-line: #d8e2ee;
    --partner-bg: #eef3f8;
    --partner-card: #ffffff;
    --partner-accent: #f59e0b;
    --partner-radius: 8px;
    --partner-shadow: 0 18px 42px rgba(15, 23, 42, .10);
}

/* Главная: точное соответствие блоков эталонному dashboard-макету. */
.dash-home {
    width: auto;
    max-width: 1280px;
    margin: 0 auto;
    padding: 1.75rem 1.5rem 3rem;
}

.dash-home.dash-home--b2b {
    padding-top: 1.1rem;
}

.dash-home__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.25rem 1.5rem;
    align-items: stretch;
    margin-bottom: 1.5rem;
}

.dash-home__hero-main {
    padding: 1.45rem 1.6rem 1.4rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 28px rgba(15, 23, 42, .06);
}

.dash-home__hero-eyebrow {
    margin: 0 0 .65rem;
    color: #64748b;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.45;
}

.dash-home__hero-eyebrow a {
    color: #1b5e3b;
    font-weight: 700;
}

.dash-home__hero-title {
    margin: 0 0 .55rem;
    color: #0f172a;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
}

.dash-home__hero-lead {
    margin: 0 0 .75rem;
    color: #334155;
    font-size: .95rem;
    font-weight: 500;
    line-height: 1.55;
}

.dash-home__hero-text {
    margin: 0 0 1.05rem;
    color: #64748b;
    font-size: .87rem;
    line-height: 1.55;
}

.dash-home__hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .5rem;
    margin-top: .15rem;
}

.dash-home__hero-partner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .5rem 1.2rem;
    border: 1px solid #14532d;
    border-radius: 999px;
    color: #ffffff;
    background: #1b5e3b;
    font-size: .82rem;
    font-weight: 700;
    transition: background .15s, border-color .15s, color .15s;
}

.dash-home__hero-partner-btn:hover {
    border-color: #166534;
    color: #ffffff;
    background: #15803d;
}

.dash-home__hero-aside {
    display: flex;
    flex-direction: column;
    gap: .85rem;
}

.dash-home__hero-hotline {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: 1rem 1.15rem;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 100%);
    text-align: center;
    box-shadow: none;
}

.dash-home__hero-hotline-label {
    display: block;
    margin: 0;
    color: #64748b;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dash-home__hero-hotline-phone {
    display: block;
    margin: 0;
    color: #14532d;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dash-home__hero-hotline-cta-wrap {
    display: flex;
    justify-content: center;
    margin: 0;
}

.dash-home__hero-hotline-cta {
    display: inline-flex;
    width: 52px;
    height: 52px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 2px solid #14532d;
    border-radius: 50%;
    color: #ffffff;
    background: #1b5e3b;
    box-sizing: border-box;
    transition: background .15s, border-color .15s, transform .15s;
}

.dash-home__hero-hotline-cta:hover {
    border-color: #166534;
    color: #ffffff;
    background: #15803d;
    transform: scale(1.04);
}

.dash-home__hero-hotline-cta-icon {
    flex-shrink: 0;
    transform-origin: center;
    animation: dash-home-hotline-phone-pulse 2.2s ease-in-out infinite;
}

.dash-home__hero-hotline-note {
    display: block;
    max-width: 16rem;
    margin: 0;
    color: #64748b;
    font-size: .76rem;
    line-height: 1.45;
}

.dash-home__hero-hotline-note a {
    color: #1b5e3b;
    font-weight: 600;
}

@keyframes dash-home-hotline-phone-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.14); }
}

.dash-home__solutions {
    margin-bottom: 1.5rem;
}

.dash-home__section-label {
    margin: 0 0 .9rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.dash-home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dash-home-solution {
    padding: 1.15rem 1.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: none;
    transition: box-shadow .2s, transform .2s;
}

.dash-home-solution:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.dash-home-solution--ntss { border-top: 3px solid #0d9488; }
.dash-home-solution--koscab { border-top: 3px solid #16a34a; }

.dash-home-solution__title {
    margin: 0 0 .5rem;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dash-home-solution__text {
    margin: 0;
    color: #64748b;
    font-size: .81rem;
    line-height: 1.48;
}

.dash-home__geo-note {
    margin: 1rem 0 0;
    padding: .9rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    color: #475569;
    background: #f8fafc;
    font-size: .82rem;
    line-height: 1.55;
}

.dash-home__spotlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-spotlight {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem 1.2rem;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    color: inherit;
    background: #ffffff;
    box-shadow: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.dash-spotlight:hover {
    box-shadow: 0 12px 32px rgba(15, 23, 42, .1);
    transform: translateY(-3px);
}

.dash-spotlight__icon {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    border-radius: 12px;
}

.dash-spotlight__kicker {
    margin-bottom: .25rem;
    color: inherit;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    opacity: .85;
}

.dash-spotlight__title {
    margin: 0 0 .35rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.02em;
}

.dash-spotlight__desc {
    flex: 1;
    margin: 0 0 .85rem;
    color: #64748b;
    font-size: .82rem;
    line-height: 1.4;
}

.dash-spotlight__link {
    margin-top: auto;
    font-size: .82rem;
    font-weight: 700;
}

.dash-spotlight--promo {
    border-color: #fed7aa;
    background: linear-gradient(165deg, #fffbeb 0%, #ffffff 55%);
}

.dash-spotlight--promo .dash-spotlight__icon { color: #ffffff; background: linear-gradient(145deg, #c2410c, #ea580c); }
.dash-spotlight--promo .dash-spotlight__link { color: #c2410c; }

.dash-spotlight--new {
    border-color: #99f6e4;
    background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 50%);
}

.dash-spotlight--new .dash-spotlight__icon { color: #ffffff; background: linear-gradient(145deg, #0d9488, #14b8a6); }
.dash-spotlight--new .dash-spotlight__link { color: #0f766e; }

.dash-spotlight--coop {
    border-color: #bfdbfe;
    background: linear-gradient(165deg, #eff6ff 0%, #ffffff 50%);
}

.dash-spotlight--coop .dash-spotlight__icon { color: #ffffff; background: linear-gradient(145deg, #1d4ed8, #2563eb); }
.dash-spotlight--coop .dash-spotlight__link { color: #1d4ed8; }

.dash-home__services {
    margin-bottom: 2rem;
}

.dash-home__services .dash-home__section-title,
.dash-home__flow .dash-home__section-title {
    margin: 0 0 1.25rem;
    color: #334155;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
}

.dash-home__services .dash-home__section-title--left {
    margin-bottom: 1rem;
    text-align: left;
}

.dash-home-services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dash-home-svc {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    color: inherit;
    background: #ffffff;
    box-shadow: none;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}

.dash-home-svc:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
    transform: translateY(-2px);
}

.dash-home-svc__icon {
    display: flex;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 12px;
    color: #1b5e3b;
    background: #f1f5f9;
}

.dash-home-svc__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: .3rem;
}

.dash-home-svc__title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dash-home-svc__desc {
    color: #64748b;
    font-size: .84rem;
    line-height: 1.45;
}

.dash-home-svc__go {
    align-self: center;
    flex-shrink: 0;
    color: #94a3b8;
    font-size: 1.15rem;
    transition: transform .2s, color .2s;
}

.dash-home-svc:hover .dash-home-svc__go {
    color: #1b5e3b;
    transform: translateX(4px);
}

.dash-home-svc--data {
    border-color: #86efac;
    background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 45%);
}

.dash-home-svc--data .dash-home-svc__icon { color: #ffffff; background: #1b5e3b; }
.dash-home-svc--data .dash-home-svc__title { color: #14532d; }

.dash-home__flow {
    margin-bottom: 2rem;
}

.dash-home-flow {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin: 0;
    padding: 1.25rem 1.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
    list-style: none;
}

.dash-home-flow::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 50%;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #1b5e3b, #94a3b8, #1b5e3b);
    opacity: .25;
    transform: translateY(-50%);
    pointer-events: none;
}

.dash-home-flow__step {
    position: relative;
    z-index: 1;
    min-width: 120px;
    flex: 1;
    display: block;
    text-align: center;
}

.dash-home-flow__num {
    display: flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin: 0 auto .55rem;
    border-radius: 12px;
    color: #ffffff;
    background: linear-gradient(145deg, #1b5e3b, #22c55e);
    box-shadow: 0 4px 12px rgba(27, 94, 59, .35);
    font-size: 1rem;
    font-weight: 800;
}

.dash-home-flow__label {
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.35;
}

.dash-home__partnership {
    margin-bottom: 2rem;
}

.dash-home-partnership {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 40%, #f0fdf4 100%);
    box-shadow: 0 4px 24px rgba(27, 94, 59, .06);
}

.dash-home-partnership__title {
    margin: 0 0 .65rem;
    color: #0f172a;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dash-home-partnership__lead {
    margin: 0 0 1rem;
    color: #475569;
    font-size: .9rem;
    line-height: 1.55;
}

.dash-home-partnership__list {
    margin: 0;
    padding-left: 1.15rem;
    color: #334155;
    font-size: .86rem;
    line-height: 1.55;
}

.dash-home-partnership__cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 1.15rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.dash-home-partnership__intro {
    margin: 0 0 1rem;
    color: #334155;
    font-size: .87rem;
    font-weight: 500;
    line-height: 1.55;
}

.dash-home-partnership__hint {
    margin: 0 0 .35rem;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.5;
}

.dash-home-partnership__hint--email { margin-bottom: 1rem; }

.dash-home-partnership__btn {
    display: inline-flex;
    width: auto;
    align-items: center;
    justify-content: center;
    padding: .65rem 1.2rem;
    border-radius: 10px;
    color: #ffffff;
    background: #1b5e3b;
    font-size: .88rem;
    font-weight: 700;
}

.dash-home-partnership__btn:hover {
    color: #ffffff;
    background: #15803d;
}

@media (max-width: 900px) {
    .dash-home-solutions-grid,
    .dash-home__spotlights,
    .dash-home-services-grid,
    .dash-home-partnership {
        grid-template-columns: 1fr;
    }

    .dash-home-flow::before { display: none; }
}

@media (max-width: 720px) {
    .dash-home__top { grid-template-columns: 1fr; }

    .dash-home-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-home-flow__step {
        display: flex;
        align-items: center;
        gap: .85rem;
        text-align: left;
    }

    .dash-home-flow__num { margin: 0; }
}

/* Документы */
body.documents-modal-open { overflow: hidden; }
.documents-modal[hidden] { display: none; }
.documents-modal { position: fixed; inset: 0; z-index: 10020; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.documents-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .5); cursor: default; }
.documents-modal__dialog { position: relative; display: flex; width: 95%; max-width: 680px; max-height: 90vh; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.documents-modal__header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e7eb; }
.documents-modal__header h2 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.documents-modal__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; color: #64748b; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.documents-modal__close:hover { color: #1e293b; background: #f1f5f9; }
.documents-tabs { display: flex; flex-shrink: 0; flex-wrap: wrap; gap: .25rem; padding: 0 1rem; border-bottom: 1px solid #e5e7eb; background: #fafafa; }
.documents-tab { margin: 0; padding: .55rem .85rem; border: 0; border-bottom: 2px solid transparent; border-radius: 6px 6px 0 0; color: #64748b; background: transparent; font: inherit; font-size: .82rem; font-weight: 600; cursor: pointer; transition: color .15s, background .15s, border-color .15s; }
.documents-tab:hover { color: #1b5e3b; background: rgba(240, 253, 244, .6); }
.documents-tab.is-active { border-bottom-color: #1b5e3b; color: #14532d; background: #fff; }
.documents-modal__body { display: flex; min-height: 0; flex: 1; flex-direction: column; overflow: hidden; background: #fff; }
.documents-panel { display: none; min-height: 0; flex: 1; flex-direction: column; overflow: hidden; background: #fff; }
.documents-panel.is-active { display: flex; }
.documents-panel__toolbar { flex-shrink: 0; padding: .65rem 1rem; border-bottom: 1px solid #f1f5f9; }
.documents-search { width: 100%; max-width: 100%; box-sizing: border-box; padding: .4rem .65rem; border: 1px solid #cbd5e1; border-radius: 6px; outline: none; font: inherit; font-size: .82rem; transition: border-color .15s; }
.documents-search:focus { border-color: #1b5e3b; }
.documents-panel__content { min-height: 0; flex: 1; overflow: auto; border-radius: 0 0 12px 12px; background: #fff; }
.documents-empty { padding: 2rem 1rem; color: #94a3b8; font-size: .9rem; text-align: center; }

@media (max-width: 600px) {
    .documents-modal { padding: .75rem; }
    .documents-modal__dialog { width: 100%; }
    .documents-tabs { padding: 0 .5rem; }
    .documents-tab { flex: 1 1 auto; padding: .55rem .45rem; }
}

/* Справка и обращения */
body.help-content-modal-open { overflow: hidden; }
.help-content-modal[hidden] { display: none; }
.help-content-modal { position: fixed; inset: 0; z-index: 10040; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.help-content-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .5); cursor: default; }
.help-content-modal__dialog { position: relative; display: flex; width: 95%; max-height: 92vh; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.help-content-modal__dialog--instruction { max-width: 860px; }
.help-content-modal__dialog--form { max-width: 480px; max-height: 90vh; }
.help-content-modal__header { display: flex; flex-shrink: 0; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e7eb; }
.help-content-modal__header h2 { margin: 0; font-size: 1.15rem; font-weight: 600; }
.help-content-modal__close { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 8px; color: #64748b; background: transparent; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.help-content-modal__close:hover { color: #1e293b; background: #f1f5f9; }
.help-content-modal__body { padding: 1rem 1.25rem 1.35rem; overflow-y: auto; }
.help-content-modal__body--instruction { flex: 1; padding: 1rem 1.5rem 1.5rem; }
.help-hero { display: flex; align-items: center; gap: .9rem; margin-bottom: .95rem; padding: .85rem 1rem; border: 1px solid #d1fae5; border-radius: 10px; background: linear-gradient(90deg, #ecfeff 0%, #f0fdf4 100%); }
.help-hero__icon { display: inline-flex; width: 36px; height: 36px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #1b5e3b; font-weight: 700; }
.help-hero h3 { margin: 0 0 .15rem; color: #14532d; font-size: 1rem; }
.help-hero p { margin: 0; color: #334155; font-size: .88rem; line-height: 1.5; }
.help-steps { display: grid; grid-template-columns: 1fr; gap: .55rem; margin-bottom: .95rem; }
.help-step { display: flex; align-items: flex-start; gap: .55rem; padding: .55rem .7rem; border: 1px solid #e5e7eb; border-radius: 8px; color: #334155; background: #fff; font-size: .86rem; line-height: 1.35; }
.help-step__number { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #1b5e3b; font-size: .8rem; font-weight: 700; }
.help-sections { display: grid; gap: .8rem; }
.help-sections section { padding: .8rem 1rem; border: 1px solid #e5e7eb; border-radius: 10px; }
.help-sections h3 { margin: 0 0 .35rem; color: #14532d; font-size: .95rem; }
.help-sections p { margin: 0; color: #334155; font-size: .84rem; line-height: 1.55; }
.catalog-help-form__lead { margin: 0 0 1rem; color: #334155; font-size: .9rem; line-height: 1.5; }
.catalog-feedback-form { display: flex; flex-direction: column; gap: .75rem; }
.catalog-feedback-form label { display: flex; flex-direction: column; gap: .3rem; color: #334155; font-size: .85rem; font-weight: 600; }
.catalog-feedback-form input, .catalog-feedback-form textarea { width: 100%; box-sizing: border-box; padding: .5rem .65rem; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; font: inherit; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.catalog-feedback-form textarea { min-height: 88px; resize: vertical; }
.catalog-feedback-form input:focus, .catalog-feedback-form textarea:focus { border-color: #1b5e3b; box-shadow: 0 0 0 3px rgba(27, 94, 59, .12); }
.catalog-feedback-form input.is-invalid, .catalog-feedback-form textarea.is-invalid { border-color: #dc2626; }
.catalog-feedback-form__status { margin: 0; padding: .65rem .75rem; border: 1px solid #a7f3d0; border-radius: 8px; color: #065f46; background: #ecfdf5; font-size: .9rem; line-height: 1.45; }
.catalog-feedback-form__status.is-error { border-color: #fecaca; color: #991b1b; background: #fef2f2; }
.catalog-feedback-form__submit { align-self: flex-start; margin-top: .25rem; padding: .6rem 1rem; border: 0; border-radius: 8px; color: #fff; background: #2b66e9; font: inherit; cursor: pointer; }
.catalog-feedback-form__submit:hover { background: #1d4ed8; }
.catalog-feedback-form__submit:disabled { opacity: .65; cursor: wait; }

@media (max-width: 600px) {
    .help-content-modal { padding: .75rem; }
    .help-content-modal__dialog { width: 100%; max-height: calc(100vh - 1.5rem); }
    .help-content-modal__body--instruction { padding: .85rem; }
    .help-hero { align-items: flex-start; }
}

/* История заказов */
body.order-history-open { overflow: hidden; }
.order-history-modal[hidden], .order-delivery-modal[hidden] { display: none; }
.order-history-modal, .order-delivery-modal { position: fixed; inset: 0; z-index: 10020; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.order-history-modal__backdrop, .order-delivery-modal__backdrop { position: absolute; inset: 0; border: 0; background: rgba(0, 0, 0, .5); cursor: default; }
.order-history-modal__dialog { position: relative; display: flex; flex-direction: column; width: 95%; max-width: 640px; max-height: 90vh; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.order-history-modal__header, .order-delivery-modal__header { display: flex; align-items: center; gap: .5rem; padding: 1rem 1.25rem; border-bottom: 1px solid #e5e7eb; }
.order-history-modal__header h2, .order-delivery-modal__header h2 { flex: 1; margin: 0; font-size: 1.15rem; font-weight: 600; line-height: 1.25; }
.order-history-modal__back, .order-history-modal__close { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 6px; color: #334155; background: #f1f5f9; cursor: pointer; }
.order-history-modal__back:hover { background: #e2e8f0; }
.order-history-modal__close { width: 36px; height: 36px; margin-left: auto; border-radius: 8px; color: #64748b; background: transparent; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.order-history-modal__close:hover { color: #1e293b; background: #f1f5f9; }
.order-history-modal__search { padding: .5rem 1.25rem; border-bottom: 1px solid #e5e7eb; }
.order-history-modal__search input { width: 100%; padding: .45rem .75rem; border: 1px solid #cbd5e1; border-radius: 6px; outline: none; color: #1e293b; background: #fff; font: inherit; font-size: .85rem; }
.order-history-modal__search input:focus { border-color: #1b5e3b; }
.order-history-modal__body { min-height: 190px; flex: 1; overflow-y: auto; }
.order-history-list { display: block; }
.order-history-row { display: grid; grid-template-columns: 36px 36px minmax(0, 1fr) auto auto; align-items: center; gap: .35rem; padding: .75rem 1.25rem; border-bottom: 1px solid #f1f5f9; cursor: pointer; transition: background .1s; }
.order-history-row:hover { background: #f8fafc; }
.order-history-row__delivery, .order-history-row__document { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; border: 1px solid #cbd5e1; border-radius: 8px; color: #1b5e3b; background: #fff; cursor: pointer; }
.order-history-row__delivery:hover { border-color: #1b5e3b; background: #f0fdf4; }
.order-history-row__document { border-color: transparent; background: #eff6ff; }
.order-history-row svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.order-history-row__main { min-width: 0; margin-left: .4rem; padding: 0; border: 0; text-align: left; color: #17643d; background: transparent; cursor: pointer; }
.order-history-row__main strong, .order-history-row__main span { display: block; }
.order-history-row__main strong { font-size: .88rem; font-weight: 500; color: #1b5e3b; }
.order-history-row__main span { margin-top: .1rem; color: #94a3b8; font-size: .78rem; }
.order-history-row time { margin-left: .4rem; color: #64748b; font-size: .78rem; white-space: nowrap; }
.order-history-row__status { margin-left: .4rem; padding: .15rem .5rem; border-radius: 10px; color: #854d0e; background: #fef9c3; font-size: .72rem; font-weight: 600; white-space: nowrap; }
.order-history-loading, .order-history-empty { display: flex; min-height: 250px; flex-direction: column; align-items: center; justify-content: center; gap: .65rem; padding: 2rem; color: #64748b; text-align: center; }
.order-history-loading span { width: 28px; height: 28px; border: 3px solid #dbe4ef; border-top-color: #17643d; border-radius: 50%; animation: catalog-spin .8s linear infinite; }
.order-history-empty strong { color: #1e293b; font-size: 1.05rem; }
.order-history-modal__footer { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; padding: .75rem 1.25rem; border-top: 2px solid #e5e7eb; border-radius: 0 0 12px 12px; background: #f8fafc; }
.order-detail-head, .order-detail-row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(80px, 1fr) 80px 55px 100px; align-items: center; gap: .5rem; padding: .6rem 1rem; }
.order-detail-head { position: sticky; top: 0; z-index: 1; border-bottom: 2px solid #e5e7eb; color: #64748b; background: #f8fafc; font-size: .75rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.order-detail-row { min-height: 56px; border-bottom: 1px solid #f1f5f9; color: #202a36; font-size: .85rem; }
.order-detail-row__article { color: #52657f; font-family: monospace; }
.order-detail-row > :last-child { text-align: right; }
.order-detail-total { display: flex; justify-content: space-between; gap: 1rem; padding: .75rem 1rem; color: #1b5e3b; background: #f8fafc; font-size: .9rem; }
.order-repeat-btn { min-height: 44px; padding: .65rem 1.25rem; border: 0; border-radius: 8px; color: #fff; background: #2b66e9; font: inherit; font-weight: 700; cursor: pointer; }
.order-repeat-btn.is-success { background: #17643d; }
.order-repeat-note, .order-repeat-error { color: #64748b; font-size: .8rem; }
.order-repeat-error { color: #b42318; }
.order-delivery-modal { z-index: 10030; }
.order-delivery-modal__dialog { position: relative; display: flex; flex-direction: column; width: 95%; max-width: 560px; max-height: 88vh; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 20px 40px rgba(0, 0, 0, .15); }
.order-delivery-modal__body { padding: 1rem 1.25rem 1.25rem; }
.deliv-progress__labels, .deliv-progress__dates { display: grid; grid-template-columns: repeat(var(--deliv-steps, 4), minmax(0, 1fr)); gap: .2rem .35rem; }
.deliv-progress__label { color: #475569; font-size: .68rem; font-weight: 600; line-height: 1.2; text-align: center; hyphens: auto; }
.deliv-progress__date { color: #64748b; font-size: .72rem; line-height: 1.25; text-align: center; }
.deliv-progress__rail { position: relative; height: 28px; margin: .35rem 0 .45rem; }
.deliv-progress__line, .deliv-progress__fill { position: absolute; left: 0; right: 0; top: 50%; z-index: 0; height: 3px; border-radius: 2px; background: #e2e8f0; transform: translateY(-50%); }
.deliv-progress__fill { right: auto; width: 0; background: #1b5e3b; }
.deliv-progress__dots { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 0 1px; pointer-events: none; }
.deliv-progress__dot { width: 14px; height: 14px; flex-shrink: 0; border: 2px solid #cbd5e1; border-radius: 50%; box-sizing: border-box; background: #fff; }
.deliv-progress__dot--active { width: 16px; height: 16px; border: 3px solid #1b5e3b; box-shadow: 0 0 0 1px rgba(27, 94, 59, .25); }
.deliv-progress__dot--pending { border-color: #cbd5e1; }

@media (max-width: 700px) {
    .order-history-modal { padding: 0; }
    .order-history-modal__dialog { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
    .order-history-modal__header { min-height: 68px; padding: .7rem .85rem; }
    .order-history-modal__header h2 { font-size: 1.05rem; }
    .order-history-modal__search { padding: .65rem .85rem; }
    .order-history-row { grid-template-columns: 40px minmax(0, 1fr) auto; gap: .65rem; padding: .75rem .85rem; }
    .order-history-row__document { display: none; }
    .order-history-row__delivery { width: 40px; height: 40px; }
    .order-history-row__status { display: none; }
    .order-history-row time { align-self: start; padding-top: .2rem; }
    .order-detail-head { display: none; }
    .order-detail-row { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; padding: 1rem; }
    .order-detail-row > *::before { content: attr(data-label); display: block; margin-bottom: .2rem; color: #64748b; font-size: .68rem; font-family: sans-serif; text-transform: uppercase; }
    .order-detail-row__product { grid-column: 1 / -1; }
    .order-detail-row > :last-child { text-align: left; }
    .order-history-modal__footer { align-items: stretch; flex-direction: column; }
    .order-repeat-btn { width: 100%; }
    .order-delivery-modal__body { padding: 1.5rem; }
}

body.profile-modal-open {
    overflow: hidden;
}

.partner-profile-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.partner-profile-modal[hidden] {
    display: none;
}

.partner-profile-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .52);
}

.partner-profile-modal__dialog {
    position: relative;
    display: flex;
    width: min(100%, 600px);
    max-height: calc(100vh - 48px);
    flex-direction: column;
    overflow: hidden;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
}

.partner-profile-modal__header {
    display: flex;
    min-height: 85px;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    border-bottom: 1px solid #e2e8f0;
}

.partner-profile-modal__header h2 {
    margin: 0;
    color: #171717;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

.partner-profile-modal__close {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #64748b;
    background: transparent;
    font-size: 2rem;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.partner-profile-modal__close:hover,
.partner-profile-modal__close:focus-visible {
    color: #1e293b;
    background: #f1f5f9;
    outline: none;
}

.partner-profile-modal__body {
    padding: 25px;
    overflow-y: auto;
}

.profile-table {
    width: 100%;
    border-collapse: collapse;
}

.profile-table tr {
    border-bottom: 1px solid #e7edf4;
}

.profile-table tr:last-child {
    border-bottom: 0;
}

.profile-label {
    width: 175px;
    padding: 13px 15px;
    color: #64748b;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: left;
    vertical-align: top;
}

.profile-value {
    padding: 13px 15px;
    color: #1e293b;
    font-size: 1rem;
    line-height: 1.4;
}

.profile-value code {
    padding: .2rem .45rem;
    border-radius: 5px;
    color: #1e293b;
    background: #f1f5f9;
    font-size: .9rem;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin: 2px 5px 2px 0;
    padding: 4px 11px;
    border-radius: 14px;
    color: #1e40af;
    background: #dbeafe;
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.2;
}

.profile-badge--price {
    color: #166534;
    background: #dcfce7;
}

.profile-empty {
    color: #94a3b8;
    font-size: .9rem;
}

@media (max-width: 600px) {
    .partner-profile-modal {
        padding: 12px;
    }

    .partner-profile-modal__dialog {
        max-height: calc(100vh - 24px);
    }

    .partner-profile-modal__header {
        min-height: 68px;
        padding: 14px 16px;
    }

    .partner-profile-modal__header h2 {
        font-size: 1.2rem;
    }

    .partner-profile-modal__body {
        padding: 12px 16px 18px;
    }

    .profile-label,
    .profile-value {
        display: block;
        width: 100%;
        padding: 8px 0;
    }

    .profile-label {
        padding-bottom: 2px;
    }

    .profile-value {
        padding-top: 2px;
        padding-bottom: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dash-home__hero-hotline-cta-icon { animation: none; }
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body.partner-page {
    min-height: 100%;
    margin: 0;
    color: var(--partner-ink);
    background: #f1f5f9;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0;
}

body.partner-page a {
    color: inherit;
}

.page {
    position: relative;
    z-index: 1;
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 0 16px;
}

.partner-page--dashboard .page,
.partner-page--catalog .page {
    width: 100%;
    max-width: none;
    padding: 0;
}

.site-main {
    min-height: 52vh;
}

.site-main--dashboard,
.site-main--auth {
    padding: 24px 0 48px;
}

.site-main--dashboard {
    padding: 0;
}

.site-main--catalog {
    min-height: 70vh;
}

.page-hitech-bg {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.partner-dashboard-home .page-hitech-bg {
    display: block;
    overflow: hidden;
}

.page-hitech-bg__rail {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(20vw, 320px);
    max-width: 100%;
    opacity: 1;
    pointer-events: none;
}

.page-hitech-bg__rail--left {
    left: 0;
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(90deg, #000 0%, #000 55%, transparent 100%);
}

.page-hitech-bg__rail--right {
    right: 0;
    -webkit-mask-image: linear-gradient(270deg, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(270deg, #000 0%, #000 55%, transparent 100%);
}

.page-hitech-bg__stack {
    position: absolute;
    inset: -12% -8%;
    will-change: transform;
}

.page-hitech-bg__stack[data-hitech-depth="2"] {
    opacity: 1;
    transform: none;
}

.page-hitech-bg__stack[data-hitech-depth="3"] {
    opacity: 1;
    transform: none;
}

.page-hitech-bg__hex {
    position: absolute;
    inset: 0;
    display: block;
    background-repeat: repeat;
    opacity: .92;
}

.page-hitech-bg__hex--a {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cg fill='none' stroke='%231b5e3b' stroke-width='0.55' opacity='0.4'%3E%3Cpath d='M26 1 L50 15.5 V44.5 L26 59 L2 44.5 V15.5 Z'/%3E%3Cpath d='M26 31 L50 45.5 V74.5 L26 89 L2 74.5 V45.5 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 52px 90px;
    animation: page-hitech-hex-drift-a 36s linear infinite;
}

.page-hitech-bg__hex--b {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cg fill='none' stroke='%2315803d' stroke-width='0.45' opacity='0.36'%3E%3Cpath d='M26 1 L50 15.5 V44.5 L26 59 L2 44.5 V15.5 Z'/%3E%3Cpath d='M26 31 L50 45.5 V74.5 L26 89 L2 74.5 V45.5 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 38px 66px;
    opacity: .72;
    animation: page-hitech-hex-drift-b 22s linear infinite reverse;
}

.page-hitech-bg__hex--c {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='52' height='90' viewBox='0 0 52 90'%3E%3Cg fill='none' stroke='%23166534' stroke-width='0.38' opacity='0.38'%3E%3Cpath d='M26 1 L50 15.5 V44.5 L26 59 L2 44.5 V15.5 Z'/%3E%3Cpath d='M26 31 L50 45.5 V74.5 L26 89 L2 74.5 V45.5 Z'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 24px 42px;
    opacity: .58;
    animation: page-hitech-hex-drift-c 14s linear infinite;
}

.page-hitech-bg__scan {
    display: none;
}

@keyframes page-hitech-hex-drift-a {
    0% { background-position: 0 0; }
    100% { background-position: 52px 90px; }
}

@keyframes page-hitech-hex-drift-b {
    0% { background-position: 12px 8px; }
    100% { background-position: -26px 74px; }
}

@keyframes page-hitech-hex-drift-c {
    0% { background-position: 0 0; }
    100% { background-position: 24px 42px; }
}

.site-logo-bar {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    padding: 16px 16px 8px;
}

.partner-page--catalog .site-logo-bar {
    display: none;
}

.partner-page--dashboard .site-logo-bar {
    display: none;
}

.site-logo {
    display: block;
    max-height: 60px;
    width: auto;
    height: auto;
}

body.partner-page--auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    color: #1a1a1a;
    background: linear-gradient(145deg, #e8eef3 0%, #d4dce4 100%);
}

.partner-page--auth .site-logo-bar {
    width: 100%;
    padding: 1.25rem 1rem 0;
}

.partner-page--auth .site-logo {
    width: auto;
    max-height: 60px;
}

.partner-page--auth .page {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: 0;
    padding: 0;
}

.partner-page--auth .site-main--auth {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 1rem;
}

.partner-auth {
    width: 100%;
}

.partner-auth__card {
    width: min(100%, 380px);
    margin: 0 auto;
    padding: 2rem;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.partner-auth__title {
    margin: 0 0 .5rem;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
}

.partner-auth__intro {
    margin: 0 0 1.5rem;
    color: #666666;
    font-size: .9rem;
    line-height: 1.5;
}

.partner-auth__error {
    margin: 0 0 20px;
    padding: 10px 12px;
    border: 1px solid #f0b8b8;
    border-radius: 7px;
    color: #a32020;
    background: #fff1f1;
    font-size: 14px;
    line-height: 1.4;
}

.partner-auth__field {
    margin-bottom: 1rem;
}

.partner-auth__label {
    display: block;
    margin-bottom: .35rem;
    color: #333333;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.5;
}

.partner-auth__input {
    display: block;
    width: 100%;
    height: auto;
    padding: .6rem .75rem;
    border: 1px solid #cccccc;
    border-radius: 8px;
    outline: none;
    color: #222222;
    background: #ffffff;
    font: inherit;
    font-size: 1rem;
    transition: border-color .16s ease, box-shadow .16s ease;
}

.partner-auth__input::placeholder {
    color: #8b8b8b;
    opacity: 1;
}

.partner-auth__input:focus {
    border-color: #2b66e9;
    box-shadow: 0 0 0 3px rgba(43, 102, 233, .13);
}

.partner-auth__captcha {
    display: block;
    margin: 0 0 10px;
}

.partner-auth__submit {
    display: block;
    width: 100%;
    height: auto;
    margin-top: .5rem;
    padding: .7rem 1rem;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: #2563eb;
    font: inherit;
    font-size: .95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.partner-auth__submit:hover {
    background: #1d4ed8;
}

.partner-auth__submit:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(43, 102, 233, .22);
}

.partner-auth__submit:active {
    transform: translateY(1px);
}

.partner-auth__admin-link {
    display: block;
    width: max-content;
    margin: 1.5rem auto 0;
    color: #2563eb !important;
    font-size: .9rem;
    text-decoration: none;
}

.partner-auth__admin-link:hover {
    text-decoration: underline;
}

.partner-page--auth .site-footer {
    color: #e2e8f0;
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, .08);
}

.partner-page--auth .site-footer__logo-link {
    margin-bottom: 0;
}

.partner-page--auth .site-footer__tagline {
    max-width: 18rem;
    color: #94a3b8;
}

.partner-page--auth .site-footer__heading,
.partner-page--auth .site-footer__subheading,
.partner-page--auth .site-footer__hint {
    color: #94a3b8;
}

.partner-page--auth .site-footer__subheading {
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.partner-page--auth .site-footer__links a {
    color: #e2e8f0;
}

.partner-page--auth .site-footer__contacts a {
    color: #f8fafc;
}

.partner-page--auth .site-footer__address {
    color: #cbd5e1;
}

.partner-page--auth .site-footer__social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    color: #e2e8f0;
    background: rgba(255, 255, 255, .08);
}

.partner-page--auth .site-footer__social-link--max {
    width: auto;
    min-width: 40px;
    padding: 0 .65rem;
}

.partner-page--auth .site-footer__bottom {
    border-top-color: rgba(255, 255, 255, .08);
}

.partner-page--auth .site-footer__copy {
    color: #64748b;
}

.partner-page--auth .site-footer__copy a {
    color: #94a3b8;
}

.dash-topbar,
.catalog-topbar {
    display: flex;
    align-items: center;
    min-height: 56px;
    color: #ffffff;
    background: var(--partner-green);
}

.dash-topbar {
    justify-content: space-between;
    margin: 0;
    padding: .65rem 2rem;
    border-radius: 0;
    box-shadow: none;
}

.dash-topbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
}

.dash-logo-img {
    display: block;
    width: auto;
    height: 30px;
    filter: brightness(0) invert(1);
}

.dash-logo-pro {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    padding: 0 2px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: .05em;
}

.dash-topbar__user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-user-name-btn {
    max-width: 220px;
    padding: .25rem .5rem;
    overflow: hidden;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: transparent;
    font: inherit;
    font-size: .88rem;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.dash-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--partner-radius);
    color: #ffffff;
    text-decoration: none;
    opacity: .9;
}

.dash-btn-icon:hover,
.dash-user-name-btn:hover {
    opacity: .78;
}

.catalog {
    background: #f3f6fa;
}

.catalog-head-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
}

.catalog-head-sticky.is-scrolled {
    box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

.catalog-topbar {
    gap: 14px;
    padding: 10px 20px;
}

.catalog-topbar__back,
.catalog-topbar__title,
.catalog-invoices-btn,
.catalog-history-btn,
.catalog-fav-btn,
.catalog-cart-btn,
.catalog-profile-btn,
.catalog-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    color: #ffffff;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}

.catalog-topbar__back {
    width: 28px;
    height: 32px;
    opacity: .9;
}

.catalog-topbar__title {
    flex: 0 0 auto;
    min-width: 0;
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
}

.catalog-topbar__search {
    position: relative;
    display: flex;
    flex: 1 1 520px;
    align-items: center;
    min-width: 220px;
    max-width: 620px;
    height: 34px;
    border-radius: var(--partner-radius);
    background: #ffffff;
}

.catalog-search-icon {
    position: absolute;
    left: 12px;
    color: #94a3b8;
}

.catalog-search-input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 92px 0 40px;
    border: 0;
    border-radius: var(--partner-radius);
    outline: 0;
    color: #0f172a;
    font-size: 15px;
}

.catalog-search-input::placeholder {
    color: #94a3b8;
}

.catalog-search-btn {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    min-width: 78px;
    padding: 0 16px;
    border: 0;
    border-radius: 0 var(--partner-radius) var(--partner-radius) 0;
    color: #ffffff;
    background: var(--partner-accent);
    font-weight: 700;
    cursor: pointer;
}

.catalog-search-btn:hover {
    background: #d97706;
}

.catalog-help-wrap {
    position: absolute;
    right: -44px;
    top: 50%;
    transform: translateY(-50%);
}

.catalog-help-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #10381f;
    background: #ffffff;
    font-size: 20px;
    font-weight: 800;
    box-shadow: 0 0 0 2px rgba(22, 97, 59, .12);
}

.catalog-help-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 220px;
    padding: 6px;
    border: 1px solid var(--partner-line);
    border-radius: var(--partner-radius);
    background: #ffffff;
    box-shadow: var(--partner-shadow);
}

.catalog-help-menu__item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: 6px;
    color: var(--partner-ink);
    background: transparent;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.catalog-help-menu__item:hover,
.catalog-help-menu__item:focus {
    background: #eef6f1;
}

.catalog-topbar__actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.catalog-invoices-btn,
.catalog-history-btn,
.catalog-fav-btn,
.catalog-cart-btn,
.catalog-profile-btn {
    position: relative;
    width: 34px;
    height: 34px;
    opacity: .85;
}

.catalog-invoices-btn:hover,
.catalog-history-btn:hover,
.catalog-fav-btn:hover,
.catalog-cart-btn:hover,
.catalog-profile-btn:hover,
.catalog-topbar__back:hover {
    opacity: 1;
}

.catalog-fav-btn.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.catalog-fav-count,
.catalog-cart-count {
    position: absolute;
    top: -8px;
    right: -6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    color: #ffffff;
    background: #e11d48;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.catalog-cart-count {
    background: #f59e0b;
}

.catalog-fav-count[hidden],
.catalog-cart-count[hidden] {
    display: none;
}

.site-footer {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    margin-top: auto;
    color: #f1f5f9;
    background: #1b5e3b;
    border-top: 1px solid rgba(255, 255, 255, .15);
}

.partner-page--catalog .site-footer {
    margin-top: 0;
}

.site-footer__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, .95fr);
    align-items: start;
    gap: 2rem 2.5rem;
    width: min(100%, 1200px);
    margin: 0 auto;
    padding: 2.25rem 1.5rem 1.75rem;
}

.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}

.site-footer__logo-link {
    display: inline-flex;
    margin-bottom: 14px;
}

.site-footer__logo {
    display: block;
    width: auto;
    height: 36px;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.site-footer__tagline,
.site-footer__address,
.site-footer__copy {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-size: .84rem;
    line-height: 1.45;
}

.site-footer__site-link {
    display: inline-flex;
    color: #86efac;
    font-size: .88rem;
    font-weight: 600;
    text-decoration: none;
}

.site-footer__site-link:hover,
.site-footer__links a:hover,
.site-footer__contacts a:hover,
.site-footer__copy a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer__heading {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer__subheading {
    margin: 20px 0 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
}

.site-footer__nav {
    min-width: 0;
}

.site-footer__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links a,
.site-footer__contacts a,
.site-footer__copy a {
    color: #d8f3df;
    text-decoration: none;
}

.site-footer__aside {
    min-width: 0;
}

.site-footer__contacts {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.site-footer__hint {
    color: #9fc7af;
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--partner-radius);
    color: #ffffff;
    background: rgba(255, 255, 255, .12);
    text-decoration: none;
}

.site-footer__social-link--max {
    font-size: 11px;
    font-weight: 800;
}

.site-footer__social-link:hover {
    background: rgba(255, 255, 255, .2);
}

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.site-footer__copy {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 14px 24px 18px;
    text-align: center;
}

@media (max-width: 1100px) {
    .catalog-topbar {
        flex-wrap: wrap;
    }

    .catalog-topbar__search {
        order: 3;
        flex-basis: calc(100% - 44px);
        max-width: none;
    }

    .catalog-help-wrap {
        right: 8px;
    }

    .catalog-search-input {
        padding-right: 132px;
    }

    .site-footer__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
    }

    .site-footer__brand,
    .site-footer__aside {
        min-width: 0;
    }

    .site-footer__nav {
        grid-column: 1 / -1;
        order: 3;
    }
}

@media (max-width: 720px) {
    .page {
        padding: 0 12px;
    }

    .site-logo-bar {
        padding-top: 12px;
    }

    .dash-topbar {
        margin: 0;
        padding: 0 14px;
    }

    .dash-logo-img {
        width: 76px;
    }

    .dash-logo-pro {
        font-size: 16px;
    }

    .dash-user-name-btn {
        max-width: 120px;
    }

    .catalog-topbar {
        gap: 10px;
        padding: 9px 12px;
    }

    .catalog-topbar__title {
        font-size: 16px;
    }

    .catalog-topbar__actions {
        gap: 6px;
    }

    .catalog-invoices-btn,
    .catalog-history-btn,
    .catalog-fav-btn,
    .catalog-cart-btn,
    .catalog-profile-btn {
        width: 30px;
        height: 30px;
    }

    .catalog-topbar__search {
        flex-basis: 100%;
        height: 38px;
    }

    .catalog-search-btn {
        min-width: 72px;
        padding: 0 12px;
    }

    .catalog-help-wrap {
        right: 82px;
    }

    .catalog-help-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }

    .site-footer__inner {
        display: block;
        padding: 28px 18px 24px;
    }

    .site-footer__brand,
    .site-footer__nav {
        margin-bottom: 26px;
    }

    .site-footer__links {
        grid-template-columns: 1fr;
        gap: 7px;
    }
}

.catalog-basic {
    width: min(100%, 1280px);
    margin: 0 auto;
    padding: 28px 24px 42px;
}

.catalog-basic--state {
    min-height: 46vh;
}

.catalog-basic__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.catalog-basic__title {
    margin: 0;
    color: var(--partner-ink);
    font-size: 26px;
    font-weight: 800;
    line-height: 1.18;
}

.catalog-basic__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 8px;
    color: var(--partner-muted);
    font-size: 14px;
}

.catalog-basic__note {
    margin: 8px 0 0;
    color: var(--partner-muted);
}

.catalog-basic__back-link {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--partner-green);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.catalog-basic__back-link::before {
    content: "<";
    margin-right: 8px;
}

.catalog-basic__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 13px;
    border: 0;
    border-radius: var(--partner-radius);
    color: #ffffff;
    background: var(--partner-green);
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.catalog-basic__button:hover {
    background: var(--partner-green-dark);
}

.catalog-basic-empty {
    padding: 42px 28px;
    border: 1px solid var(--partner-line);
    border-radius: var(--partner-radius);
    background: #ffffff;
    text-align: center;
}

.catalog-basic-empty h2 {
    margin: 0 0 8px;
    font-size: 22px;
}

.catalog-basic-empty p {
    margin: 0 0 18px;
    color: var(--partner-muted);
}

.catalog-detail {
    display: grid;
    grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.catalog-detail__aside {
    min-width: 0;
}

.catalog-detail__aside .item-detail__docs,
.catalog-detail__aside .item-detail__eta {
    padding: 0 2px;
}

.catalog-detail__aside .item-detail__eta-sheet {
    max-height: none;
    overflow: visible;
    padding-right: 0;
}

.catalog-detail__media,
.catalog-detail__panel {
    border: 1px solid var(--partner-line);
    border-radius: var(--partner-radius);
    background: #ffffff;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.catalog-detail__media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 24px;
}

.product-gallery {
    width: 100%;
    min-width: 0;
    outline: 0;
}

.product-gallery__stage {
    position: relative;
}

.product-gallery--detail .product-gallery__stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 310px;
}

.product-gallery__image {
    transition: opacity .16s ease;
}

.product-gallery__arrow {
    position: absolute;
    z-index: 2;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0 0 3px;
    transform: translateY(-50%);
    border: 1px solid rgba(148, 163, 184, .55);
    border-radius: 50%;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 5px 16px rgba(15, 23, 42, .14);
    color: #17643d;
    cursor: pointer;
    font: 400 30px/1 Arial, sans-serif;
}

.product-gallery__arrow:hover,
.product-gallery__arrow:focus-visible {
    border-color: #17643d;
}

.product-gallery__arrow--prev {
    left: 8px;
}

.product-gallery__arrow--next {
    right: 8px;
}

.product-gallery__counter {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 9px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, .68);
    color: #ffffff;
    font-size: 12px;
    line-height: 1.3;
}

.product-gallery__thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding: 2px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.product-gallery__thumb {
    display: flex;
    flex: 0 0 58px;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    padding: 3px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 7px;
    background: #f8fafc;
    cursor: pointer;
}

.product-gallery__thumb:hover,
.product-gallery__thumb:focus-visible {
    border-color: #94a3b8;
}

.product-gallery__thumb.is-active {
    border-color: #17643d;
}

.product-gallery__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-gallery:focus-visible .product-gallery__stage {
    box-shadow: 0 0 0 3px rgba(23, 100, 61, .16);
}

.catalog-detail__image {
    display: block;
    max-width: 100%;
    max-height: 360px;
    object-fit: contain;
}

.catalog-detail__image--empty {
    width: 100%;
    max-width: 315px;
    height: auto;
    min-height: 0;
}

.catalog-detail__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
}

.catalog-detail__panel {
    padding: 18px;
}

.catalog-detail__heading {
    margin: 0 0 12px;
    color: var(--partner-ink);
    font-size: 17px;
    font-weight: 800;
}

.catalog-detail-prices {
    display: grid;
    gap: 8px;
}

.catalog-detail-price,
.catalog-detail-props__row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 9px 0;
    border-bottom: 1px solid #eef2f7;
}

.catalog-detail-price:last-child,
.catalog-detail-props__row:last-child {
    border-bottom: 0;
}

.catalog-detail-price span,
.catalog-detail-props dt {
    color: var(--partner-muted);
    font-size: 13px;
}

.catalog-detail-price strong,
.catalog-detail-props dd {
    margin: 0;
    color: var(--partner-ink);
    font-size: 14px;
    font-weight: 800;
    text-align: right;
}

.catalog-detail-price__rrc {
    color: #9bacc4 !important;
    font-weight: 600 !important;
}

.catalog-detail-price__partner {
    color: #17643d !important;
    font-size: 16px !important;
}

.catalog-detail__text {
    color: #334155;
    font-size: 14px;
}

.catalog-detail__text p:first-child {
    margin-top: 0;
}

.catalog-detail__text p:last-child {
    margin-bottom: 0;
}

.catalog-detail-props {
    margin: 0;
}

/* Runtime Bitrix catalog listing */
.catalog-runtime {
    width: 100%;
    min-width: 0;
    padding-bottom: 18px;
}

.catalog-toolbar {
    position: sticky;
    top: 55px;
    z-index: 40;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .06);
}

.catalog-toolbar__left,
.catalog-toolbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.catalog-toolbar__left {
    flex: 1 1 auto;
}

.catalog-toolbar__right {
    margin-left: auto;
}

.catalog-filter-group {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.catalog-filter-label {
    color: #718096;
    font-size: 13px;
    white-space: nowrap;
}

.catalog-select {
    height: 38px;
    max-width: 230px;
    padding: 0 34px 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.catalog-select--category {
    width: 260px;
}

.catalog-select--sm {
    width: 74px;
    padding-right: 24px;
}

.catalog-view-toggle {
    display: flex;
    gap: 2px;
    padding: 2px;
    border-radius: 7px;
    background: #e5e7eb;
}

.catalog-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
}

.catalog-view-btn.active {
    background: #fff;
    color: #17643d;
    box-shadow: 0 1px 3px rgba(15, 23, 42, .14);
}

.btn-filter {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 38px;
    padding: 0 15px;
    border: 1px solid #17643d;
    border-radius: 7px;
    background: #17643d;
    color: #fff;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.btn-filter:hover {
    background: #124e30;
}

.filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #fbbf24;
    color: #55310b;
    font-size: 11px;
    font-weight: 700;
}

.filter-badge[hidden] {
    display: none;
}

.catalog-list {
    padding: 8px 8px 16px;
}

.catalog-list-header,
.catalog-item {
    display: grid;
    grid-template-columns: 72px 72px minmax(280px, 1fr) 150px 86px 150px 72px 82px 110px 125px 154px;
    align-items: center;
    gap: 8px;
}

.catalog-list-header > *,
.catalog-item > * {
    min-width: 0;
}

.catalog-list-header {
    min-height: 42px;
    padding: 7px 12px;
    border-bottom: 2px solid #e5e7eb;
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
}

.catalog-list-header span:nth-child(n+5):nth-child(-n+8) {
    text-align: center;
}

.catalog-list-header span:nth-child(9),
.catalog-list-header span:nth-child(10) {
    text-align: center;
}

.catalog-item {
    min-height: 102px;
    margin-top: 7px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #fff;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.catalog-item:hover {
    border-color: #d5dde7;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .06);
}

.catalog-item__icons,
.catalog-item__actions {
    display: flex;
    align-items: center;
}

.catalog-item__icons {
    justify-content: center;
    gap: 4px;
}

.catalog-item__actions {
    justify-content: flex-end;
    gap: 7px;
}

.catalog-item__fav,
.catalog-item__related {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    background: none;
    color: #cbd5e1;
    cursor: pointer;
}

.catalog-item__related {
    color: #9ca3af;
}

.catalog-item__fav:hover,
.catalog-item__fav.active {
    color: #ef4444;
}

.catalog-item__fav.active svg {
    fill: currentColor;
}

.catalog-item__photo-link {
    display: block;
    width: 66px;
    height: 66px;
    text-decoration: none;
}

.catalog-item__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    object-fit: contain;
}

.catalog-item__photo--empty {
    border: 0;
    background: transparent;
}

.catalog-item__info {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.catalog-item__name {
    display: -webkit-box;
    overflow: hidden;
    color: #17643d;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.catalog-item__info:hover .catalog-item__name {
    text-decoration: underline;
}

.catalog-item__group {
    display: block;
    overflow: hidden;
    margin-top: 4px;
    color: #94a3b8;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-item__articul {
    color: #475569;
    font-family: Consolas, monospace;
    font-size: 12px;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.catalog-item__stock,
.catalog-item__weight,
.catalog-item__volume {
    color: #475569;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.catalog-item__stock--yes {
    color: #16a34a;
    font-weight: 500;
}

.catalog-item__stock--no {
    color: #ef4444;
}

.catalog-item__pack {
    overflow-wrap: anywhere;
    line-height: 1.25;
    white-space: normal;
}

.catalog-item__rrc,
.catalog-item__price {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.catalog-item__rrc {
    color: #9bacc4;
    font-size: 13px;
}

.catalog-item__price-main {
    color: #17643d;
    font-size: 15px;
    font-weight: 600;
}

.catalog-item__price-main--empty {
    color: #9bacc4;
    font-size: 13px;
    font-weight: 400;
}

.catalog-item__qty {
    width: 78px;
    height: 35px;
    padding: 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font: inherit;
    font-size: 14px;
    text-align: center;
}

.catalog-item__cart-btn,
.catalog-item__eta-truck {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
}

.catalog-item__cart-btn {
    background: #17643d;
    color: #fff;
}

.catalog-item__eta-truck {
    background: #fbbf24;
    color: #713f12;
}

.catalog-list.view-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
    gap: 12px;
    padding-top: 14px;
}

.catalog-list.view-grid .catalog-list-header {
    display: none;
}

.catalog-list.view-grid .catalog-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-height: 390px;
    margin: 0;
}

.catalog-list.view-grid .catalog-item__icons {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    padding: 2px;
    border-radius: 7px;
    background: rgba(255, 255, 255, .9);
}

.catalog-list.view-grid .catalog-item__photo-link,
.catalog-list.view-grid .catalog-item__photo {
    width: 100%;
    height: 170px;
}

.catalog-list.view-grid .catalog-item__stock,
.catalog-list.view-grid .catalog-item__weight,
.catalog-list.view-grid .catalog-item__volume,
.catalog-list.view-grid .catalog-item__rrc,
.catalog-list.view-grid .catalog-item__price {
    text-align: left;
}

.catalog-list.view-grid .catalog-item__actions {
    margin-top: auto;
    justify-content: stretch;
}

.catalog-list.view-grid .catalog-item__qty {
    flex: 1 1 auto;
}

.catalog-list-empty {
    margin: 40px auto;
}

.catalog-basic-nav {
    padding: 12px 8px 0;
}

.catalog-pag {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
}

.catalog-pag__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #334155;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, color .15s ease;
}

a.catalog-pag__btn:hover {
    border-color: #94a3b8;
    background: #f1f5f9;
}

.catalog-pag__btn.active {
    border-color: #17643d;
    background: #17643d;
    color: #fff;
    font-weight: 600;
}

.catalog-pag__btn.is-disabled {
    opacity: .4;
}

.catalog-pag__ellipsis {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 34px;
    color: #94a3b8;
    font-size: 13px;
}

/* Product card modal */
.catalog-item-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.catalog-item-modal[hidden] {
    display: none;
}

.catalog-item-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, .64);
}

.modal-box--item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(95vw, 1080px);
    max-height: min(92vh, 860px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .34);
}

.catalog-item-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.catalog-item-modal__header h2 {
    flex: 1 1 auto;
    margin: 0;
    color: #182235;
    font-size: 20px;
    line-height: 1.3;
}

.catalog-item-modal__header .modal-close {
    flex: 0 0 auto;
    margin-top: -4px;
}

.catalog-item-modal__body {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.catalog-item-modal__loading,
.catalog-item-modal__message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 150px;
    margin: 0;
    color: #64748b;
    text-align: center;
}

.catalog-item-modal__loading span {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-top-color: #17643d;
    border-radius: 50%;
    animation: catalog-modal-spin .7s linear infinite;
}

@keyframes catalog-modal-spin {
    to { transform: rotate(360deg); }
}

.item-detail-shell {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.item-detail-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 20px 28px 22px;
    scrollbar-gutter: stable;
}

.item-detail {
    display: grid;
    grid-template-columns: 275px minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.item-detail__left {
    position: sticky;
    top: 0;
}

.item-detail__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.item-detail__photo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.item-detail__photo--placeholder {
    border: 0;
    background: transparent;
}

.item-detail__photo-img--empty {
    height: auto;
    max-height: 100%;
}

.product-gallery--modal .product-gallery__thumb {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
}

.item-detail__right {
    min-width: 0;
}

.item-detail__meta {
    display: grid;
    gap: 4px;
    margin-bottom: 16px;
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
}

.item-detail__meta span {
    color: #94a3b8;
}

.item-detail__meta strong {
    color: #1f2937;
    font-weight: 500;
}

.item-detail__meta div:first-child strong {
    font-family: Consolas, monospace;
}

.item-detail__section {
    margin-bottom: 18px;
}

.item-detail__section:last-child {
    margin-bottom: 0;
}

.item-detail__section-title {
    margin: 0 0 7px;
    padding-bottom: 7px;
    border-bottom: 2px solid #e5e7eb;
    color: #17643d;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.item-detail__table {
    margin: 0;
}

.item-detail__row {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) minmax(190px, 1fr);
    gap: 18px;
    padding: 6px 0;
    border-bottom: 1px solid #f1f5f9;
}

.item-detail__row:last-child {
    border-bottom: 0;
}

.item-detail__row dt,
.item-detail__row dd {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: 14px;
    line-height: 1.4;
}

.item-detail__row dt {
    color: #64748b;
}

.item-detail__row dd {
    color: #1f2937;
    font-weight: 400;
}

.item-detail__docs,
.item-detail__eta {
    margin-top: 22px;
}

.item-detail__side-title {
    margin: 0 0 9px;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.item-detail__doc-link {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 5px 0;
    color: #17643d;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
}

.item-detail__doc-link:hover {
    text-decoration: underline;
}

.item-detail__doc-link svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: #dc2626;
}

.item-detail__doc-link span {
    overflow-wrap: anywhere;
}

.item-detail__eta-sheet {
    display: grid;
    gap: 14px;
    max-height: 230px;
    overflow-y: auto;
    padding-right: 8px;
    scrollbar-gutter: stable;
}

.item-detail__eta-line {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.item-detail__eta-icon {
    display: flex;
    flex: 0 0 23px;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    color: #2fad5b;
}

.item-detail__eta-icon--check {
    border-radius: 50%;
    background: #2fad5b;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.item-detail__eta-lead,
.item-detail__eta-note {
    margin: 0;
    color: #334155;
    font-size: 13px;
    line-height: 1.45;
}

.item-detail__eta-lead {
    margin-bottom: 7px;
    color: #1e293b;
    font-weight: 700;
}

.item-detail__eta-dotted {
    border-bottom: 1px dotted #64748b;
}

.item-detail__footer {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 28px;
    border-top: 2px solid #e5e7eb;
    background: #f8fafc;
}

.item-detail__footer-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.item-detail__footer input {
    width: 82px;
    height: 42px;
    padding: 0 8px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font: inherit;
    text-align: center;
}

.item-detail__add-btn,
.item-detail__related-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 20px;
    border: 0;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.item-detail__add-btn {
    background: #17643d;
    color: #fff;
}

.item-detail__add-btn:hover {
    background: #145433;
}

.item-detail__related-btn {
    margin-left: auto;
    background: #facc15;
    color: #172033;
}

.item-detail__related-btn:hover {
    background: #eab308;
}

.catalog-item__cart-btn.is-in-cart {
    box-shadow: 0 0 0 3px rgba(23, 100, 61, .2);
}

.catalog-item__cart-btn:disabled,
.catalog-action-btn:disabled {
    cursor: wait;
    opacity: .58;
}

/* Basket and checkout */
.catalog-cart-modal,
.catalog-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 145;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.catalog-cart-modal[hidden],
.catalog-checkout-modal[hidden],
.catalog-toast[hidden] {
    display: none;
}

.catalog-cart-modal__backdrop,
.catalog-checkout-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, .66);
}

.catalog-checkout-modal__backdrop {
    background: rgba(0, 0, 0, .5);
}

.modal-box--cart,
.modal-box--checkout {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(96vw, 1280px);
    max-height: min(92vh, 900px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .36);
}

.modal-box--checkout {
    width: min(95vw, 780px);
}

.catalog-cart-modal__header,
.catalog-checkout-modal__header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-cart-modal__header h2,
.catalog-checkout-modal__header h2 {
    flex: 1 1 auto;
    margin: 0;
    color: #182235;
    font-size: 21px;
}

.catalog-checkout-modal__header h2 {
    font-size: 1.15rem;
    font-weight: 600;
}

.catalog-cart-modal__body,
.catalog-checkout-modal__body {
    flex: 1 1 auto;
    min-height: 180px;
    overflow: auto;
}

.catalog-checkout-modal__body {
    padding: 1.5rem;
}

.cart-table-head,
.cart-row,
.cart-summary-row {
    display: grid;
    grid-template-columns: minmax(330px, 2.4fr) minmax(90px, .7fr) 65px 75px minmax(100px, .75fr) 120px minmax(110px, .8fr) 36px;
    align-items: center;
    gap: 10px;
}

.cart-table-head {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 11px 20px;
    border-bottom: 1px solid #dbe4ef;
    background: #f3f6fa;
    color: #6b7f9d;
    font-size: 12px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
}

.cart-table-head span:first-child {
    text-align: left;
}

.cart-row {
    min-height: 92px;
    padding: 12px 20px;
    border-bottom: 1px solid #e8edf3;
    transition: opacity .15s ease;
}

.cart-row.is-loading {
    pointer-events: none;
    opacity: .48;
}

.cart-product {
    display: grid;
    grid-template-columns: 66px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.cart-product__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fafc;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.cart-product__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cart-product__image-placeholder {
    height: auto !important;
}

.cart-product__name {
    display: block;
    overflow: hidden;
    color: #17643d;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.cart-product small {
    display: block;
    margin-top: 5px;
    color: #7b8da8;
    font-family: Consolas, monospace;
    font-size: 12px;
}

.cart-cell {
    color: #334155;
    font-size: 13px;
    text-align: center;
}

.cart-cell--muted {
    color: #94a3b8;
}

.cart-cell--price,
.cart-cell--sum {
    color: #17643d;
    font-weight: 700;
    white-space: nowrap;
}

.cart-quantity {
    display: grid;
    grid-template-columns: 32px 48px 32px;
    justify-content: center;
}

.cart-quantity button,
.cart-quantity input {
    height: 34px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font: inherit;
    text-align: center;
}

.cart-quantity button {
    padding: 0;
    cursor: pointer;
    font-size: 18px;
}

.cart-quantity button:first-child {
    border-radius: 6px 0 0 6px;
}

.cart-quantity button:last-child {
    border-radius: 0 6px 6px 0;
}

.cart-quantity input {
    min-width: 0;
    padding: 0 3px;
    border-right: 0;
    border-left: 0;
    appearance: textfield;
    -moz-appearance: textfield;
}

.cart-quantity input::-webkit-inner-spin-button,
.cart-quantity input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}

.cart-remove {
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 23px;
}

.cart-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.cart-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
    padding: 15px 20px;
    border-top: 0;
    background: #f8fafc;
}

.cart-footer[hidden] {
    display: none;
}

.cart-summary-row {
    min-height: 58px;
    padding: 12px 20px;
    border-top: 1px solid #e8edf3;
    border-bottom: 2px solid #dbe4ef;
    background: #fff;
    color: #182235;
    font-size: 16px;
}

.cart-summary-row__label {
    grid-column: 1;
    text-align: center;
}

.cart-summary-row__weight {
    grid-column: 3;
}

.cart-summary-row__quantity {
    grid-column: 6;
}

.cart-summary-row__sum {
    grid-column: 7;
    color: #17643d;
    font-size: 18px;
}

.cart-summary-row__weight,
.cart-summary-row__quantity,
.cart-summary-row__sum {
    text-align: center;
    white-space: nowrap;
}

.cart-summary-row small {
    display: none;
}

.cart-footer .catalog-action-btn {
    min-height: 44px;
    font-size: 15px;
}

.cart-footer__actions,
.checkout-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.catalog-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 18px;
    border: 1px solid #17643d;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.catalog-action-btn--primary {
    background: #17643d;
    color: #fff;
}

.catalog-action-btn--outline {
    background: #fff;
    color: #17643d;
}

.cart-empty,
.checkout-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 210px;
    padding: 30px;
    color: #64748b;
    text-align: center;
}

.cart-empty strong {
    color: #182235;
    font-size: 18px;
}

.checkout-summary,
.checkout-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 13px;
}

.checkout-summary strong,
.checkout-info strong {
    color: #17643d;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 16px;
    margin: 18px 0;
}

.checkout-field {
    display: grid;
    gap: 5px;
    color: #475569;
    font-size: 12px;
    font-weight: 600;
}

.checkout-field--wide {
    grid-column: 1 / -1;
}

.checkout-field input,
.checkout-field textarea {
    width: 100%;
    padding: 9px 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #182235;
    font: inherit;
    font-size: 14px;
    font-weight: 400;
}

.checkout-info {
    margin-bottom: 18px;
}

.invoice-confirm-prompt {
    padding: 2rem 1rem;
    text-align: center;
}

.invoice-confirm-prompt p {
    margin: 0 0 1.5rem;
    color: #334155;
    font-size: 1rem;
}

.invoice-comment-wrap {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 1.25rem;
    text-align: left;
}

.checkout-profile-warning {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 1.25rem;
    padding: .75rem .9rem;
    border: 1px solid #f4c76b;
    border-radius: 8px;
    color: #854d0e;
    background: #fffbeb;
    font-size: .82rem;
    line-height: 1.45;
    text-align: left;
}

.checkout-profile-warning strong,
.checkout-profile-warning span {
    display: block;
}

.checkout-profile-warning ul {
    margin: .5rem 0;
    padding-left: 1.2rem;
}

.invoice-comment-label {
    display: block;
    margin-bottom: .3rem;
    color: #475569;
    font-size: .82rem;
    font-weight: 500;
}

.invoice-comment {
    width: 100%;
    padding: .55rem .75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    outline: none;
    color: #182235;
    font-family: inherit;
    font-size: .85rem;
    resize: vertical;
    transition: border-color .15s, box-shadow .15s;
}

.invoice-comment:focus {
    border-color: #1b5e3b;
    box-shadow: 0 0 0 3px rgba(27, 94, 59, .1);
}

.invoice-confirm-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
}

.btn-invoice-issue,
.btn-order-confirm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    min-height: 44px;
    padding: .7rem 2rem;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    font: inherit;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s, opacity .15s;
}

.btn-invoice-issue {
    background: #1b5e3b;
}

.btn-invoice-issue:hover {
    background: #174e32;
}

.btn-order-confirm {
    background: #2563eb;
}

.btn-order-confirm:hover {
    background: #1d4ed8;
}

.btn-invoice-issue:disabled,
.btn-order-confirm:disabled {
    cursor: not-allowed;
    opacity: .65;
}

.checkout-success span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #dcfce7;
    color: #17643d;
    font-size: 29px;
}

.checkout-success h3,
.checkout-success p {
    margin: 0;
}

.checkout-success h3 {
    color: #182235;
    font-size: 21px;
}

.checkout-success strong {
    margin: 5px 0 12px;
    color: #17643d;
    font-size: 22px;
}

.catalog-toast {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 180;
    max-width: 360px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #17643d;
    color: #fff;
    box-shadow: 0 12px 35px rgba(15, 23, 42, .25);
    font-size: 13px;
    font-weight: 600;
}

.catalog-toast.is-error {
    background: #b91c1c;
}

@media (max-width: 900px) {
    .cart-table-head { display: none; }
    .cart-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 34px;
        gap: 10px 14px;
    }
    .cart-product { grid-column: 1 / -2; }
    .cart-remove { grid-column: 3; grid-row: 1; }
    .cart-cell::before,
    .cart-quantity::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #94a3b8;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }
    .cart-quantity { display: block; text-align: center; }
    .cart-quantity button,
    .cart-quantity input { width: 32px; }
    .cart-footer { align-items: stretch; flex-direction: column; }
    .cart-summary-row {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
    .cart-summary-row__label { grid-column: 1 / -1; text-align: center; }
    .cart-summary-row__weight { grid-column: 1; }
    .cart-summary-row__quantity { grid-column: 2; }
    .cart-summary-row__sum { grid-column: 3; }
    .cart-summary-row small {
        display: block;
        margin-bottom: 3px;
        color: #7b8da8;
        font-size: 10px;
        font-weight: 600;
        text-transform: uppercase;
    }
}

@media (max-width: 560px) {
    .catalog-cart-modal,
    .catalog-checkout-modal { padding: 0; }
    .modal-box--cart,
    .modal-box--checkout {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        min-height: 0;
        border-radius: 0;
    }
    .catalog-cart-modal__header,
    .catalog-checkout-modal__header {
        flex: 0 0 auto;
        padding: 12px 14px;
    }
    .catalog-cart-modal__header h2,
    .catalog-checkout-modal__header h2 { font-size: 18px; }
    .catalog-cart-modal__body {
        min-height: 0;
        overscroll-behavior: contain;
    }
    .cart-row {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
    }
    .cart-product {
        grid-column: 1 / -1;
        grid-template-columns: 54px minmax(0, 1fr);
        padding-right: 32px;
    }
    .cart-product__image { width: 54px; height: 54px; }
    .cart-remove {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    .cart-cell,
    .cart-quantity {
        min-width: 0;
        padding: 9px 10px;
        border-radius: 7px;
        background: #f8fafc;
        text-align: left;
    }
    .cart-cell::before,
    .cart-quantity::before { margin-bottom: 5px; }
    .cart-cell--price,
    .cart-cell--sum {
        overflow-wrap: anywhere;
        font-size: 14px;
    }
    .cart-quantity { text-align: left; }
    .cart-quantity button,
    .cart-quantity input {
        width: 40px;
        height: 40px;
    }
    .cart-quantity input { width: 48px; }
    .cart-summary-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        padding: 12px;
    }
    .cart-summary-row__label { text-align: left; }
    .cart-summary-row__weight { grid-column: 1; }
    .cart-summary-row__quantity { grid-column: 2; }
    .cart-summary-row__sum {
        grid-column: 1 / -1;
        padding-top: 10px;
        border-top: 1px solid #e2e8f0;
        text-align: right;
    }
    .cart-footer {
        flex: 0 0 auto;
        padding: 12px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
    }
    .cart-footer__actions,
    .checkout-actions { flex-direction: column; }
    .cart-footer .catalog-action-btn { width: 100%; min-height: 48px; }
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-field--wide { grid-column: auto; }
    .checkout-summary,
    .checkout-info { flex-direction: column; gap: 6px; }
    .invoice-confirm-prompt { padding: 1.5rem 0; }
    .invoice-confirm-actions { flex-direction: column; }
    .btn-invoice-issue,
    .btn-order-confirm { width: 100%; }
    .catalog-toast { right: 12px; bottom: 12px; left: 12px; max-width: none; }
}

.item-detail__description {
    color: #334155;
    font-size: 13px;
    line-height: 1.55;
}

.item-detail__description > :first-child {
    margin-top: 0;
}

.item-detail__description > :last-child {
    margin-bottom: 0;
}

/* Smart filter modal */
.catalog-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.catalog-filter-modal[hidden] {
    display: none;
}

.catalog-filter-modal__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, .6);
    cursor: default;
}

.modal-box--filter {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: min(95vw, 680px);
    max-height: min(90vh, 780px);
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .3);
}

.modal-box--filter .modal-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.modal-box--filter .modal-header h2 {
    flex: 0 0 auto;
    margin: 0;
    color: #182235;
    font-size: 20px;
}

.modal-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #64748b;
    font-size: 27px;
    cursor: pointer;
}

.filter-search-input {
    flex: 1 1 auto;
    min-width: 100px;
    height: 36px;
    margin-left: auto;
    padding: 0 11px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    font: inherit;
    font-size: 13px;
}

.modal-box--filter .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px 20px;
}

.filter-section {
    padding: 0 0 11px;
    border-bottom: 1px solid #eef2f7;
    margin-bottom: 11px;
}

.filter-section.is-batch-hidden,
.filter-section.filter-hidden {
    display: none;
}

.filter-section__title {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 4px 0;
    border: 0;
    background: none;
    color: #17643d;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.filter-section__title::before {
    content: "▸";
    margin-right: 8px;
    font-size: 11px;
    transition: transform .15s ease;
}

.filter-section.open .filter-section__title::before {
    transform: rotate(90deg);
}

.filter-section__amount {
    margin-left: 6px;
    color: #94a3b8;
    font-size: 12px;
    font-weight: 400;
}

.filter-section__body {
    display: none;
    flex-wrap: wrap;
    gap: 7px 16px;
    padding: 10px 0 0 19px;
}

.filter-section.open .filter-section__body {
    display: flex;
}

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 135px;
    color: #334155;
    font-size: 13px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: #17643d;
}

.filter-checkbox.is-disabled {
    opacity: .45;
}

.filter-range-field {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
}

.filter-range-field input {
    width: 130px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
}

.filter-load-more {
    display: block;
    margin: 4px auto 8px;
    padding: 8px 14px;
    border: 1px solid #17643d;
    border-radius: 7px;
    background: #fff;
    color: #17643d;
    cursor: pointer;
}

.filter-empty {
    margin: 18px 0;
    color: #64748b;
    text-align: center;
}

.filter-modal-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 20px;
    border-top: 1px solid #e5e7eb;
    background: #f8fafc;
}

.filter-reset-link {
    color: #64748b;
    font-size: 13px;
}

.filter-count {
    margin-left: auto;
    color: #64748b;
    font-size: 13px;
}

.filter-apply-btn {
    height: 38px;
    padding: 0 16px;
    border: 0;
    border-radius: 7px;
    background: #17643d;
    color: #fff;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 1500px) {
    .catalog-list-header,
    .catalog-item {
        grid-template-columns: 62px 70px minmax(190px, 1fr) 125px 72px 150px 58px 75px 92px 105px 146px;
        gap: 6px;
    }

    .catalog-item__actions {
        gap: 5px;
    }

    .catalog-item__qty {
        width: 60px;
    }
}

@media (max-width: 1250px) {
    .catalog-toolbar {
        top: 102px;
    }

    .catalog-list-header {
        display: none;
    }

    .catalog-item {
        grid-template-columns: 58px 70px repeat(4, minmax(0, 1fr)) 146px;
        align-items: start;
        row-gap: 10px;
    }

    .catalog-item__icons { grid-column: 1; grid-row: 1 / 4; align-self: center; }
    .catalog-item__photo-link { grid-column: 2; grid-row: 1 / 4; }
    .catalog-item__info { grid-column: 3 / 7; grid-row: 1; }
    .catalog-item__articul { grid-column: 3; grid-row: 2; }
    .catalog-item__stock:not(.catalog-item__pack) { grid-column: 4; grid-row: 2; }
    .catalog-item__pack { grid-column: 5; grid-row: 2; }
    .catalog-item__weight { grid-column: 6; grid-row: 2; }
    .catalog-item__volume { grid-column: 3; grid-row: 3; }
    .catalog-item__rrc { grid-column: 4; grid-row: 3; }
    .catalog-item__price { grid-column: 5; grid-row: 3; }
    .catalog-item__actions { grid-column: 7; grid-row: 2 / 4; align-self: center; }

    .catalog-item__articul::before,
    .catalog-item__stock::before,
    .catalog-item__weight::before,
    .catalog-item__volume::before,
    .catalog-item__rrc::before,
    .catalog-item__price::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: #94a3b8;
        font-family: Arial, sans-serif;
        font-size: 10px;
        font-weight: 600;
        line-height: 1.2;
        text-transform: uppercase;
    }
}

@media (max-width: 760px) {
    .catalog-toolbar {
        position: sticky;
        top: 102px;
        padding: 10px;
    }

    .catalog-toolbar__left,
    .catalog-toolbar__right {
        width: 100%;
    }

    .catalog-select--category {
        width: 190px;
    }

    .catalog-list-header {
        display: none;
    }

    .catalog-item {
        display: grid;
        grid-template-columns: 42px 70px repeat(2, minmax(0, 1fr));
        min-height: 92px;
    }

    .catalog-item__icons { grid-column: 1; grid-row: 1; align-self: start; }
    .catalog-item__photo-link { grid-column: 2; grid-row: 1; }
    .catalog-item__info { grid-column: 3 / 5; grid-row: 1; }
    .catalog-item__articul { grid-column: 3; grid-row: 2; }
    .catalog-item__stock:not(.catalog-item__pack) { grid-column: 4; grid-row: 2; }
    .catalog-item__pack { grid-column: 3 / 5; grid-row: 3; }
    .catalog-item__weight { grid-column: 3; grid-row: 4; }
    .catalog-item__volume { grid-column: 4; grid-row: 4; }
    .catalog-item__rrc { grid-column: 3; grid-row: 5; }
    .catalog-item__price { grid-column: 4; grid-row: 5; }

    .catalog-item__articul,
    .catalog-item__stock,
    .catalog-item__weight,
    .catalog-item__volume,
    .catalog-item__rrc,
    .catalog-item__price { text-align: left; }

    .catalog-item__actions {
        display: flex;
        grid-column: 3 / 5;
        grid-row: 6;
        justify-content: flex-start;
    }

    .modal-box--filter .modal-header {
        flex-wrap: wrap;
    }

    .filter-search-input {
        order: 3;
        flex-basis: 100%;
    }

    .catalog-item-modal {
        padding: 8px;
    }

    .modal-box--item {
        width: 100%;
        max-height: 96vh;
    }

    .catalog-item-modal__header {
        padding: 13px 15px;
    }

    .catalog-item-modal__header h2 {
        font-size: 17px;
    }

    .catalog-item-modal__body {
        padding: 0;
    }

    .item-detail-scroll {
        padding: 16px 15px 20px;
    }

    .item-detail {
        grid-template-columns: 1fr;
    }

    .item-detail__left {
        position: static;
    }

    .item-detail__photo {
        max-width: 240px;
        margin: 0 auto;
    }

    .item-detail__row {
        grid-template-columns: minmax(110px, .8fr) minmax(130px, 1.2fr);
        gap: 12px;
    }

    .item-detail__footer {
        padding: 12px 15px;
    }
}

@media (max-width: 720px) {
    .catalog-toolbar {
        top: 98px;
    }
}

@media (max-width: 520px) {
    .item-detail__footer,
    .item-detail__footer-left {
        align-items: stretch;
    }

    .item-detail__footer {
        flex-direction: column;
    }

    .item-detail__footer-left {
        display: grid;
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 9px;
    }

    .item-detail__footer input {
        width: 72px;
    }

    .item-detail__related-btn {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 820px) {
    .catalog-basic {
        padding: 20px 14px 34px;
    }

    .catalog-basic__head {
        display: block;
    }

    .catalog-basic__title {
        font-size: 22px;
    }

    .catalog-detail {
        grid-template-columns: 1fr;
    }

    .catalog-detail__media {
        min-height: 260px;
    }
}

@media (max-width: 520px) {
    .catalog-detail-price,
    .catalog-detail-props__row {
        display: block;
    }

    .catalog-detail-price strong,
    .catalog-detail-props dd {
        display: block;
        margin-top: 3px;
        text-align: left;
    }
}

/* Dashboard home */
.dash-home {
    width: min(100%, 1230px);
    margin: 0 auto;
    padding: 1.5rem 1.5rem 3rem;
    background: #f1f5f9;
}

.dash-home a {
    text-decoration: none;
}

.dash-home__carousel-wrap,
.dash-home__top,
.dash-home__catalog-tiles,
.dash-home__solutions,
.dash-home__spotlights,
.dash-home__services,
.dash-home__flow,
.dash-home__partnership,
.dash-home__map-section {
    margin-bottom: 1.5rem;
}

.dash-home-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, .12);
}

.dash-home-carousel__strip {
    display: flex;
    width: 300%;
    animation: dash-home-carousel-slide 12s ease-in-out infinite;
}

.dash-home-carousel__slide {
    position: relative;
    flex: 0 0 33.333333%;
    min-height: 290px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, #d9480f 0%, #f97316 100%);
}

.dash-home-carousel__slide--b {
    background: linear-gradient(135deg, #0f766e 0%, #14b8a6 100%);
}

.dash-home-carousel__slide--c {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.dash-home-carousel__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(15, 23, 42, .82) 0%, rgba(15, 23, 42, .58) 38%, rgba(15, 23, 42, 0) 72%);
}

.dash-home-carousel__picture {
    position: absolute;
    inset: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.dash-home-carousel__content {
    position: relative;
    z-index: 2;
    width: min(100%, 560px);
    padding: 2.1rem 2.2rem;
}

.dash-home-carousel__tag {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: .28rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .22);
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
}

.dash-home-carousel__headline {
    margin: 0 0 .75rem;
    font-size: clamp(1.45rem, 3vw, 2rem);
    line-height: 1.12;
}

.dash-home-carousel__text {
    margin: 0 0 1.35rem;
    max-width: 460px;
    color: rgba(255, 255, 255, .88);
    font-size: .94rem;
}

.dash-home-carousel__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 1.05rem;
    border-radius: 8px;
    color: #334155 !important;
    background: #ffffff;
    font-size: .86rem;
    font-weight: 800;
    text-align: center;
}

.dash-home-carousel__cta--ghost {
    color: #ffffff !important;
    background: rgba(255, 255, 255, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .32);
}

.dash-home-carousel__glow {
    position: absolute;
    right: 7%;
    bottom: -22%;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    filter: blur(6px);
}

.dash-home-carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dash-home-carousel__dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    animation: dash-home-dot-pulse 12s ease-in-out infinite;
}

.dash-home-carousel__dots span:nth-child(2) {
    animation-delay: 4s;
}

.dash-home-carousel__dots span:nth-child(3) {
    animation-delay: 8s;
}

@keyframes dash-home-carousel-slide {
    0%, 28% { transform: translateX(0); }
    34%, 62% { transform: translateX(-33.333333%); }
    68%, 96% { transform: translateX(-66.666666%); }
    100% { transform: translateX(0); }
}

@keyframes dash-home-dot-pulse {
    0%, 28% { background: #ffffff; transform: scale(1.22); }
    34%, 100% { background: rgba(255, 255, 255, .45); transform: scale(1); }
}

.dash-home__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: 1.5rem;
}

.dash-home__hero-main,
.dash-home__hero-hotline,
.dash-home-solution,
.dash-spotlight,
.dash-home-svc,
.dash-home-flow,
.dash-home-partnership,
.dash-home-map-card {
    border: 1px solid #dce6f0;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .05);
}

.dash-home__hero-main {
    padding: 1.8rem 2rem;
}

.dash-home__hero-eyebrow {
    margin: 0 0 .55rem;
    color: #64748b;
    font-size: .78rem;
    font-weight: 700;
}

.dash-home__hero-eyebrow a,
.dash-home__geo-note a,
.dash-home-partnership__hint a {
    color: #166534;
    font-weight: 800;
}

.dash-home__hero-title {
    margin: 0 0 .65rem;
    color: #0f172a;
    font-size: clamp(1.65rem, 4vw, 2.2rem);
    line-height: 1.08;
}

.dash-home__hero-lead {
    margin: 0 0 .9rem;
    color: #334155;
    font-size: 1rem;
    font-weight: 700;
}

.dash-home__hero-text,
.dash-home-solution__text,
.dash-home__geo-note,
.dash-home-partnership__lead,
.dash-home-partnership__intro,
.dash-home-partnership__list,
.dash-home-partnership__hint {
    color: #64748b;
    font-size: .9rem;
    line-height: 1.55;
}

.dash-home__hero-text {
    margin: 0;
}

.dash-home__hero-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.25rem;
}

.dash-home__hero-partner-btn,
.dash-home-partnership__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1rem;
    border-radius: 999px;
    color: #ffffff !important;
    background: #1b5e3b;
    font-size: .86rem;
    font-weight: 800;
}

.dash-home__hero-hotline {
    display: flex;
    min-height: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.8rem;
    border-color: #bbf7d0;
    background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 100%);
    text-align: center;
}

.dash-home__hero-hotline-label {
    color: #64748b;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dash-home__hero-hotline-phone {
    margin-top: .45rem;
    color: #166534;
    font-size: 1.2rem;
    font-weight: 900;
}

.dash-home__hero-hotline-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin: 1rem 0;
    border-radius: 50%;
    color: #ffffff;
    background: #1b5e3b;
    box-shadow: 0 10px 24px rgba(27, 94, 59, .22);
}

.dash-home__hero-hotline-note {
    color: #64748b;
    font-size: .78rem;
    font-weight: 600;
}

.dash-home__hero-hotline-note a {
    color: #166534;
}

.dash-home__catalog-heading,
.dash-home__section-label,
.dash-home__section-title {
    margin: 0 0 .85rem;
    color: #334155;
    font-size: .95rem;
    font-weight: 900;
}

.dash-home-catalog-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #dce6f0;
    border-radius: 12px;
    background: #ffffff;
}

.dash-home-catalog-tile {
    display: flex;
    min-height: 158px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: 1rem .75rem;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    color: #5f7f70;
    text-align: center;
}

.dash-home-catalog-tile:nth-child(5n) {
    border-right: 0;
}

.dash-home-catalog-tile__media {
    display: flex;
    width: 100%;
    height: 84px;
    align-items: center;
    justify-content: center;
}

.dash-home-catalog-tile__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform .2s ease;
}

.dash-home-catalog-tile__fallback {
    width: 54px;
    height: 54px;
    border: 8px solid #d7e7df;
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px #2d7a50;
}

.dash-home-catalog-tile__label {
    color: #475569;
    font-size: .72rem;
    font-weight: 900;
    line-height: 1.25;
    text-transform: uppercase;
}

.dash-home-catalog-tile:hover {
    background: #f8fafc;
}

.dash-home-catalog-tile:hover .dash-home-catalog-tile__image {
    transform: scale(1.06);
}

.dash-home-solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.dash-home-solution {
    padding: 1.25rem 1.35rem;
}

.dash-home-solution--ntss {
    border-top: 3px solid #0d9488;
}

.dash-home-solution--koscab {
    border-top: 3px solid #16a34a;
}

.dash-home-solution__title {
    margin: 0 0 .45rem;
    font-size: 1rem;
    font-weight: 900;
}

.dash-home-solution__title a {
    color: #0f172a;
}

.dash-home-solution__text,
.dash-home__geo-note {
    margin: 0;
}

.dash-home__geo-note {
    margin-top: 1rem;
    padding: .85rem 1rem;
    border: 1px solid #dce6f0;
    border-radius: 10px;
    background: #ffffff;
}

.dash-home__spotlights,
.dash-home-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.dash-spotlight {
    display: flex;
    min-height: 170px;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
}

.dash-spotlight--promo {
    border-color: #fed7aa;
    background: linear-gradient(145deg, #fff7ed 0%, #ffffff 100%);
}

.dash-spotlight--new {
    border-color: #99f6e4;
    background: linear-gradient(145deg, #f0fdfa 0%, #ffffff 100%);
}

.dash-spotlight--coop {
    border-color: #bfdbfe;
    background: linear-gradient(145deg, #eff6ff 0%, #ffffff 100%);
}

.dash-spotlight__icon,
.dash-home-svc__icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: .85rem;
    border-radius: 10px;
    color: #ffffff;
    background: #1b5e3b;
}

.dash-spotlight--promo .dash-spotlight__icon {
    background: #ea580c;
}

.dash-spotlight--new .dash-spotlight__icon {
    background: #0d9488;
}

.dash-spotlight--coop .dash-spotlight__icon {
    background: #2563eb;
}

.dash-spotlight__kicker {
    color: #64748b;
    font-size: .7rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dash-spotlight__title {
    margin-top: .25rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 900;
}

.dash-spotlight__desc {
    margin-top: .3rem;
    color: #64748b;
    font-size: .86rem;
    line-height: 1.4;
}

.dash-spotlight__link {
    margin-top: auto;
    color: #166534;
    font-size: .84rem;
    font-weight: 900;
}

.dash-home-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dash-home-svc {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    color: #0f172a;
}

.dash-home-svc__icon {
    flex: 0 0 auto;
    margin: 0;
    color: #1b5e3b;
    background: #e8f5ee;
}

.dash-home-svc--data {
    border-color: #86efac;
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

.dash-home-svc--data .dash-home-svc__icon {
    color: #ffffff;
    background: #1b5e3b;
}

.dash-home-svc__body {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    gap: .2rem;
}

.dash-home-svc__title {
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
}

.dash-home-svc__desc {
    color: #64748b;
    font-size: .84rem;
}

.dash-home-svc__go {
    color: #94a3b8;
    font-size: 1.1rem;
}

.dash-home-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 1.6rem 1.5rem 1.35rem;
    list-style: none;
}

.dash-home-flow::before {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    top: 38px;
    height: 3px;
    border-radius: 999px;
    background: #d1e7dc;
}

.dash-home-flow__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .7rem;
    text-align: center;
}

.dash-home-flow__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: #ffffff;
    background: #1b5e3b;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(27, 94, 59, .26);
}

.dash-home-flow__label {
    color: #64748b;
    font-size: .82rem;
    font-weight: 800;
}

.dash-home-partnership {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .55fr);
    gap: 1.5rem;
    padding: 1.75rem;
}

.dash-home-partnership__title {
    margin: 0 0 .7rem;
    color: #0f172a;
    font-size: 1.35rem;
}

.dash-home-partnership__lead,
.dash-home-partnership__intro,
.dash-home-partnership__hint {
    margin: 0 0 .85rem;
}

.dash-home-partnership__list {
    margin: .85rem 0 0;
    padding-left: 1.15rem;
}

.dash-home-partnership__list li {
    margin-bottom: .45rem;
}

.dash-home-partnership__cta {
    padding: 1.25rem;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    background: linear-gradient(145deg, #f0fdf4 0%, #ffffff 100%);
}

.dash-home-partnership__btn {
    width: 100%;
    border-radius: 8px;
}

.dash-home-map-card {
    overflow: hidden;
}

.dash-home-map-card__head,
.dash-map-points {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
}

.dash-home-map-card__head {
    border-bottom: 1px solid #e2e8f0;
}

.dash-home-map-card__head strong {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #166534;
}

.dash-home-map-card__head span,
.dash-map-points {
    color: #64748b;
    font-size: .84rem;
    font-weight: 700;
}

.dash-map-points {
    justify-content: flex-start;
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.dash-map-points a {
    color: #166534;
}

.dash-map-points a:hover {
    text-decoration: underline;
}

.dash-map-wrap {
    height: 320px;
    background: #e2e8f0;
}

.dash-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1100px) {
    .dash-home {
        width: 100%;
        padding: 1.25rem 1rem 2.5rem;
    }

    .dash-home-catalog-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dash-home-catalog-tile:nth-child(5n) {
        border-right: 1px solid #e2e8f0;
    }

    .dash-home-catalog-tile:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 820px) {
    .dash-home__top,
    .dash-home-solutions-grid,
    .dash-home__spotlights,
    .dash-home-services-grid,
    .dash-home-partnership {
        grid-template-columns: 1fr;
    }

    .dash-home__hero-main {
        padding: 1.4rem;
    }

    .dash-home-carousel__slide {
        min-height: 250px;
    }

    .dash-home-carousel__content {
        padding: 1.5rem;
    }

    .dash-home-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .dash-home-flow::before {
        display: none;
    }
}

@media (max-width: 520px) {
    .dash-home {
        padding: .9rem .75rem 2rem;
    }

    .dash-home__carousel-wrap,
    .dash-home__top,
    .dash-home__catalog-tiles,
    .dash-home__solutions,
    .dash-home__spotlights,
    .dash-home__services,
    .dash-home__flow,
    .dash-home__partnership,
    .dash-home__map-section {
        margin-bottom: 1rem;
    }

    .dash-home-carousel__slide {
        min-height: 310px;
    }

    .dash-home-carousel__content {
        padding: 1.35rem 1.1rem;
    }

    .dash-home__hero-actions {
        justify-content: stretch;
    }

    .dash-home__hero-partner-btn {
        width: 100%;
    }

    .dash-home-catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dash-home-catalog-tile,
    .dash-home-catalog-tile:nth-child(3n),
    .dash-home-catalog-tile:nth-child(5n) {
        border-right: 1px solid #e2e8f0;
    }

    .dash-home-catalog-tile:nth-child(2n) {
        border-right: 0;
    }

    .dash-home-catalog-tile {
        min-height: 118px;
        padding: .8rem .55rem;
    }

    .dash-home-catalog-tile__label {
        font-size: .66rem;
    }

    .dash-spotlight,
    .dash-home-svc,
    .dash-home-partnership {
        padding: 1rem;
    }

    .dash-home-svc {
        align-items: flex-start;
    }

    .dash-home-map-card__head,
    .dash-map-points {
        align-items: flex-start;
        flex-direction: column;
        gap: .45rem;
    }

    .dash-map-wrap {
        height: 240px;
    }
}

/* Финальные уточнения после общих стилей шаблона. */
.dash-home {
    width: auto;
    max-width: 1280px;
    padding: 1.75rem 1.5rem 3rem;
}

.dash-home.dash-home--b2b { padding-top: 1.1rem; }

.dash-home__top {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 1.25rem 1.5rem;
    align-items: stretch;
}

.dash-home__hero-main {
    padding: 1.45rem 1.6rem 1.4rem;
    border-radius: 16px;
    box-shadow: 0 4px 28px rgba(15, 23, 42, .06);
}

.dash-home__hero-eyebrow {
    margin: 0 0 .65rem;
    font-size: .8rem;
    font-weight: 400;
    line-height: 1.45;
}

.dash-home__hero-title {
    margin: 0 0 .55rem;
    font-size: clamp(1.35rem, 3.2vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
}

.dash-home__hero-lead {
    margin: 0 0 .75rem;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.55;
}

.dash-home__hero-text {
    margin: 0 0 1.05rem;
    font-size: .87rem;
    line-height: 1.55;
}

.dash-home__hero-actions { margin-top: .15rem; }

.dash-home__hero-partner-btn {
    padding: .5rem 1.2rem;
    border: 1px solid #14532d;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    color: #ffffff !important;
    background-color: #1b5e3b !important;
}

.dash-home__hero-hotline {
    gap: .4rem;
    min-height: 0;
    padding: 1rem 1.15rem;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
    background: linear-gradient(165deg, #ecfdf5 0%, #f0fdf4 100%);
    box-shadow: none;
}

.dash-home__hero-hotline-label {
    margin: 0;
    font-size: .65rem;
    letter-spacing: .08em;
}

.dash-home__hero-hotline-phone {
    margin: 0;
    font-size: 1.12rem;
}

.dash-home__hero-hotline-cta {
    width: 52px;
    height: 52px;
    padding: 0;
    border: 2px solid #14532d;
    border-radius: 50%;
    color: #ffffff !important;
    background-color: #1b5e3b !important;
}

.dash-home__hero-hotline-note {
    max-width: 16rem;
    margin: 0;
    font-size: .76rem;
    line-height: 1.45;
}

.dash-home__section-label {
    margin: 0 0 .9rem;
    color: #64748b;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .09em;
}

.dash-home-solution {
    padding: 1.15rem 1.2rem;
    border-radius: 14px;
    box-shadow: none;
}

.dash-home-solution__title {
    margin: 0 0 .5rem;
    font-size: 1.02rem;
    font-weight: 800;
}

.dash-home-solution__text {
    color: #64748b;
    font-size: .81rem;
    line-height: 1.48;
}

.dash-home__geo-note {
    margin: 1rem 0 0;
    padding: .9rem 1rem;
    border-radius: 12px;
    color: #475569;
    background: #f8fafc;
    font-size: .82rem;
    line-height: 1.55;
}

.dash-home__spotlights {
    margin-bottom: 2rem;
}

.dash-spotlight {
    min-height: 100%;
    padding: 1.25rem 1.2rem;
    border-radius: 16px;
    box-shadow: none;
}

.dash-spotlight__icon {
    width: 48px;
    height: 48px;
    margin-bottom: .9rem;
    border-radius: 12px;
}

.dash-spotlight__kicker {
    margin-bottom: .25rem;
    color: inherit;
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .1em;
}

.dash-spotlight__title {
    margin: 0 0 .35rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.25;
}

.dash-spotlight__desc {
    margin: 0 0 .85rem;
    font-size: .82rem;
    line-height: 1.4;
}

.dash-spotlight__link {
    margin-top: auto;
    font-size: .82rem;
    font-weight: 700;
}

.dash-spotlight--promo { background: linear-gradient(165deg, #fffbeb 0%, #ffffff 55%); }
.dash-spotlight--promo .dash-spotlight__icon { background: linear-gradient(145deg, #c2410c, #ea580c); }
.dash-spotlight--promo .dash-spotlight__link { color: #c2410c; }
.dash-spotlight--new { background: linear-gradient(165deg, #f0fdfa 0%, #ffffff 50%); }
.dash-spotlight--new .dash-spotlight__icon { background: linear-gradient(145deg, #0d9488, #14b8a6); }
.dash-spotlight--new .dash-spotlight__link { color: #0f766e; }
.dash-spotlight--coop { background: linear-gradient(165deg, #eff6ff 0%, #ffffff 50%); }
.dash-spotlight--coop .dash-spotlight__icon { background: linear-gradient(145deg, #1d4ed8, #2563eb); }
.dash-spotlight--coop .dash-spotlight__link { color: #1d4ed8; }

.dash-home__services,
.dash-home__flow,
.dash-home__partnership {
    margin-bottom: 2rem;
}

.dash-home__services .dash-home__section-title,
.dash-home__flow .dash-home__section-title {
    margin: 0 0 1.25rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.dash-home__services .dash-home__section-title--left { margin-bottom: 1rem; }

.dash-home-svc {
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    box-shadow: none;
}

.dash-home-svc__icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f1f5f9;
}

.dash-home-svc__body { gap: .3rem; }
.dash-home-svc__title { font-weight: 800; }
.dash-home-svc__desc { line-height: 1.45; }
.dash-home-svc__go { font-size: 1.15rem; }
.dash-home-svc--data { background: linear-gradient(145deg, #ecfdf5 0%, #ffffff 45%); }

.dash-home-flow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .04);
}

.dash-home-flow::before {
    left: 8%;
    right: 8%;
    top: 50%;
    border-radius: 2px;
    background: linear-gradient(90deg, #1b5e3b, #94a3b8, #1b5e3b);
    opacity: .25;
    transform: translateY(-50%);
}

.dash-home-flow__step {
    display: block;
    min-width: 120px;
    flex: 1;
    text-align: center;
}

.dash-home-flow__num {
    display: flex;
    width: 40px;
    height: 40px;
    margin: 0 auto .55rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #1b5e3b, #22c55e);
    box-shadow: 0 4px 12px rgba(27, 94, 59, .35);
    font-size: 1rem;
    font-weight: 800;
}

.dash-home-flow__label {
    display: block;
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
    line-height: 1.35;
}

.dash-home-partnership {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    padding: 1.5rem 1.75rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 40%, #f0fdf4 100%);
    box-shadow: 0 4px 24px rgba(27, 94, 59, .06);
}

.dash-home-partnership__title {
    margin: 0 0 .65rem;
    font-size: 1.2rem;
    font-weight: 800;
}

.dash-home-partnership__lead {
    margin: 0 0 1rem;
    color: #475569;
    font-size: .9rem;
}

.dash-home-partnership__list {
    margin: 0;
    color: #334155;
    font-size: .86rem;
}

.dash-home-partnership__cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.15rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    background: #ffffff;
}

.dash-home-partnership__intro {
    margin: 0 0 1rem;
    color: #334155;
    font-size: .87rem;
    font-weight: 500;
}

.dash-home-partnership__hint {
    margin: 0 0 .35rem;
    font-size: .84rem;
}

.dash-home-partnership__hint--email { margin-bottom: 1rem; }

.dash-home-partnership__btn {
    width: auto;
    padding: .65rem 1.2rem;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 700;
}

@media (max-width: 900px) {
    .dash-home-solutions-grid,
    .dash-home__spotlights,
    .dash-home-services-grid,
    .dash-home-partnership {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .dash-home__top { grid-template-columns: 1fr; }

    .dash-home-flow {
        flex-direction: column;
        align-items: stretch;
    }

    .dash-home-flow__step {
        display: flex;
        align-items: center;
        gap: .85rem;
        text-align: left;
    }

    .dash-home-flow__num { margin: 0; }
}
