.asv-armtek,
.asv-armtek * {
    box-sizing: border-box;
}

.asv-armtek {
    width: 100%;
    color: #f2f2f2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.asv-armtek__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.asv-armtek-choice {
    margin-bottom: 18px;
}

.asv-armtek-choice__title {
    margin: 0 0 10px;
    color: #fff;
    font-weight: 850;
}

.asv-armtek-choice__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.asv-armtek-choice__grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asv-armtek-choice__grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asv-armtek-choice__card {
    min-height: 104px;
    padding: 16px;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    background: #242424;
    color: #f2f2f2;
    cursor: pointer;
    text-align: left;
    font: inherit;
}

.asv-armtek-choice__card.is-active {
    border-color: #f15a24;
    background: rgba(241, 90, 36, 0.12);
}

.asv-armtek-choice__card span {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font-weight: 900;
}

.asv-armtek-choice__card small {
    display: block;
    color: #b8b8b8;
    line-height: 1.45;
}

.asv-armtek__tab,
.asv-armtek__ghost,
.asv-armtek__submit,
.asv-armtek-result__btn {
    min-height: 44px;
    border-radius: 6px;
    border: 1px solid #4a4a4a;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.asv-armtek__tab {
    padding: 10px 14px;
    background: #242424;
    color: #d7d7d7;
}

.asv-armtek__tab.is-active {
    background: #f15a24;
    border-color: #f15a24;
    color: #fff;
}

.asv-armtek__panel {
    display: none;
    padding: 22px;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    background: #1f1f1f;
}

.asv-armtek__panel.is-active {
    display: block;
}

.asv-armtek__intro h3,
.asv-armtek__fallback h4,
.asv-armtek-modal h3 {
    margin: 0 0 8px;
    color: #fff;
}

.asv-armtek__intro p,
.asv-armtek__fallback p,
.asv-armtek-modal__note {
    margin: 0 0 16px;
    color: #b8b8b8;
}

.asv-armtek__fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.asv-armtek__fields--search {
    grid-template-columns: minmax(180px, 1fr) minmax(160px, 0.8fr) minmax(110px, 0.34fr) auto;
    align-items: end;
}

.asv-armtek label {
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #e6e6e6;
    font-size: 0.9rem;
    font-weight: 700;
}

.asv-armtek input,
.asv-armtek select,
.asv-armtek textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #3f3f3f;
    border-radius: 6px;
    background: #252525;
    color: #f2f2f2;
    font: inherit;
}

.asv-armtek input::placeholder,
.asv-armtek textarea::placeholder {
    color: #a8a8a8;
}

.asv-armtek__hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.asv-armtek textarea {
    min-height: 96px;
    resize: vertical;
}

.asv-armtek input:focus,
.asv-armtek select:focus,
.asv-armtek textarea:focus {
    outline: 2px solid rgba(241, 90, 36, 0.25);
    border-color: #f15a24;
}

.asv-armtek a:focus-visible,
.asv-armtek button:focus-visible,
.asv-armtek-choice__card:focus-visible,
.asv-armtek-result:focus-visible,
.asv-armtek input:focus-visible,
.asv-armtek select:focus-visible,
.asv-armtek textarea:focus-visible {
    outline: 2px solid rgba(241, 90, 36, 0.75);
    outline-offset: 2px;
}

.asv-armtek__wide {
    grid-column: 1 / -1;
}

.asv-armtek__check {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border: 1px solid #3f3f3f;
    border-radius: 6px;
    background: #242424;
}

.asv-armtek__check input {
    width: auto;
    min-height: 0;
}

.asv-armtek__check a {
    color: #f15a24;
}

.asv-armtek__submit {
    padding: 11px 18px;
    border-color: #f15a24;
    background: #f15a24;
    color: #fff;
}

.asv-armtek__submit:disabled {
    opacity: 0.62;
    pointer-events: none;
}

.asv-armtek__ghost {
    padding: 10px 14px;
    background: transparent;
    color: #f2f2f2;
}

.asv-armtek__message,
.asv-armtek__loader,
.asv-armtek__empty,
.asv-armtek-brand-choice {
    margin: 16px 0;
    padding: 14px 16px;
    border-radius: 6px;
    background: #252525;
    border-left: 3px solid #f15a24;
    color: #e7e7e7;
}

