/* ==========================================================
   VARIABLES
   ========================================================== */

.whs-cart-page {

    --whs-blue: #0077b3;
    --whs-blue-hover: #005f90;
    --whs-blue-light: #edf7fc;

    --whs-orange: #ff944c;
    --whs-orange-hover: #ef7f33;

    --whs-text: #183344;
    --whs-text-soft: #445c69;
    --whs-muted: #6d7f89;

    --whs-border: #e1e9ed;
    --whs-border-dark: #ccd8de;

    --whs-background: #f5f8fa;
    --whs-white: #ffffff;

    --whs-radius: 14px;

    min-height: 70vh;

    padding:
        clamp(28px, 5vw, 60px)
        20px
        clamp(55px, 8vw, 90px);

    background: var(--whs-background);

    overflow-x: clip;
}


/* ==========================================================
   RESET INSIDE CART
   ========================================================== */

.whs-cart-page,
.whs-cart-page * {
    box-sizing: border-box;
}

.whs-cart-page img {
    max-width: 100%;
}

.whs-cart-page button,
.whs-cart-page input,
.whs-cart-page select {
    font: inherit;
}


/* ==========================================================
   CONTAINER
   ========================================================== */

.whs-cart-container {
    width: 100%;
    max-width: 1080px;

    margin: 0 auto;
}


/* ==========================================================
   PAGE HEADER
   ========================================================== */

.whs-cart-header {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 30px;

    margin-bottom: 24px;
}

.whs-cart-heading {
    min-width: 0;
}

.whs-cart-title {
    margin: 0;

    color: var(--whs-text);

    font-size: clamp(30px, 4vw, 44px);
    font-weight: 750;

    line-height: 1.08;

    letter-spacing: -.02em;
}

.whs-cart-subtitle {
    margin: 10px 0 0;

    color: var(--whs-muted);

    font-size: 16px;
    line-height: 1.55;
}


/* ==========================================================
   CONTINUE SHOPPING
   ========================================================== */

.whs-continue-shopping {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 42px;

    color: var(--whs-blue);

    font-size: 15px;
    font-weight: 650;

    line-height: 1.2;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color .15s ease,
        transform .15s ease;
}

.whs-continue-shopping:hover {
    color: var(--whs-blue-hover);

    transform: translateX(-2px);
}

.whs-continue-shopping-bottom:hover {
    transform: translateX(2px);
}


/* ==========================================================
   MAIN CART CARD
   ========================================================== */

.whs-cart-card {
    width: 100%;

    padding: 30px;

    background: var(--whs-white);

    border: 1px solid var(--whs-border);
    border-radius: var(--whs-radius);

    box-shadow:
        0 10px 35px
        rgba(20, 48, 65, .065);
}


/* ==========================================================
   REMOVE PLUGIN DEFAULT TITLE
   ========================================================== */

.whs-cart-card .wspsc_cart_header_image,
.whs-cart-card .wpsc_cart_title {
    display: none !important;
}


/* ==========================================================
   MAIN CART
   ========================================================== */

.whs-cart-card .shopping_cart {
    width: 100%;

    margin: 0;
    padding: 0;
}

.whs-cart-card .shopping_cart table {
    width: 100% !important;

    margin: 0;

    border: 0 !important;

    border-spacing: 0;
    border-collapse: separate;

    table-layout: auto;

    background: transparent;
}


/* ==========================================================
   DESKTOP TABLE HEADER
   ========================================================== */

.whs-cart-card .shopping_cart thead {
    background: #f3f8fb;
}

.whs-cart-card .shopping_cart th {
    padding: 14px 16px !important;

    background: transparent !important;

    border: 0 !important;
    border-bottom:
        1px solid
        var(--whs-border) !important;

    color: #536a77;

    font-size: 12px;
    font-weight: 750;

    letter-spacing: .045em;
    line-height: 1.3;

    text-transform: uppercase;
}

.whs-cart-card .wspsc_cart_item_name_th {
    width: 58%;

    text-align: left !important;
}

