/* =========================================================
   CART PAGE
   ========================================================= */

.cart-page {
    padding: 10px 0 70px;

    background: #faf9f7;
}


/* =========================================================
   PAGE HEADER
   ========================================================= */

.cart-page__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;

    margin-bottom: 20px;
    padding: 22px 25px;

    border: 1px solid #ebe7e2;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(45, 49, 53, 0.05);
}

.cart-page__eyebrow {
    display: block;

    margin-bottom: 4px;

    color: var(--orange);

    font-size: 10px;
    font-weight: 750;
    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.cart-page__header h2 {
    margin: 0;

    color: #2d3135;

    font-size: 23px;
    font-weight: 750;
}

.cart-page__header p {
    max-width: 620px;

    margin: 6px 0 0;

    color: #777d83;

    font-size: 12px;
    line-height: 1.6;
}

.cart-page__count {
    display: flex;
    align-items: center;

    gap: 11px;

    min-width: 115px;

    padding: 11px 14px;

    border-radius: 12px;

    background: #fff3e8;

    color: #df6e0d;
}

.cart-page__count > i {
    font-size: 20px;
}

.cart-page__count div {
    display: flex;
    flex-direction: column;
}

.cart-page__count strong {
    font-size: 18px;
    line-height: 1;
}

.cart-page__count span {
    margin-top: 3px;

    font-size: 9px;
    font-weight: 650;

    text-transform: uppercase;
}


/* =========================================================
   LAYOUT
   ========================================================= */

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        310px;

    align-items: start;

    gap: 18px;
}


/* =========================================================
   PRODUCTS
   ========================================================= */

.cart-products {
    min-width: 0;

    overflow: hidden;

    border: 1px solid #ebe7e2;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(45, 49, 53, 0.05);
}

.cart-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 16px 18px;

    border-bottom: 1px solid #ebe7e2;

    background: #fffdfb;
}

.cart-products__header span {
    display: block;

    margin-bottom: 2px;

    color: #f58220;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.cart-products__header h3 {
    margin: 0;

    color: #2d3135;

    font-size: 16px;
    font-weight: 750;
}

.cart-products__continue {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 8px 11px;

    border: 1px solid #e9e3dc;
    border-radius: 8px;

    color: #666d72;
    background: #ffffff;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        background 0.2s ease;
}

.cart-products__continue:hover {
    border-color: #f58220;

    color: #df6e0d;
    background: #fff8f2;
}


/* =========================================================
   SIMPLE CART
   ========================================================= */

.cart-items-wrapper {
    padding: 15px;

    overflow-x: auto;
}

.simpleCart_items {
    min-width: 760px;
}


/* HEADER */

.headerRow {
    display: grid;

    grid-template-columns:
        minmax(190px, 1fr)
        38px
        48px
        38px
        85px
        75px
        90px
        90px
        38px;

    align-items: center;

    gap: 7px;

    min-height: 42px;

    padding: 0 10px;

    border: 1px solid #ebe7e2;
    border-radius: 9px 9px 0 0;

    color: #858a8f;
    background: #faf9f7;

    font-size: 9px;
    font-weight: 750;

    text-transform: uppercase;
}


/* ITEM */

.itemRow {
    display: grid;

    grid-template-columns:
        minmax(190px, 1fr)
        38px
        48px
        38px
        85px
        75px
        90px
        90px
        38px;

    align-items: center;

    gap: 7px;

    min-height: 72px;

    padding: 9px 10px;

    border-right: 1px solid #ebe7e2;
    border-bottom: 1px solid #ebe7e2;
    border-left: 1px solid #ebe7e2;

    color: #555d63;

    font-size: 11px;
}

.itemRow:last-child {
    border-radius: 0 0 9px 9px;
}

.item-name {
    color: #2d3135;

    font-weight: 700;
    line-height: 1.35;
}

.item-price,
.item-tax,
.item-oneTax,
.item-netTotal,
.item-total {
    font-weight: 650;

    white-space: nowrap;
}

.item-total {
    color: #2d3135;

    font-weight: 800;
}

.item-quantity {
    text-align: center;

    font-weight: 750;
}


/* CART CONTROLS */