.asv-armtek-brand-choice p {
    margin: 0 0 10px;
    color: #fff;
    font-weight: 850;
}

.asv-armtek-brand-choice button {
    min-height: 36px;
    margin: 0 8px 8px 0;
    padding: 7px 12px;
    border: 1px solid #f15a24;
    border-radius: 6px;
    background: rgba(241, 90, 36, 0.12);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
}

.asv-armtek__message.is-error {
    border-left-color: #d71920;
    background: #351d1d;
}

.asv-armtek__message.is-success {
    border-left-color: #41b36b;
    background: #1d3324;
}

.asv-armtek__message--notice {
    border-left-color: #f2b84b;
    background: #302819;
}

.asv-armtek-results {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

.asv-armtek-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    gap: 16px;
    padding: 16px;
    border: 1px solid #3f3f3f;
    border-radius: 8px;
    background: #242424;
}

.asv-armtek-result h4 {
    margin: 0 0 6px;
    color: #fff;
}

.asv-armtek-result p {
    margin: 0;
    color: #b8b8b8;
}

.asv-armtek-result dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0 0;
}

.asv-armtek-result dl div {
    padding: 8px;
    border-radius: 6px;
    background: #1d1d1d;
}

.asv-armtek-result dt {
    color: #8f8f8f;
    font-size: 0.78rem;
}

.asv-armtek-result dd {
    margin: 2px 0 0;
    color: #fff;
    font-weight: 800;
}

.asv-armtek-result__side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.asv-armtek-result__price {
    color: #fff !important;
    font-size: 1.4rem;
    font-weight: 900;
    text-align: right;
}

.asv-armtek-result__note {
    color: #b8b8b8 !important;
    font-size: 0.86rem;
    line-height: 1.35;
    text-align: right;
}

.asv-armtek-result__btn {
    padding: 10px 12px;
    background: #f15a24;
    border-color: #f15a24;
    color: #fff;
}

.asv-armtek__fallback {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid rgba(241, 90, 36, 0.32);
    border-radius: 8px;
    background: rgba(241, 90, 36, 0.08);
}

.asv-armtek-modal[hidden] {
    display: none;
}

body.asv-armtek-modal-open {
    overflow: hidden;
}

.asv-armtek-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.72);
}

.asv-armtek-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    padding: 24px;
    border: 1px solid #4a4a4a;
    border-radius: 8px;
    background: #1f1f1f;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

.asv-armtek-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 1px solid #4a4a4a;
    border-radius: 6px;
    background: #252525;
    color: #fff;
    cursor: pointer;
    font-size: 26px;
    line-height: 1;
}

.asv-armtek-modal__part {
    margin: 0 0 14px;
    color: #f15a24;
    font-weight: 850;
}

.asv-armtek-modal .asv-armtek__submit {
    width: 100%;
    margin-top: 14px;
}

@media (max-width: 760px) {
    .asv-armtek__panel {
        padding: 16px;
    }

    .asv-armtek__fields,
    .asv-armtek__fields--search,
    .asv-armtek-result,
    .asv-armtek-choice__grid {
        grid-template-columns: 1fr;
    }

    .asv-armtek-result dl {
        grid-template-columns: 1fr;
    }

    .asv-armtek-result__price {
        text-align: left;
    }

    .asv-armtek-result__note {
        text-align: left;
    }

    .asv-armtek__submit,
    .asv-armtek-result__btn,
    .asv-armtek__ghost {
        width: 100%;
    }
}

@media (max-width: 430px) {
    .asv-armtek {
        min-width: 0;
    }

    .asv-armtek__panel,
    .asv-armtek__fallback,
    .asv-armtek-result,
    .asv-armtek-choice__card,
    .asv-armtek-modal__dialog {
        padding: 14px;
    }

    .asv-armtek-modal {
        align-items: flex-start;
        padding: 10px;
        overflow-y: auto;
    }

    .asv-armtek-modal__dialog {
        max-height: none;
        width: 100%;
    }

    .asv-armtek-modal__close {
        top: 8px;
        right: 8px;
    }
}