.whs-cart-card .wspsc_cart_qty_th {
    width: 15%;

    text-align: center !important;
}

.whs-cart-card .wspsc_cart_price_th {
    width: 19%;

    text-align: center !important;
}

.whs-cart-card .wspsc_remove_item_th {
    width: 8%;
}


/* ==========================================================
   PRODUCT ROW
   ========================================================== */

.whs-cart-card .wspsc_cart_item_thumb > td {
    padding: 19px 16px !important;

    background: #fff;

    border: 0 !important;
    border-bottom:
        1px solid
        var(--whs-border) !important;

    color: var(--whs-text);

    vertical-align: middle;
}


/* product info */

.whs-cart-card .wp_cart_item_info {
    display: flex;

    align-items: center;

    gap: 15px;

    width: 100%;
    min-width: 0;
}


/* product thumbnail */

.whs-cart-card .wp_cart_item_thumbnail {
    display: block;

    flex:
        0
        0
        84px;

    width: 84px;
}

.whs-cart-card .wp_cart_thumb_image {
    display: block !important;

    float: none !important;

    width: 84px !important;
    height: 66px !important;

    margin: 0 !important;

    object-fit: cover;

    background: #eef2f4;

    border-radius: 8px;
}


/* product name */

.whs-cart-card .wp_cart_item_name {
    display: block;

    min-width: 0;

    color: var(--whs-text);

    font-size: 15px;
    font-weight: 650;

    line-height: 1.45;
}

.whs-cart-card .wp_cart_item_name a {
    color: inherit;

    text-decoration: none;
}

.whs-cart-card .wp_cart_item_name a:hover {
    color: var(--whs-blue);
}


/* ==========================================================
   QUANTITY
   ========================================================== */

.whs-cart-card .wspsc_cart_qty_td {
    text-align: center !important;
}

.whs-cart-card .wspsc_cart_qty_td form {
    margin: 0 !important;
}

.whs-cart-card .wspsc_cart_item_qty {
    display: inline-block;

    width: 70px !important;
    max-width: 100%;

    height: 42px;

    margin: 0 !important;
    padding: 6px 8px;

    background: #fff;

    border:
        1px solid
        var(--whs-border-dark) !important;

    border-radius: 8px;

    color: var(--whs-text);

    font-size: 15px;

    line-height: 1;

    text-align: center;

    outline: none;

    transition:
        border-color .15s ease,
        box-shadow .15s ease;
}

.whs-cart-card .wspsc_cart_item_qty:focus {
    border-color:
        var(--whs-blue) !important;

    box-shadow:
        0 0 0 3px
        rgba(0, 119, 179, .12);
}


/* plugin quantity notice */

.whs-cart-card .wpsc-cart-change-quantity-msg {
    display: block;

    margin: 0 0 12px;

    color: var(--whs-muted);

    font-size: 13px;
}


/* ==========================================================
   PRICE
   ========================================================== */

.whs-cart-card
.wspsc_cart_item_thumb
> td:nth-last-child(2) {
    color: var(--whs-text);

    font-weight: 700;

    white-space: nowrap;

    text-align: center !important;
}


/* ==========================================================
   REMOVE
   ========================================================== */

.whs-cart-card .wspsc_remove_item_td {
    text-align: center;
}

.whs-cart-card
.wp_cart_remove_item_form {
    margin: 0 !important;
}

.whs-cart-card
.wp_cart_remove_item_form
input[type="image"],
.whs-cart-card
.wpsc_empty_cart_form
input[type="image"] {
    display: inline-block;

    width: 22px !important;
    height: 22px !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: .52;

    border: 0 !important;

    cursor: pointer;

    transition:
        opacity .15s ease,
        transform .15s ease;
}

.whs-cart-card
.wp_cart_remove_item_form
input[type="image"]:hover,
.whs-cart-card
.wpsc_empty_cart_form
input[type="image"]:hover {
    opacity: 1;

    transform: scale(1.1);
}


