﻿button {
    background-color: #cc4200;
    border: 2px solid #cc4200;
    color: #ffffff;
    transition: all 0.25s linear;
    cursor: pointer;
}

    button::after {
        position: relative;
        right: 0;
        content: " \276f";
        transition: all 0.15s linear;
    }

    button:hover {
        background-color: #242424;
        border-color: #242424;
    }

        button:hover::after {
            right: -5px;
        }

    button:focus {
        outline: none;
    }

ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
}

input {
    transition: all 0.25s linear;
}

    input[type="number"]::-webkit-inner-spin-button,
    input[type="number"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        margin: 0;
    }

input {
    outline: none;
}


/* --- HEADER --- */
header.container {
    margin-bottom: 1.5rem;
}

header .count {
    float: right;
    color: #333333;
}

/* --- PRODUCT LIST --- */
.products {
    border-top: 1px solid #ddd;
}

    .products > li {
        padding: 1rem 0;
        border-bottom: 1px solid #ddd;
    }


.col,
.quantity,
.remove {
    float: left;
}

    .col.left {
        width: 70%;
    }

    .col.right {
        width: 30%;
        position: absolute;
        right: 0;
        top: calc(50% - 30px);
    }

.detail {
    padding: 0 0.5rem;
    line-height: 1.75rem;
}

    .detail .name {
        font-size: 1.2rem;
    }

    .detail .description {
        color: #242424;
        font-size: 1.2rem;
    }

    .detail .price {
        color: #242424;
        font-size: 1.5rem;
        font-weight: 500;
    }

.quantity,
.remove {
    width: 50%;
    text-align: center;
}

    .remove svg {
        width: 60px;
        height: 60px;
    }

    .quantity > input {
        display: inline-block;
        width: 60px;
        height: 30px;
        position: relative;
        /*left: calc(50% - 30px);*/
        background: #fff;
        border: 1px solid #242424;
        color: #242424;
        text-align: center;
        font: 500 1.5rem Helvetica, Arial, sans-serif;
    }

        .quantity > input:hover,
        .quantity > input:focus {
            border-color: #582845;
        }

.close {
    fill: #7d7d7d;
    transition: color 150ms linear, background-color 150ms linear, fill 150ms linear, 150ms opacity linear;
    cursor: pointer;
}

    .close:hover {
        fill: #582845;
    }

/* --- SUMMARY --- */
.promotion,
.summary,
.checkout {
    float: left;
    width: 100%;
    margin-top: 1.5rem;
}

    .promotion > label {
        float: left;
        width: 100%;
        margin-bottom: 1rem;
    }

    .promotion > input {
        float: left;
        width: 80%;
        font-size: 1rem;
        padding: 0.6rem 0 0.6rem 1.8rem;
        border: 2px solid #cc4200;
        border-radius: 2rem 0 0 2rem;
    }

    .promotion:hover > input {
        border-color: #582845;
    }

    .promotion > button {
        float: left;
        width: 20%;
        padding: 0.6rem 0;
        border-radius: 0 2rem 2rem 0;
    }

    .promotion:hover > button {
        border-color: #582845;
        background-color: #582845;
    }

    .promotion > button::after {
        content: "\276f";
        font-size: 1rem;
    }

.summary {
    font-size: 1.2rem;
    text-align: right;
}

    .summary ul li {
        padding: 0.5rem 0;
    }

        .summary ul li span {
            display: inline-block;
            width: 30%;
        }

        .summary ul li.total {
            font-weight: bold;
            font-size: 1.5rem;
        }

.checkout {
    text-align: right;
}

    .checkout > button {
        font-size: 1.2rem;
        padding: 0.8rem 2.8rem;
        border-radius: 1.5rem;
    }

/* --- SMALL SCREEN --- */
@media all and (max-width: 599px) {
    /*.thumbnail img {
        display: none;
    }*/

    .quantity > input {
        width: 40px;
        height: 40px;
        left: calc(50% - 20px);
    }

    .remove svg {
        width: 40px;
        height: 40px;
    }
}

/* --- MEDIUM & LARGE SCREEN --- */
@media all and (min-width: 600px) {
    html {
        font-size: 14px;
    }

    .thumbnail,
    .detail {
        float: left;
    }

    .thumbnail {
        width: 35%;
        padding: 0 0.5rem;
    }

    .detail {
        width: 65%;
    }

    .promotion,
    .summary {
        width: 50%;
    }

    .checkout {
        width: 100%;
    }

    .checkout,
    .summary {
        text-align: right;
    }
}

.select {
    color: #242424;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 2px 5px;
    width:45px;
    text-align:center;
}

.value-button {
    font-size: 2em;
    display: inline-block;
    border: 1px solid #ddd;
    /*margin: 0px;*/
    margin-top: -2px;
    width: 30px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    padding: 5px 0;
    /*padding: 11px 0;*/
    background: #cc4200;
    color:white;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .value-button:hover {
        cursor: pointer;
    }

form #decrease {
    margin-right: -4px;
    border-radius: 8px 0 0 8px;
}

form #increase {
    margin-left: -4px;
    border-radius: 0 8px 8px 0;
}

form #input-wrap {
    margin: 0px;
    padding: 0px;
}

input#txtQty {
    text-align: center;
    border: none;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin: 0px;
    width: 30px;
    height: 40px;
    color: black;
    font-weight: 600;
    font-size: 1.1em;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
