.default3-body {
    min-height: 100%;
    background: #f4f7f5;
    color: #18241f;
}

.default3-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.default3-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(249, 251, 248, 0.96);
    border-bottom: 1px solid #dce6df;
    box-shadow: 0 8px 26px rgba(30, 51, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    will-change: transform;
}

.default3-header.default3-header--hidden {
    transform: translateY(calc(-100% - 10px));
    box-shadow: none;
}

.default3-header-inner,
.default3-main,
.default3-flashes,
.default3-footer-inner {
    width: min(1180px, calc(100% - 24px));
    margin: 0 auto;
}

.default3-header-inner {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.default3-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #17231d;
    text-decoration: none;
}

.default3-brand:hover,
.default3-brand:focus {
    color: #17231d;
    text-decoration: none;
}

.default3-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
}

.default3-brand-logo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.default3-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.default3-brand-name {
    font-size: 17px;
    font-weight: 700;
}

.default3-brand-domain {
    font-size: 0.68em;
}

.default3-brand-subtitle {
    margin-top: 3px;
    color: #64736c;
    font-size: 12px;
}

.default3-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.default3-header-link {
    color: #354840;
    font-size: 14px;
    text-decoration: none;
}

.default3-header-link:hover,
.default3-header-link:focus {
    color: #235c4a;
    text-decoration: none;
}

.default3-header-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.default3-header-contact-icon {
    display: none;
    line-height: 1;
}

.default3-header-price {
    color: #235c4a;
    font-weight: 700;
    white-space: nowrap;
}

.default3-login-button,
.default3-account-button,
.default3-more-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 6px 10px;
    border: 1px solid #cad8d0;
    border-radius: 7px;
    background: #fff;
    color: #203129;
    font-size: 13px;
    line-height: 1.1;
    text-decoration: none;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.default3-login-button:hover,
.default3-login-button:focus,
.default3-account-button:hover,
.default3-account-button:focus,
.default3-more-button:hover,
.default3-more-button:focus {
    border-color: #9fb8aa;
    color: #203129;
    text-decoration: none;
    outline: none;
}

.default3-login-button img,
.default3-account-button img {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.default3-account-button,
.default3-more-button {
    width: 40px;
    min-width: 40px;
    padding: 6px;
    cursor: pointer;
}

.default3-more-button {
    font-size: 15px;
}

.default3-account,
.default3-more {
    position: relative;
}

.default3-account.is-open .default3-account-button,
.default3-more.is-open .default3-more-button {
    border-color: #9fb8aa;
    background: #fdfefe;
    box-shadow: 0 8px 20px rgba(31, 55, 46, 0.12);
}

.default3-account-menu[hidden],
.default3-more-menu[hidden] {
    display: block !important;
}

.default3-account-menu,
.default3-more-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 1030;
    max-height: calc(100vh - 82px);
    overflow-y: auto;
    min-width: 272px;
    margin: 0;
    padding: 8px;
    list-style: none;
    background: #fff;
    border: 1px solid #d8e2dc;
    border-radius: 12px;
    box-shadow: 0 18px 44px rgba(24, 36, 31, 0.16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
}

.default3-more-menu {
    min-width: 190px;
}

.default3-account.is-open .default3-account-menu,
.default3-more.is-open .default3-more-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.default3-account-menu > li + li,
.default3-more-menu > li + li {
    margin-top: 2px;
}

.default3-account-menu > li > a,
.default3-more-menu > li > a,
.default3-more-muted {
    display: block;
    padding: 7px 10px;
    border-radius: 8px;
    color: #263930;
    font-size: 13px;
    line-height: 1.3;
    white-space: normal;
    transition: background-color 0.16s ease, color 0.16s ease, transform 0.16s ease;
}

.default3-more-muted {
    color: #9aa69f;
    cursor: default;
}

.default3-account-menu .glyphicon {
    margin-right: 6px;
}

.default3-account-menu > li > a:hover,
.default3-account-menu > li > a:focus,
.default3-more-menu > li > a:hover,
.default3-more-menu > li > a:focus {
    background: #edf5f0;
    color: #235c4a;
    transform: translateX(2px);
}

.default3-account-menu > li.is-profile > a {
    background: #f4f8f6;
    font-weight: 600;
}

.default3-account-menu > li.is-action > a {
    background: #eff7f2;
    color: #1f5948;
    font-weight: 600;
}

.default3-account-menu > li.is-apps > a {
    background: #f0f6f3;
    color: #235c4a;
    font-weight: 600;
}

.default3-account-menu > li.is-apps {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5ece7;
}

.default3-account-menu > li.is-apps > a:hover,
.default3-account-menu > li.is-apps > a:focus {
    background: #e4f0ea;
    color: #1f5948;
}

.default3-account-menu > li.is-client-orders {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5ece7;
}

.default3-account-menu > li.is-emphasis > a {
    background: linear-gradient(135deg, #235c4a, #2f7660);
    color: #fff;
    box-shadow: 0 10px 24px rgba(35, 92, 74, 0.2);
}

.default3-account-menu > li.is-emphasis > a:hover,
.default3-account-menu > li.is-emphasis > a:focus {
    background: linear-gradient(135deg, #214f41, #2a6b57);
    color: #fff;
}

.default3-account-menu > li.is-exit {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #e5ece7;
}

.default3-account-menu > li.is-exit > a {
    color: #6a5757;
}

.default3-account-menu > li.is-exit > a:hover,
.default3-account-menu > li.is-exit > a:focus {
    background: #faf0f0;
    color: #8c3d3d;
    transform: none;
}

.default3-flashes {
    padding-top: 14px;
}

.default3-flashes .alert {
    margin-bottom: 10px;
    border-radius: 7px;
}

.default3-main {
    flex: 1 0 auto;
    padding: 18px 0 36px;
}

.default3-footer {
    flex: 0 0 auto;
    background: #16251e;
    color: #dfe9e3;
}

.default3-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px 18px;
    padding: 12px 0;
}

.default3-footer-links,
.default3-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 16px;
}

.default3-footer-legal {
    grid-column: 1;
    font-size: 12px;
    opacity: 0.78;
}

.default3-footer a {
    color: #dfe9e3;
    text-decoration: none;
}

.default3-footer a:hover,
.default3-footer a:focus {
    color: #fff;
    text-decoration: underline;
}

.default3-apps {
    position: relative;
}

.default3-apps summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #dfe9e3;
    cursor: pointer;
    outline: none;
}