.item-decrement a,
.item-increment a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border: 1px solid #e5ded7;
    border-radius: 7px;

    color: #555d63;
    background: #ffffff;

    text-decoration: none;
}

.item-decrement a:hover,
.item-increment a:hover {
    border-color: #f58220;

    color: #f58220;
    background: #fff8f2;
}

.item-remove a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    border-radius: 7px;

    color: #c64b45;
    background: #fff1ef;

    text-decoration: none;
}

.item-remove a:hover {
    color: #ffffff;
    background: #c64b45;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.cart-empty {
    display: none;
    flex-direction: column;

    align-items: center;

    padding: 55px 20px;

    text-align: center;
}

.cart-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 15px;

    border-radius: 50%;

    color: #f58220;
    background: #fff3e8;

    font-size: 23px;
}

.cart-empty h3 {
    margin: 0 0 5px;

    color: #2d3135;

    font-size: 17px;
    font-weight: 750;
}

.cart-empty p {
    margin: 0 0 17px;

    color: #777d83;

    font-size: 11px;
}

.cart-empty__button {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    padding: 9px 14px;

    border-radius: 8px;

    color: #ffffff;
    background: #f58220;

    font-size: 10px;
    font-weight: 700;

    text-decoration: none;
}

.cart-empty__button:hover {
    color: #ffffff;

    background: #df6e0d;
}


/* =========================================================
   SUMMARY
   ========================================================= */

.cart-summary {
    position: sticky;

    top: 20px;

    padding: 19px;

    border: 1px solid #ebe7e2;
    border-radius: 16px;

    background: #ffffff;

    box-shadow:
        0 8px 28px rgba(45, 49, 53, 0.06);
}

.cart-summary__header {
    padding-bottom: 14px;

    border-bottom: 1px solid #ebe7e2;
}

.cart-summary__header span {
    display: block;

    margin-bottom: 2px;

    color: #f58220;

    font-size: 9px;
    font-weight: 750;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.cart-summary__header h3 {
    margin: 0;

    color: #2d3135;

    font-size: 17px;
    font-weight: 750;
}

.cart-summary__rows {
    padding: 13px 0;
}

.cart-summary__row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 15px;

    padding: 6px 0;

    color: #747a80;

    font-size: 11px;
}

.cart-summary__row strong {
    color: #34393e;

    font-weight: 700;
}

.cart-summary .simpleCart_total::before,
.cart-summary .simpleCart_tax::before,
.cart-summary .simpleCart_grandTotal::before {
    display: none !important;
    content: none !important;
}

.cart-summary__total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 15px;

    padding: 14px 0;

    border-top: 1px solid #ebe7e2;
}

.cart-summary__total span {
    color: #555d63;

    font-size: 12px;
    font-weight: 700;
}

.cart-summary__total strong {
    color: #2d3135;

    font-size: 23px;
    font-weight: 800;
}


/* =========================================================
   CHECKOUT
   ========================================================= */

.cart-summary__actions {
    display: grid;
    gap: 8px;
    margin-top: 5px;
}

