/* Mobile product purchase/actions panel. Product page only. */
@media all and (max-width: 700px) {
    #smallElementTools {
        box-sizing: border-box;
        overflow: visible;
        width: 100%;
        max-width: 100%;
        margin: 18px 0 24px;
        padding: 14px;
        border: 1px solid #e7e8ea;
        border-radius: 10px;
        background: #fff;
    }

    #smallElementTools .mainTool,
    #smallElementTools .secondTool {
        float: none;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin-top: 0;
    }

    #smallElementTools .article {
        margin: 0 0 5px;
        color: #888;
        font-size: 13px;
        line-height: 19px;
    }

    #smallElementTools .price {
        margin: 0 0 12px;
        color: #111;
        font-size: 23px;
        line-height: 1.25;
    }

    #smallElementTools .price .prices {
        font-size: 1.08em;
    }

    #smallElementTools .price .oldPriceLabel {
        margin-top: 5px;
        font-size: 13px;
        line-height: 18px;
    }

    #smallElementTools .mainTool .row {
        float: none;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        margin: 0 0 9px;
    }

    #smallElementTools .addCart,
    #smallElementTools .register {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        border-radius: 7px;
    }

    #smallElementTools .addCart {
        height: 54px;
        margin-top: 0;
        margin-bottom: 9px;
        line-height: 54px;
        font-size: 17px;
    }

    #smallElementTools .register {
        height: 42px;
        margin-top: 0;
        margin-bottom: 0;
        line-height: 42px;
        font-size: 15px;
    }

    #smallElementTools .secondTool {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 12px;
    }

    #smallElementTools .secondTool > .row {
        float: none;
        box-sizing: border-box;
        width: calc(50% - 4.5px);
        max-width: 100%;
        margin: 0;
    }

    #smallElementTools .secondTool > .row:nth-child(1) {
        order: 5;
        width: 100%;
    }

    #smallElementTools .secondTool > .row:nth-child(2) {
        display: none;
    }

    #smallElementTools .secondTool > .row:nth-child(3) {
        order: 1;
        width: 100%;
    }

    #smallElementTools .secondTool > .row:nth-child(4) {
        order: 2;
    }

    #smallElementTools .secondTool > .row:nth-child(5) {
        order: 3;
    }

    #smallElementTools .secondTool > .row:nth-child(6) {
        order: 4;
        width: 100%;
    }

    #smallElementTools .secondTool > .row > .label,
    #smallElementTools .secondTool > .row > .changeAvailable,
    #smallElementTools .secondTool > .row > button.label {
        box-sizing: border-box;
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100% !important;
        max-width: 100%;
        min-height: 44px;
        margin: 0;
        padding: 9px 10px;
        border: 1px solid #e7e8ea;
        border-radius: 8px;
        background: #fafafa;
        color: #717171;
        font: 14px/18px 'roboto_condensedlight', Arial, sans-serif;
        text-align: center;
        text-decoration: none;
        cursor: pointer;
    }

    #smallElementTools .secondTool > .row > button.label {
        appearance: none;
        -webkit-appearance: none;
    }

    #smallElementTools .secondTool > .row > .label .icon,
    #smallElementTools .secondTool > .row > .changeAvailable .icon,
    #smallElementTools .secondTool > .row > button.label .icon {
        flex: 0 0 auto;
        margin: 0 7px 0 0;
        padding-right: 0;
    }

    #smallElementTools .secondTool > .row:nth-child(3) .quickOrder {
        min-height: 46px;
        border-color: #1f1f1f;
        background: #1f1f1f;
        color: #fff;
        font-size: 15px;
    }

    #smallElementTools .secondTool > .row:nth-child(3) .quickOrder:hover {
        border-color: #2d2d2d;
        background: #2d2d2d;
        color: #fff;
    }

    #smallElementTools .secondTool > .row:nth-child(4) .addWishlist.added,
    #smallElementTools .secondTool > .row:nth-child(5) .addCompare.added {
        border-color: #efb24a;
        background: #fff7e9;
        color: #333;
    }

    #smallElementTools .secondTool > .row:nth-child(6) .inStock {
        border-color: #cfe8cb;
        background: #f3fbf2;
        color: #62a64a;
    }

    #smallElementTools .secondTool > .row:nth-child(6) .onOrder {
        border-color: #efd0d0;
        background: #fff6f6;
        color: #ad5d5d;
    }

    #smallElementTools .secondTool > .row:nth-child(1) {
        display: flex;
        align-items: center;
        min-height: 42px;
        padding: 8px 10px;
        border: 1px solid #e7e8ea;
        border-radius: 8px;
        background: #fafafa;
    }

    #smallElementTools .secondTool > .row:nth-child(1) > .icon {
        flex: 0 0 auto;
        margin-top: 0;
        padding-right: 6px;
    }

    #smallElementTools .secondTool > .row:nth-child(1) > .label {
        display: inline !important;
        width: auto !important;
        min-height: 0;
        padding: 0;
        border: 0;
        background: transparent;
        line-height: 18px;
    }

    #smallElementTools .secondTool > .row:nth-child(1) .rating {
        flex: 0 0 auto;
        margin: 0 0 0 auto;
    }

    #smallElementTools .secondTool .productListCompareRow {
        display: block !important;
        width: calc(50% - 4.5px) !important;
        max-width: 100%;
        margin: 0 !important;
    }

    #smallElementTools .secondTool .productListCompareRow .addCompare {
        display: flex !important;
        width: 100% !important;
        max-width: 100%;
    }
}

@media all and (max-width: 360px) {
    #smallElementTools {
        padding: 12px;
    }

    #smallElementTools .secondTool > .row:nth-child(4),
    #smallElementTools .secondTool > .row:nth-child(5),
    #smallElementTools .secondTool .productListCompareRow {
        width: 100% !important;
    }
}
