﻿
@media only screen and (min-width: 980px) {
    .item-remove {
        width: 5% !important;
    }

    .ttkh_ {
        margin-top: 30px;
        margin-right: 0px;
        margin-bottom: 0px;
        margin-left: 0px;
    }

    .ttkh {
        border-radius: 0px;
        padding: 20px;
    }

    .accordion-toggle {
        color: #00bfa5;
        text-transform: uppercase;
        font-weight: bold;
    }

    .panel-title {
        margin-bottom: 10px;
    }

    .tongdonhang {
        color: #f02640;
        margin-right: 20px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .simpleCart_items {
        overflow-x: auto;
        max-height: 390px;
    }

        .simpleCart_items table {
            border: 1px solid #ccc;
            width: 100%;
            display: -moz-deck;
            overflow-x: auto;
        }

        .simpleCart_items th {
            padding: 10px 0;
            color: #fff;
            text-align: center;
            border-right: #f3f3f3 1px solid;
            font-size: .92857em;
            text-transform: uppercase;
            background: #f8007a;
        }

    .headerRow {
        background: #fbfbfb;
        font-weight: bold;
        font-size: .92857em;
        clear: both;
        width: 100%;
        border: 1px solid #f3f3f3;
        border-right: none;
        border-left: none;
    }
        .headerRow .item-price{
            color:#fff !important;
        }

        .simpleCart_items td {
            padding: 5px 10px;
            vertical-align: middle;
            font-size: 12px;
        }

    .item-image {
        width: 17%;
        text-align: center;
    }

        .item-image img {
            height: 60px !important;
            display: block;
            width: 100% !important;
            padding: 0 20px;
        }

    .item-name {
        width: 28%;
        text-align: center;
    }

    .item-size {
        width: 80px;
        text-align: center;
    }

    .item-quantity {
        width: 12%;
        text-align: center;
    }

        .item-quantity input {
            text-align: center;
            margin: 0px;
        }

    .item-price {
        width: 16%;
        text-align: center;
    }

    .item-remove {
        width: 30px;
        text-align: center;
    }

    .simpleCart_remove {
        width: 20px;
        height: 20px;
        background-size: 100% 100%;
        background-color: #fff;
        background-image: url(/images/bin.png);
        display: inline-block;
        left: 50%;
        top: 50%;
        position: relative;
        text-align: center;
        -moz-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
    }

    .item-subtotal {
        width: 16%;
        text-align: center;
    }

    .item-total {
        width: 22%;
        text-align: center;
    }

    .simpleCart_remove {
        color: red;
    }

    .item-masp {
        width: 120px;
        display: none;
    }
}

@media only screen and (max-width: 979px) {
    .accordion-toggle {
        color: #00bfa5;
        text-transform: uppercase;
        font-weight: bold;
    }

    .item-image img {
        width: 36px;
    }

    .item-image {
        float: left;
        margin-right: 6px;
        height: 40px;
        width: 14%;
    }

    .item-name {
        height: 40px;
        overflow: hidden;
        width: 60%;
        float: left;
        font-size: 12px;
    }

    .item-image img {
        width: 86px;
        width: auto;
    }
    .popup-ship{
        display:none;
    }
    .item-quantity input {
        width: 40px;
        text-align: center;
        border: 1px solid #ddd !important;
    }

    .item-price {
        float: left;
        width: 20%;
        margin-top: -2px;
    }
    .cart-noti-info{
        font-size:12px;
    }
    .btn-proceed-checkout {
        width: 100% !important;
    }
    #popup-cart-desktop {
        width: auto !important;
    }
    .item-remove {
        float: left;
        width: 10%;
    }

    .item-subtotal {
    }

    .item-total {
    }

    .simpleCart_remove {
        color: #f02640;
    }

    .headerRow {
        display: none;
    }

    .itemRow {
        margin-bottom: 8px;
        height: 56px;
        border: #f3f3f3 1px dashed;
        padding-top: 6px;
        padding-left: 6px;
    }

    .tongdonhang {
        color: #f02640;
        margin-right: 20px;
        font-weight: bold;
    }

    .item-decrement {
        float: left;
        margin-top: 0px;
        width: 20px;
    }

    .item-masp {
        margin-top: 4px;
    }

    .item-increment {
        float: left;
        margin-top: -18px;
        width: 20px;
        margin-left: 70px;
    }

    .simpleCart_items {
        margin-top: 20px;
        margin-bottom: 0px;
    }
}