/* ==========================================================
   SUBTOTAL / SHIPPING / TAX
   ========================================================== */

.whs-cart-card .wpsc_cart_subtotal td,
.whs-cart-card .wpsc_cart_shipping td,
.whs-cart-card .wpsc_cart_tax td {
    padding:
        12px
        16px !important;

    background: #fafcfd;

    border: 0 !important;

    color: var(--whs-text-soft);

    font-size: 14px;
}

.whs-cart-card .wpsc_cart_subtotal td:first-child,
.whs-cart-card .wpsc_cart_shipping td:first-child,
.whs-cart-card .wpsc_cart_tax td:first-child {
    text-align: right !important;
}

.whs-cart-card .wpsc_cart_subtotal td:nth-child(2),
.whs-cart-card .wpsc_cart_shipping td:nth-child(2),
.whs-cart-card .wpsc_cart_tax td:nth-child(2) {
    font-weight: 650;

    white-space: nowrap;
}


/* ==========================================================
   TOTAL
   ========================================================== */

.whs-cart-card .wpsc_cart_total td {
    padding:
        18px
        16px !important;

    background: var(--whs-blue-light);

    border: 0 !important;
    border-top:
        1px solid
        #d9ebf4 !important;

    color: var(--whs-blue-hover);

    font-size: 18px;
    font-weight: 750 !important;
}

.whs-cart-card .wpsc_cart_total td:first-child {
    text-align: right !important;
}

.whs-cart-card .wpsc_cart_total td:nth-child(2) {
    white-space: nowrap;
}


/* ==========================================================
   TFOOT
   ========================================================== */

.whs-cart-card .shopping_cart tfoot td {
    border: 0 !important;
}


/* ==========================================================
   CART ACTION MESSAGE
   ========================================================== */

.whs-cart-card
tr.wpsc_cart_action_msg
> td {
    padding: 16px 0 0 !important;
}

.whs-cart-card
span.wpsc_cart_action_msg {
    display: block;

    padding: 12px 14px;

    background: #edf8ee;

    border-radius: 8px;

    color: #286532;

    font-size: 14px;
}


/* ==========================================================
   COUPON
   ========================================================== */

.whs-cart-card
.wpsc_cart_coupon_row
> td {
    padding:
        22px
        0
        0 !important;
}

.whs-cart-card .wpsc_coupon_section {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex-wrap: wrap;

    gap: 10px;
}

.whs-cart-card .wpsc_coupon_label {
    color: var(--whs-text-soft);

    font-size: 14px;
    font-weight: 600;
}

.whs-cart-card .wpsc_coupon_section form {
    display: flex;

    align-items: stretch;

    gap: 8px;

    margin: 0 !important;
}

.whs-cart-card
.wpsc_coupon_section
input[type="text"] {
    width: 170px;
    min-width: 0;

    height: 42px;

    margin: 0 !important;
    padding: 7px 12px;

    background: #fff;

    border:
        1px solid
        var(--whs-border-dark) !important;

    border-radius: 8px;

    color: var(--whs-text);

    outline: 0;
}

.whs-cart-card
.wpsc_coupon_section
input[type="text"]:focus {
    border-color:
        var(--whs-blue) !important;

    box-shadow:
        0 0 0 3px
        rgba(0, 119, 179, .1);
}

.whs-cart-card .wpsc_apply_coupon {
    min-height: 42px;

    margin: 0 !important;
    padding:
        8px
        18px !important;

    background:
        var(--whs-blue) !important;

    border:
        1px solid
        var(--whs-blue) !important;

    border-radius: 8px;

    color: #fff !important;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition: background .15s ease;
}

.whs-cart-card .wpsc_apply_coupon:hover {
    background:
        var(--whs-blue-hover) !important;
}


/* ==========================================================
   CHECKOUT AREA
   ========================================================== */

.whs-cart-card
.wpsc_checkout_form
> td {
    width: 100%;

    padding:
        26px
        0
        0 !important;

    border: 0 !important;
}

