@charset "UTF-8";

/* =========================================================
   CART NOTIFICATIONS
========================================================= */

.productAdded,
.productUpdated {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1090;
    display: none;
    width: min(390px, calc(100% - 40px));
    padding: 16px 18px;
    color: #ffffff;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(24, 34, 59, .22);
    font-size: 14px;
    font-weight: 600;
}

.productAdded .btn,
.productUpdated .btn {
    margin-top: 10px;
    padding: 7px 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

/* =========================================================
   CART TOTALS
========================================================= */

.price-area {
    color: #18223b;
    font-size: 17px;
    font-weight: 750;
}

.simpleCart_grandTotal,
.simpleCart_tax,
.simpleCart_total {
    display: block;
    width: 100%;
    margin: 6px 0;
    color: #18223b;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
}

.simpleCart_grandTotal {
    padding-top: 13px;
    color: #18223b;
    border-top: 1px solid #e4e8ee;
    font-size: 20px;
}

.simpleCart_total::before {
    margin-right: 7px;
    color: #7c8493;
    content: "Sub total:";
    font-size: 12px;
    font-weight: 600;
}

.simpleCart_tax::before {
    margin-right: 7px;
    color: #7c8493;
    content: "VAT total:";
    font-size: 12px;
    font-weight: 600;
}

.simpleCart_grandTotal::before {
    margin-right: 7px;
    color: #7c8493;
    content: "Total:";
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* =========================================================
   DESKTOP CART TABLE
========================================================= */

.headerRow {
    display: grid;
    grid-template-columns:
        74px
        minmax(190px, 1.8fr)
        70px
        minmax(102px, 1fr)
        42px
        48px
        42px
        minmax(85px, .8fr)
        minmax(75px, .7fr)
        minmax(95px, .9fr)
        42px;
    align-items: center;
    gap: 8px;
    min-height: 49px;
    padding: 0 13px;
    color: #667186;
    background: #f7f8fa;
    border: 1px solid #e3e7ed;
    border-radius: 12px 12px 0 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .65px;
    text-transform: uppercase;
}

.itemRow {
    display: grid;
    grid-template-columns:
        74px
        minmax(190px, 1.8fr)
        70px
        minmax(102px, 1fr)
        42px
        48px
        42px
        minmax(85px, .8fr)
        minmax(75px, .7fr)
        minmax(95px, .9fr)
        42px;
    align-items: center;
    gap: 8px;
    min-height: 94px;
    padding: 8px 13px;
    color: #3e4a61;
    background: #ffffff;
    border-right: 1px solid #e5e9ef;
    border-bottom: 1px solid #e5e9ef;
    border-left: 1px solid #e5e9ef;
    font-size: 13px;
    transition: background-color .2s ease;
}

.itemRow:last-of-type {
    border-radius: 0 0 12px 12px;
}

.itemRow:hover {
    background: #fbfcfd;
}

/* Grid positions */

.headerRow .item-thumb,
.itemRow .item-thumb {
    grid-column: 1;
}

.headerRow .item-name,
.itemRow .item-name {
    grid-column: 2;
}

.headerRow .item-unit,
.itemRow .item-unit {
    grid-column: 3;
}

.headerRow .item-price,
.itemRow .item-price {
    grid-column: 4;
}

.headerRow .item-decrement,
.itemRow .item-decrement {
    grid-column: 5;
}

.headerRow .item-quantity,
.itemRow .item-quantity {
    grid-column: 6;
}

.headerRow .item-increment,
.itemRow .item-increment {
    grid-column: 7;
}

.headerRow .item-tax,
.itemRow .item-tax {
    grid-column: 8;
}

.headerRow .item-netTotal,
.itemRow .item-netTotal {
    grid-column: 9;
}

.headerRow .item-total,
.itemRow .item-total {
    grid-column: 10;
}

.headerRow .item-remove,
.itemRow .item-remove {
    grid-column: 11;
}

/* Header labels align with the values below */

.headerRow .item-decrement,
.headerRow .item-quantity,
.headerRow .item-increment,
.headerRow .item-price,
.headerRow .item-tax,
.headerRow .item-netTotal,
.headerRow .item-total,
.headerRow .item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Item image */

.itemRow .item-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
}

.itemRow .item-thumb img {
    display: block;
    width: 62px;
    height: 62px;
    padding: 5px;
    object-fit: contain;
    background: #ffffff;
    border: 1px solid #edf0f3;
    border-radius: 9px;
}

/* Product name and unit */

.itemRow .item-name {
    color: #18223b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.itemRow .item-unit {
    color: #7b8493;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.itemRow .item-price,
.itemRow .item-tax,
.itemRow .item-netTotal,
.itemRow .item-total {
    font-size: 12px;
    font-weight: 650;
    text-align: center;
}

.itemRow .item-tax,
.itemRow .item-netTotal {
    color: #687388;
}

.itemRow .item-total {
    color: #a35d48;
    font-size: 13px;
    font-weight: 800;
}

/* Quantity controls */

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

.itemRow .item-decrement a,
.itemRow .item-increment a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    color: #18223b;
    background: #f4f6f8;
    border: 1px solid #e1e6ed;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.itemRow .item-decrement a:hover,
.itemRow .item-increment a:hover {
    color: #ffffff;
    background: #18223b;
    border-color: #18223b;
}

.itemRow .item-quantity {
    min-width: 32px;
    color: #18223b;
    font-size: 13px;
    font-weight: 800;
    text-align: center;
}

/* Remove */

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

.itemRow .item-remove a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 31px;
    height: 31px;
    color: #b44545;
    background: #fff5f5;
    border: 1px solid #f2d9d9;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    transition: color .2s ease, background-color .2s ease;
}

.itemRow .item-remove a:hover {
    color: #ffffff;
    background: #b44545;
    border-color: #b44545;
}

.bars-icon {
    display: none;
}

/* =========================================================
   TABLET AND PHONE CART
========================================================= */

@media (max-width: 991.98px) {
    .headerRow {
        display: none;
    }

    .itemRow {
        position: relative;
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr) 40px;
        grid-template-rows: auto auto auto auto auto;
        align-items: start;
        gap: 8px 10px;
        min-height: 176px;
        margin-bottom: 12px;
        padding: 12px;
        overflow: hidden;
        border: 1px solid #e2e7ed;
        border-radius: 13px;
        box-shadow: 0 4px 13px rgba(24, 34, 59, .04);
    }

    .itemRow:last-of-type {
        border-radius: 13px;
    }

    .itemRow .item-thumb {
        grid-row: 1 / span 5;
        grid-column: 1;
        width: 100%;
        height: 100%;
    }

    .itemRow .item-thumb img {
        width: 76px;
        height: 98px;
        padding: 4px;
        border: 0;
        border-radius: 8px;
    }

    .itemRow .item-name {
        grid-row: 1;
        grid-column: 2;
        padding-right: 3px;
        color: #18223b;
        font-size: 13px;
        line-height: 1.3;
    }

    .itemRow .item-unit {
        grid-row: 2;
        grid-column: 2;
        color: #8a93a1;
        font-size: 10px;
    }

    .itemRow .item-price {
        grid-row: 3;
        grid-column: 2;
        color: #3e4a61;
        text-align: left;
    }

    .itemRow .item-price::before {
        margin-right: 5px;
        color: #87909e;
        content: "Price:";
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .itemRow .item-tax {
        grid-row: 4;
        grid-column: 2;
        text-align: left;
    }

    .itemRow .item-tax::before {
        margin-right: 5px;
        color: #87909e;
        content: "VAT:";
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .itemRow .item-netTotal {
        grid-row: 5;
        grid-column: 2;
        text-align: left;
    }

    .itemRow .item-netTotal::before {
        margin-right: 5px;
        color: #87909e;
        content: "Net:";
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .itemRow .item-total {
        position: absolute;
        right: 57px;
        bottom: 14px;
        grid-column: auto;
        color: #a35d48;
        font-size: 13px;
        text-align: right;
    }

    .itemRow .item-total::before {
        display: block;
        margin-bottom: 2px;
        color: #87909e;
        content: "Total";
        font-size: 10px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .itemRow .item-increment {
        grid-row: 1;
        grid-column: 3;
    }

    .itemRow .item-quantity {
        grid-row: 2 / span 2;
        grid-column: 3;
        align-self: center;
        height: 37px;
        color: #18223b;
        background: #f7f8fa;
        border: 1px solid #e3e7ed;
        border-radius: 8px;
    }

    .itemRow .item-decrement {
        grid-row: 4;
        grid-column: 3;
    }

    .itemRow .item-remove {
        position: absolute;
        right: 13px;
        bottom: 13px;
        grid-column: auto;
    }

    .itemRow .item-remove a {
        width: 33px;
        height: 33px;
    }

    .bars-icon {
        display: block;
    }

    .cartbtn,
    .phone {
        text-align: right;
    }

    .phone {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .modal-footer {
        display: block;
        padding: 14px;
        text-align: center;
    }
}

/* Small phone */

@media (max-width: 420px) {
    .productAdded,
    .productUpdated {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
    }

    .itemRow {
        grid-template-columns: 74px minmax(0, 1fr) 37px;
        min-height: 169px;
        gap: 7px;
        padding: 10px;
    }

    .itemRow .item-thumb img {
        width: 67px;
        height: 93px;
    }

    .itemRow .item-name {
        font-size: 12px;
    }

    .itemRow .item-price,
    .itemRow .item-tax,
    .itemRow .item-netTotal,
    .itemRow .item-total {
        font-size: 11px;
    }

    .itemRow .item-decrement a,
    .itemRow .item-increment a {
        width: 27px;
        height: 27px;
    }

    .itemRow .item-total {
        right: 52px;
        bottom: 12px;
    }

    .itemRow .item-remove {
        right: 12px;
        bottom: 5px;
    }

    .itemRow .item-remove a {
        width: 31px;
        height: 31px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .itemRow,
    .itemRow .item-decrement a,
    .itemRow .item-increment a,
    .itemRow .item-remove a {
        transition: none;
    }
}

@media (max-width: 991.98px) {
    .itemRow .item-decrement {
        transform: none !important;
    }
}

@media (min-width: 992px) {
    .headerRow > *,
    .itemRow > * {
        grid-row: 1;
    }
}

#emptyCartModal .modern-modal__confirmation-actions {
    display: flex;
    width: 100%;
}

#emptyCartModal .modern-modal__confirmation-actions
[data-bs-dismiss="modal"] {
    width: 100%;
}

#emptyCartModal .modern-modal__confirmation-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

#emptyCartModal .modern-modal__confirmation-actions .modern-button {
    width: 100%;
}