@media (max-width: 479px) {
    .chat-item .chat-item-text {
        color: #0096ff !important;
    }

    .product-bottom-panel {
        background-color: white;
        border: 0 solid rgba(0, 0, 0, .09) !important;
        border-top: 1px solid rgba(0, 0, 0, .09) !important;
        box-shadow: 0 0 6px 0 rgba(0, 0, 0, .09);
        position: fixed;
        bottom: 0;
        width: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        z-index: 101;
        height: 50px;
    }

    .product-bottom-panel__chat-now, .product-bottom-panel__add-to-cart, .product-bottom-panel__buy-now {
        background-color: #4a90e2;
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -moz-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        color: white;
        font-size: 0.625rem;
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .product-bottom-panel__chat-now span.disabled,
        .product-bottom-panel__chat-now svg.disabled, .product-bottom-panel__add-to-cart span.disabled,
        .product-bottom-panel__add-to-cart svg.disabled, .product-bottom-panel__buy-now span.disabled,
        .product-bottom-panel__buy-now svg.disabled {
            opacity: 0.5;
        }

    .product-bottom-panel__chat-now, .product-bottom-panel__add-to-cart {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -webkit-flex-direction: column;
        -moz-box-orient: vertical;
        -moz-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        font-size: 10px;
    }

        .product-bottom-panel__chat-now .stardust-icon, .product-bottom-panel__add-to-cart .stardust-icon {
            -webkit-box-flex: 0;
            -webkit-flex: 0 1 auto;
            -moz-box-flex: 0;
            -ms-flex: 0 1 auto;
            flex: 0 1 auto;
            width: 1.5rem;
            height: 1.5rem;
            margin-bottom: 0.25rem;
        }

    .product-bottom-panel__chat-now-text, .product-bottom-panel__add-to-cart-text {
        -webkit-box-flex: 0;
        -webkit-flex: 0 1 auto;
        -moz-box-flex: 0;
        -ms-flex: 0 1 auto;
        flex: 0 1 auto;
        white-space: nowrap;
    }

    .product-bottom-panel__buy-now {
        background-color: #f8007a;
        font-size: 13px;
        -webkit-box-flex: 2;
        -webkit-flex: 2;
        -moz-box-flex: 2;
        -ms-flex: 2;
        flex: 2;
    }

    .product-bottom-panel__separator {
        -webkit-box-flex: 0;
        -webkit-flex: 0;
        -moz-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
        background-color: #fff;
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .product-bottom-panel__separator-real {
        border: 0 solid rgba(0, 0, 0, .09) !important;
        border-left: 1px solid rgba(0, 0, 0, .09) !important;
        height: 1.75rem;
        -webkit-box-flex: 0;
        -webkit-flex: 0;
        -moz-box-flex: 0;
        -ms-flex: 0;
        flex: 0;
    }

    .product-bottom-panel__coming-soon-bar {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        background-color: rgba(0, 0, 0, .26);
        color: white;
        font-size: 1.125rem;
        -webkit-box-flex: 3;
        -webkit-flex: 3;
        -moz-box-flex: 3;
        -ms-flex: 3;
        flex: 3;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -moz-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -moz-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .product-cart-and-buy-buttons {
        display: -webkit-box;
        display: -webkit-flex;
        display: -moz-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -webkit-flex-direction: row;
        -moz-box-orient: horizontal;
        -moz-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-flex: 3;
        -webkit-flex: 3;
        -moz-box-flex: 3;
        -ms-flex: 3;
        flex: 3;
    }

    .product-bottom-panel-wrapper {
        height: 3.75rem;
    }

    .theme--ofs .product-bottom-panel {
        background-color: white;
    }

    .theme--ofs .product-bottom-panel__chat-now, .theme--ofs .product-bottom-panel__separator, .theme--ofs .product-bottom-panel__add-to-cart {
        background-color: white;
        color: rgba(0, 0, 0, .87);
    }

    .theme--ofs .product-bottom-panel__buy-now {
        background-color: #d0011b;
    }

    .theme--ofs .product-bottom-panel__chat-now-icon {
        color: #d0011b;
    }

    .root {
        position: fixed;
        left: 0;
        right: 0;
        bottom: -webkit-calc(3rem - 1px);
        bottom: calc(3rem - 1px);
        padding: 0.5625rem;
        line-height: 0.875rem;
        font-size: 0.75rem;
        text-align: center;
        color: white;
        background-color: rgba(0, 0, 0, .65);
    }
}
@media only screen and (max-width: 479px) {
    #popup-cart-desktop {
        margin-top: 0 !important;
    }
}