.whs-cart-card
.wpsc_checkout_form
form {
    max-width: 100%;
}


/* Standard PayPal */

.whs-cart-card
.wpsc_checkout_form_standard {
    width: 100%;

    margin:
        16px
        0
        0 !important;

    text-align: right;
}

.whs-cart-card
.wp_cart_checkout_button {
    display: inline-block;

    max-width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    border: 0 !important;

    cursor: pointer;

    transition:
        opacity .15s ease,
        transform .15s ease;
}

.whs-cart-card
.wp_cart_checkout_button:hover {
    opacity: .92;

    transform: translateY(-1px);
}


/*
|--------------------------------------------------------------------------
| PPCP / iframe / PayPal buttons
|--------------------------------------------------------------------------
*/

.whs-cart-card
.wpsc_checkout_form iframe {
    max-width: 100% !important;
}

.whs-cart-card
.wpsc_checkout_form
div {
    max-width: 100%;
}


/* ==========================================================
   SHIPPING / TAX REGION
   ========================================================== */

.whs-cart-card
.wpsc-shipping-region-container,
.whs-cart-card
.wpsc-tax-region-container {
    margin-bottom: 18px !important;
}

.whs-cart-card
.wpsc-shipping-region-label,
.whs-cart-card
.wpsc-tax-region-label {
    display: block;

    margin-bottom: 7px;

    color: var(--whs-text);

    font-size: 14px;
    font-weight: 650;
}

.whs-cart-card
.wpsc-shipping-region-input,
.whs-cart-card
.wpsc-tax-region-input {
    max-width: 320px;

    min-height: 42px;

    padding:
        7px
        10px;

    background: #fff;

    border:
        1px solid
        var(--whs-border-dark);

    border-radius: 8px;
}


/* ==========================================================
   TERMS / STORE PICKUP
   ========================================================== */

.whs-cart-card
.wp-shopping-cart-tnc-container,
.whs-cart-card
.wpsc-cart-store-pickup-container {
    color: var(--whs-text-soft);

    font-size: 14px;
    line-height: 1.55;
}

.whs-cart-card
.wp-shopping-cart-tnc-container
input[type="checkbox"],
.whs-cart-card
.wpsc-cart-store-pickup-container
input[type="checkbox"] {
    width: 17px;
    height: 17px;

    vertical-align: middle;
}


/* ==========================================================
   EMPTY CART
   ========================================================== */

.whs-cart-card
.wp_cart_empty_cart_section {
    padding:
        clamp(42px, 8vw, 80px)
        20px
        16px;

    color: var(--whs-muted);

    font-size: 17px;

    line-height: 1.5;

    text-align: center;
}

.whs-cart-card
.wp_cart_visit_shop_link {
    padding:
        5px
        20px
        clamp(42px, 8vw, 70px);

    text-align: center;
}

.whs-cart-card
.wp_cart_visit_shop_link
a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding:
        10px
        22px;

    background: var(--whs-blue);

    border-radius: 8px;

    color: #fff;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition: background .15s ease;
}

.whs-cart-card
.wp_cart_visit_shop_link
a:hover {
    background: var(--whs-blue-hover);
}


/* ==========================================================
   PAGE FOOTER
   ========================================================== */

.whs-cart-footer {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding:
        17px
        4px
        0;

    color: var(--whs-muted);

    font-size: 13px;
}

.whs-cart-security {
    display: inline-flex;

    align-items: center;

    gap: 8px;
}