.default3-apps summary::-webkit-details-marker {
    display: none;
}

.default3-apps summary::after {
    content: "";
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.16s ease;
}

.default3-apps[open] summary,
.default3-apps summary:hover,
.default3-apps summary:focus {
    color: #fff;
    text-decoration: underline;
}

.default3-apps[open] summary::after {
    margin-top: 2px;
    transform: rotate(225deg);
}

.default3-apps-menu {
    position: absolute;
    left: 0;
    bottom: calc(100% + 10px);
    z-index: 1040;
    display: grid;
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 10px;
    min-width: 286px;
    padding: 10px;
    border: 1px solid #d8e2dc;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(24, 36, 31, 0.2);
    color: #263930;
}

.default3-apps-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.default3-apps-title {
    color: #61746b;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.default3-footer .default3-apps-menu a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #d7e3dc;
    border-radius: 8px;
    background: #fbfdfc;
    color: #235c4a;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
}

.default3-footer .default3-apps-menu a:hover,
.default3-footer .default3-apps-menu a:focus {
    border-color: #9fb7ab;
    background: #edf5f0;
    color: #1f5948;
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.default3-footer-copy {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
}

.default3-footer-side {
    grid-column: 2;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.default3-social {
    min-height: 24px;
}

@media (max-width: 767px) {
    .default3-header-inner {
        min-height: 58px;
        gap: 8px;
    }

    .default3-header-actions {
        gap: 6px;
    }

    .default3-brand {
        gap: 7px;
    }

    .default3-brand-mark {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .default3-brand-name {
        font-size: 14px;
    }

    .default3-brand-subtitle {
        display: none;
    }

    .default3-header-contact {
        min-width: 38px;
        min-height: 38px;
        padding: 6px 10px;
        border: 1px solid #cad8d0;
        border-radius: 7px;
        background: #fff;
        color: #203129;
    }

    .default3-header-contact:hover,
    .default3-header-contact:focus {
        border-color: #9fb7ab;
        background: #f6faf8;
        color: #235c4a;
    }

    .default3-header-contact-text {
        display: none;
    }

    .default3-header-contact-icon {
        display: inline-flex;
        font-size: 15px;
    }

    .default3-login-button,
    .default3-account-button,
    .default3-more-button {
        max-width: 142px;
    }

    .default3-login-button span,
    .default3-account-button span:not(.caret) {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .default3-account-menu {
        position: fixed;
        left: 8px;
        right: 8px;
        max-height: calc(100vh - 72px);
    }

    .default3-more-menu {
        position: fixed;
        left: 8px;
        right: 8px;
        min-width: 0;
    }

    .default3-main {
        width: min(100% - 12px, 1180px);
        padding-top: 10px;
    }

    .default3-footer-inner {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 10px 0;
        font-size: 12px;
    }

    .default3-footer-links,
    .default3-footer-legal {
        gap: 6px 12px;
    }

    .default3-footer-legal,
    .default3-footer-side {
        grid-column: 1;
    }

    .default3-footer-side {
        grid-row: auto;
        align-items: flex-start;
        margin-top: 4px;
    }

    .default3-footer-copy {
        white-space: normal;
    }

    .default3-apps {
        width: 100%;
    }

    .default3-apps-menu {
        position: static;
        grid-template-columns: 1fr;
        min-width: 0;
        margin-top: 8px;
        box-shadow: none;
    }
}
