@media (max-width: 1039px) {
    .items-container {
        grid-gap: 8px;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .items-container > .item {
        padding: 20px;
        min-height: 340px;
    }

    .sections > .selector {
        width: 100%;
    }

    .sections > .selector > .selector-wrapper {
        gap: 20px;
    }

    .sections > .selector > .selector-wrapper > ul {
        flex-wrap: wrap;
        gap: 8px;
    }

    .sections > .selector > .selector-wrapper > ul > li {
        flex: 1 0 auto;
    }
}

@media (max-width: 807px) {
    .header .header-section .header-section-title {
        font-size: 24px;
    }

    .header .header-section .header-section-text {
        font-size: 14px;
    }


    .sections > .status {
        width: 100%;
        display: grid;
        grid-template-columns: calc(100% - 70px) 58px;
        grid-gap: 12px;
    }

    .sections > .status .monitoring {
        width: 100%;
    }


    .items-container > .item {
        height: 100%;
    }

    .items-container > .item > .item-wrapper > .middle-wrapper {
        flex-direction: column-reverse;
        gap: 12px;
        position: relative;
    }

    .items-container > .item > .item-wrapper > .middle-wrapper > .image {
        margin-right: auto;
        height: 100px;
        width: 100px;
    }

    .items-container > .item > .item-wrapper > .middle-wrapper > .old-price {
        position: absolute;
        bottom: 9px;
        right: 0;
    }

    .items-container > .item > .item-wrapper > .commands {
        height: auto;
    }

    .items-container > .item > .item-wrapper > .commands > .command {
        display: none;
    }
}

@media (max-width: 659px) {

    .modal[data-id="about-item"] .modal-body > .middle-wrapper {
        flex-direction: column-reverse;
        align-items: center;
        justify-content: start;
    }

    .modal[data-id="about-item"] .modal-body > .middle-wrapper > .about-wrapper {
        width: 100%;
    }

    .modal[data-id="about-item"] .modal-body .middle-wrapper .image {
        width: 120px;
        height: 120px;
        max-width: 100%;
        margin: auto;
    }

    .modal[data-id="about-item"] .modal-body .middle-wrapper .commands {
        order: 2;
    }

    .modal[data-id="about-item"] .modal-body .commands {
        padding-top: 20px;
    }
}

@media (max-width: 599px) {

    .header .header-section {
        padding: 20px 80px 20px 20px;
        height: auto;
    }

    .header .header-section .header-section-title {
        font-size: 20px;
    }

    .header .header-section .header-section-lock {
        display: none;
    }

    .header .header-section .header-section-text {
        font-size: 12px;
    }

    .header .header-section .header-section-link {
        width: 80px;
    }
}

@media (max-width: 559px) {
    .modal[data-id="buy-item"] .modal-footer {
        display: grid;
        grid-gap: 12px;
        grid-template-columns: 100%;
    }

    .modal[data-id="buy-item"] .modal-footer .btn {
        width: 100%;
    }
}

@media (max-width: 459px) {
    .modal[data-id="about-item"] .modal-footer {
        display: grid;
        grid-gap: 12px;
        grid-template-columns: 100%;
    }
}

@media (max-width: 419px) {

    .sections > .status .ip {
        font-size: 20px;
    }
}

@media (max-width: 359px) {
    .header .header-section .header-section-title {
        font-size: 18px;
    }

    .header .header-section {
        padding: 16px 64px 16px 16px;
        height: auto;
    }

    .items-container {
        grid-template-columns: 100%;
    }

    .header .header-section .header-section-link {
        width: 64px;
    }
}