.whs-security-dot {
    display: block;

    flex: 0 0 8px;

    width: 8px;
    height: 8px;

    background:
        var(--whs-orange);

    border-radius: 50%;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 820px) {

    .whs-cart-card {
        padding: 22px;
    }

    .whs-cart-card
    .wp_cart_item_thumbnail {
        flex-basis: 70px;

        width: 70px;
    }

    .whs-cart-card
    .wp_cart_thumb_image {
        width: 70px !important;
        height: 58px !important;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 700px) {

    /*
    |--------------------------------------------------------------------------
    | Page
    |--------------------------------------------------------------------------
    */

    .whs-cart-page {
        padding:
            26px
            12px
            50px;
    }


    /*
    |--------------------------------------------------------------------------
    | Header
    |--------------------------------------------------------------------------
    */

    .whs-cart-header {
        display: block;

        margin-bottom: 19px;
    }

    .whs-cart-title {
        font-size: 31px;
    }

    .whs-cart-subtitle {
        margin-top: 7px;

        font-size: 14px;
    }

    .whs-cart-header
    .whs-continue-shopping {
        margin-top: 15px;

        min-height: 36px;
    }


    /*
    |--------------------------------------------------------------------------
    | Main card becomes transparent container
    |--------------------------------------------------------------------------
    */

    .whs-cart-card {
        padding: 0;

        background: transparent;

        border: 0;
        border-radius: 0;

        box-shadow: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Disable desktop table layout
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .shopping_cart
    table,
    .whs-cart-card
    .shopping_cart
    tbody,
    .whs-cart-card
    .shopping_cart
    tfoot {
        display: block;

        width: 100% !important;
    }

    .whs-cart-card
    .shopping_cart
    thead {
        display: none;
    }


    /* ======================================================
       PRODUCT AS CARD
       ====================================================== */

    .whs-cart-card
    .wspsc_cart_item_thumb {
        position: relative;

        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        grid-template-areas:
            "product remove"
            "quantity price";

        column-gap: 14px;
        row-gap: 19px;

        width: 100%;

        margin-bottom: 12px;
        padding: 17px;

        background: #fff;

        border:
            1px solid
            var(--whs-border);

        border-radius: 12px;

        box-shadow:
            0 4px 18px
            rgba(20, 48, 65, .045);
    }


    /*
    |--------------------------------------------------------------------------
    | Reset TD
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wspsc_cart_item_thumb
    > td {
        display: flex;

        width: auto !important;

        margin: 0;
        padding: 0 !important;

        background: transparent;

        border: 0 !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Product
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wspsc_cart_item_name_td {
        grid-area: product;

        min-width: 0;

        padding-right: 2px !important;
    }

    .whs-cart-card
    .wp_cart_item_info {
        align-items: center;

        gap: 12px;
    }

    .whs-cart-card
    .wp_cart_item_thumbnail {
        flex:
            0
            0
            72px;

        width: 72px;
    }

    .whs-cart-card
    .wp_cart_thumb_image {
        width: 72px !important;
        height: 58px !important;

        border-radius: 7px;
    }

    .whs-cart-card
    .wp_cart_item_name {
        overflow-wrap: anywhere;

        font-size: 14px;
        font-weight: 700;
    }


    /*
    |--------------------------------------------------------------------------
    | Remove
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wspsc_remove_item_td {
        grid-area: remove;

        align-items: flex-start;
        justify-content: flex-end;

        align-self: start;

        min-width: 24px;
    }

    .whs-cart-card
    .wp_cart_remove_item_form
    input[type="image"] {
        width: 20px !important;
        height: 20px !important;
    }


    /*
    |--------------------------------------------------------------------------
    | Quantity
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wspsc_cart_qty_td {
        grid-area: quantity;

        display: flex;

        flex-direction: column;

        align-items: flex-start;

        gap: 7px;

        text-align: left !important;
    }

    .whs-cart-card
    .wspsc_cart_qty_td::before {
        content: "Quantity";

        color: var(--whs-muted);

        font-size: 11px;
        font-weight: 700;

        letter-spacing: .045em;

        text-transform: uppercase;
    }

    .whs-cart-card
    .wspsc_cart_item_qty {
        width: 64px !important;

        height: 39px;
    }


    /*
    |--------------------------------------------------------------------------
    | Price
    |
    | Price TD không có class riêng trong plugin.
    | nth-last-child(2) hoạt động cả khi qty bật hoặc tắt.
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wspsc_cart_item_thumb
    > td:nth-last-child(2) {
        grid-area: price;

        display: flex;

        flex-direction: column;

        align-items: flex-end;
        justify-content: flex-end;

        gap: 8px;

        align-self: end;

        font-size: 16px;

        text-align: right !important;
    }

    .whs-cart-card
    .wspsc_cart_item_thumb
    > td:nth-last-child(2)::before {
        content: "Price";

        color: var(--whs-muted);

        font-size: 11px;
        font-weight: 700;

        letter-spacing: .045em;

        text-transform: uppercase;
    }


    /* ======================================================
       TOTALS
       ====================================================== */

    .whs-cart-card
    .wpsc_cart_subtotal,
    .whs-cart-card
    .wpsc_cart_shipping,
    .whs-cart-card
    .wpsc_cart_tax,
    .whs-cart-card
    .wpsc_cart_total {
        display: grid !important;

        grid-template-columns:
            minmax(0, 1fr)
            auto
            auto;

        align-items: center;

        gap: 10px;

        width: 100%;

        padding:
            0
            16px;

        background: #fff;
    }

    .whs-cart-card
    .wpsc_cart_subtotal {
        padding-top: 16px;

        border-radius:
            12px
            12px
            0
            0;
    }

    .whs-cart-card
    .wpsc_cart_subtotal
    > td,
    .whs-cart-card
    .wpsc_cart_shipping
    > td,
    .whs-cart-card
    .wpsc_cart_tax
    > td {
        display: block;

        width: auto !important;

        padding:
            7px
            0 !important;

        background: transparent;

        border: 0 !important;

        font-size: 14px;
    }

    .whs-cart-card
    .wpsc_cart_subtotal
    > td:first-child,
    .whs-cart-card
    .wpsc_cart_shipping
    > td:first-child,
    .whs-cart-card
    .wpsc_cart_tax
    > td:first-child {
        color: var(--whs-muted);

        text-align: left !important;
    }

    .whs-cart-card
    .wpsc_cart_subtotal
    > td:nth-child(2),
    .whs-cart-card
    .wpsc_cart_shipping
    > td:nth-child(2),
    .whs-cart-card
    .wpsc_cart_tax
    > td:nth-child(2) {
        color: var(--whs-text);

        text-align: right !important;
    }

    .whs-cart-card
    .wpsc_cart_subtotal
    > td:empty,
    .whs-cart-card
    .wpsc_cart_shipping
    > td:empty,
    .whs-cart-card
    .wpsc_cart_tax
    > td:empty {
        display: none;
    }


    /*
    |--------------------------------------------------------------------------
    | Grand Total
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wpsc_cart_total {
        margin-bottom: 12px;

        padding:
            16px;

        background:
            var(--whs-blue-light);

        border:
            1px solid
            #d6eaf4;

        border-radius:
            0
            0
            12px
            12px;
    }

    .whs-cart-card
    .wpsc_cart_total
    > td {
        display: block;

        width: auto !important;

        padding: 0 !important;

        background: transparent;

        border: 0 !important;

        font-size: 17px;
    }

    .whs-cart-card
    .wpsc_cart_total
    > td:first-child {
        text-align: left !important;
    }

    .whs-cart-card
    .wpsc_cart_total
    > td:nth-child(2) {
        text-align: right !important;
    }

    .whs-cart-card
    .wpsc_empty_cart_td {
        display: flex !important;

        align-items: center;
        justify-content: flex-end;
    }


    /* ======================================================
       TFOOT
       ====================================================== */

    .whs-cart-card
    .shopping_cart
    tfoot {
        width: 100%;
    }

    .whs-cart-card
    .shopping_cart
    tfoot
    > tr {
        display: block;

        width: 100%;
    }


    /* ======================================================
       COUPON MOBILE
       ====================================================== */

    .whs-cart-card
    .wpsc_cart_coupon_row
    > td {
        display: block;

        width: 100% !important;

        padding:
            16px !important;

        background: #fff;

        border:
            1px solid
            var(--whs-border) !important;

        border-radius: 12px;
    }

    .whs-cart-card
    .wpsc_coupon_section {
        display: block;
    }

    .whs-cart-card
    .wpsc_coupon_label {
        display: block;

        margin-bottom: 9px;
    }

    .whs-cart-card
    .wpsc_coupon_section
    form {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr)
            auto;

        gap: 8px;

        width: 100%;
    }

    .whs-cart-card
    .wpsc_coupon_section
    input[type="text"] {
        width: 100%;

        min-width: 0;
    }


    /* ======================================================
       CHECKOUT MOBILE
       ====================================================== */

    .whs-cart-card
    .wpsc_checkout_form {
        display: block !important;

        width: 100%;

        margin-top: 12px;
    }

    .whs-cart-card
    .wpsc_checkout_form
    > td {
        display: block;

        width: 100% !important;

        padding:
            18px !important;

        background: #fff;

        border:
            1px solid
            var(--whs-border) !important;

        border-radius: 12px;
    }

    .whs-cart-card
    .wpsc_checkout_form_standard {
        width: 100%;

        text-align: center;
    }

    .whs-cart-card
    .wp_cart_checkout_button {
        display: block;

        max-width: 100% !important;

        margin:
            14px
            auto
            0 !important;
    }


    /*
    |--------------------------------------------------------------------------
    | PayPal / PPCP
    |--------------------------------------------------------------------------
    */

    .whs-cart-card
    .wpsc_checkout_form
    iframe {
        width: 100% !important;
        max-width: 100% !important;
    }


    /* ======================================================
       REGION SELECT MOBILE
       ====================================================== */

    .whs-cart-card
    .wpsc-shipping-region-input,
    .whs-cart-card
    .wpsc-tax-region-input {
        width: 100% !important;
        max-width: none;

        margin-bottom: 8px;
    }

    .whs-cart-card
    .wpsc_shipping_region_submit,
    .whs-cart-card
    .wpsc_tax_region_submit {
        min-height: 40px;

        padding:
            8px
            17px;

        background:
            var(--whs-blue);

        border:
            1px solid
            var(--whs-blue);

        border-radius: 7px;

        color: #fff;

        cursor: pointer;
    }


    /* ======================================================
       ACTION MESSAGE
       ====================================================== */

    .whs-cart-card
    tr.wpsc_cart_action_msg
    > td {
        display: block;

        width: 100% !important;

        padding:
            0
            0
            12px !important;
    }


    /* ======================================================
       FOOTER
       ====================================================== */

    .whs-cart-footer {
        display: flex;

        align-items: center;
        justify-content: space-between;

        gap: 12px;

        padding:
            17px
            3px
            0;
    }

    .whs-cart-footer
    .whs-continue-shopping {
        font-size: 13px;
    }

}


/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 430px) {

    .whs-cart-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .whs-cart-card
    .wspsc_cart_item_thumb {
        padding: 14px;

        column-gap: 10px;
    }

    .whs-cart-card
    .wp_cart_item_thumbnail {
        flex-basis: 62px;

        width: 62px;
    }

    .whs-cart-card
    .wp_cart_thumb_image {
        width: 62px !important;
        height: 52px !important;
    }

    .whs-cart-card
    .wp_cart_item_name {
        font-size: 13.5px;
    }

    .whs-cart-card
    .wpsc_coupon_section
    form {
        grid-template-columns: 1fr;
    }

    .whs-cart-card
    .wpsc_apply_coupon {
        width: 100%;
    }

    .whs-cart-footer
    .whs-continue-shopping {
        margin-top: 12px;
    }

}


/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 350px) {

    .whs-cart-card
    .wspsc_cart_item_thumb {
        grid-template-columns:
            minmax(0, 1fr)
            auto;

        grid-template-areas:
            "product remove"
            "quantity quantity"
            "price price";
    }

    .whs-cart-card
    .wspsc_cart_item_thumb
    > td:nth-last-child(2) {
        align-items: flex-start;

        text-align: left !important;
    }

}