.cart-summary__login,
.cart-summary__checkout {
    width: 100%;
    min-height: 50px;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 9px 13px;

    border-radius: 10px;

    text-decoration: none;

    transition:
        border-color 0.2s ease,
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.cart-summary__login {
    justify-content: flex-start;

    border: 1px solid #e5ded7;

    color: #555d63;
    background: #ffffff;
}

.cart-summary__login:hover {
    border-color: #f58220;

    color: #df6e0d;
    background: #fff8f2;
}

.cart-summary__login > i {
    width: 25px;

    color: #f58220;

    font-size: 13px;
    text-align: center;
}

.cart-summary__checkout {
    justify-content: space-between;

    border: 0;

    color: #ffffff;
    background: #f58220;

    text-align: left;
}

.cart-summary__checkout:hover {
    color: #ffffff;
    background: #df6e0d;

    transform: translateY(-1px);
}

.cart-summary__login span,
.cart-summary__checkout span {
    display: flex;
    flex-direction: column;

    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
}

.cart-summary__login small,
.cart-summary__checkout small {
    display: block;

    margin-bottom: 2px;

    opacity: 0.72;

    font-size: 8px;
    font-weight: 650;
    line-height: 1.2;

    text-transform: uppercase;
}

.cart-summary__checkout > i {
    flex: 0 0 auto;

    margin-left: 12px;

    font-size: 12px;
}

.cart-summary__checkout.is-disabled,
.cart-summary__checkout.is-disabled:hover {
    opacity: 0.48;

    color: #ffffff;
    background: #c9c4bf;

    transform: none;

    cursor: not-allowed;
    pointer-events: auto;
}


/* EMPTY BASKET */

.cart-summary__empty {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 6px;

    margin-top: 9px;
    padding: 8px;

    border: 1px solid #eadbd8;
    border-radius: 8px;

    color: #ad5550;
    background: #fff8f7;

    font-size: 9px;
    font-weight: 700;
}

.cart-summary__empty:hover {
    border-color: #cf6a64;

    color: #ffffff;
    background: #cf6a64;
}


/* SECURITY */

.cart-summary__secure {
    display: flex;

    gap: 9px;

    margin-top: 14px;
    padding-top: 14px;

    border-top: 1px solid #ebe7e2;
}

.cart-summary__secure > i {
    margin-top: 2px;

    color: #6b9b7d;

    font-size: 13px;
}

.cart-summary__secure div {
    display: flex;
    flex-direction: column;
}

.cart-summary__secure strong {
    color: #555d63;

    font-size: 9px;
}

.cart-summary__secure span {
    margin-top: 2px;

    color: #999da1;

    font-size: 8px;
    line-height: 1.45;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 575.98px) {

    .cart-page {
        padding-bottom: 35px;
    }

    .cart-page__header {
        align-items: flex-start;
        flex-direction: column;

        padding: 17px;
    }

    .cart-page__count {
        width: 100%;
    }

    .cart-products__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cart-products__continue {
        width: 100%;

        justify-content: center;
    }

    .cart-items-wrapper {
        padding: 10px;

        overflow-x: visible;
    }

    .simpleCart_items {
        min-width: 0;
    }


    /* Hide desktop header */

    .headerRow {
        display: none;
    }


    /* Mobile item card */

    .itemRow {
        position: relative;

        display: grid;

        grid-template-columns:
            36px
            36px
            minmax(0, 1fr)
            36px;

        grid-template-areas:
            "name name name remove"
            "price price price price"
            "minus qty plus plus"
            "net net total total";

        gap: 7px;

        min-height: auto;

        margin-bottom: 10px;
        padding: 12px;

        border: 1px solid #ebe7e2 !important;
        border-radius: 10px !important;

        background: #ffffff;
    }

    .item-name {
        grid-area: name;

        padding-right: 5px;

        font-size: 11px;
    }

    .item-price {
        grid-area: price;

        padding: 5px 0;

        border-top: 1px solid #f1ede9;
        border-bottom: 1px solid #f1ede9;
    }

    .item-price::before {
        content: "Price: ";

        color: #969a9e;

        font-size: 9px;
    }

    .item-tax,
    .item-oneTax {
        display: none;
    }

    .item-decrement {
        grid-area: minus;
    }

    .item-quantity {
        grid-area: qty;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .item-increment {
        grid-area: plus;
    }

    .item-netTotal {
        grid-area: net;
    }

    .item-total {
        grid-area: total;

        text-align: right;
    }

    .item-netTotal::before {
        content: "Net: ";

        color: #969a9e;

        font-size: 9px;
    }

    .item-total::before {
        content: "Total: ";

        color: #969a9e;

        font-size: 9px;
    }

    .item-remove {
        grid-area: remove;

        justify-self: end;
    }

    .cart-summary {
        padding: 16px;
    }

}




.warmhaus-swal {
    border-radius: 16px !important;
}

.swal2-title {
    color: #2d3135 !important;
    font-size: 20px !important;
    font-weight: 750 !important;
}

.swal2-html-container {
    color: #6f757b !important;
    font-size: 12px !important;
}

.swal2-confirm,
.swal2-cancel {
    min-height: 38px;

    padding: 8px 15px !important;

    border-radius: 8px !important;

    font-size: 10px !important;
    font-weight: 700 !important;
}