.nb-cart-page {
    padding: 32px 0 72px;
}

.nb-cart-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 24px;
}

.nb-cart-eyebrow {
    display: block;
    margin-bottom: 7px;
    color: #2f6feb;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.6px;
}

.nb-cart-heading h1 {
    margin: 0;
    color: #172033;
    font-size: 32px;
    letter-spacing: -.7px;
}

.nb-cart-heading p {
    margin: 8px 0 0;
    color: #7b8798;
    font-size: 14px;
}

.nb-cart-continue {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 42px;
    padding: 0 16px;
    color: #526176;
    border: 1px solid #dfe6ef;
    border-radius: 22px;
    background: #fff;
    font-weight: 650;
}

.nb-cart-continue:hover {
    color: #2f6feb;
    border-color: #9ebcf0;
}

.nb-cart-continue svg,
.nb-cart-clear svg,
.nb-cart-remove svg,
.nb-cart-checkout svg,
.nb-cart-summary-title svg,
.nb-cart-empty-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nb-cart-continue svg {
    width: 18px;
    height: 18px;
}

.nb-cart-alert {
    margin-bottom: 18px;
    padding: 12px 16px;
    color: #087443;
    border: 1px solid #bce7d1;
    border-radius: 12px;
    background: #f0fbf6;
}

.nb-cart-alert.is-error {
    color: #b42318;
    border-color: #fecdca;
    background: #fff4f2;
}

.nb-cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 20px;
    align-items: start;
}

.nb-cart-card {
    border: 1px solid #e4eaf2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(44, 73, 116, .07);
}

.nb-cart-products {
    overflow: hidden;
}

.nb-cart-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 78px;
    padding: 16px 20px;
    border-bottom: 1px solid #edf1f6;
}

.nb-cart-card-head h2 {
    margin: 0;
    color: #1c2739;
    font-size: 18px;
}

.nb-cart-card-head span {
    display: block;
    margin-top: 4px;
    color: #8995a5;
    font-size: 12px;
}

.nb-cart-card-head form,
.nb-cart-controls form {
    margin: 0;
}

.nb-cart-clear,
.nb-cart-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    color: #8a96a7;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.nb-cart-clear:hover,
.nb-cart-remove:hover {
    color: #e2233b;
}

.nb-cart-clear svg,
.nb-cart-remove svg {
    width: 17px;
    height: 17px;
}

.nb-cart-list {
    padding: 0 20px;
}

.nb-cart-item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    gap: 17px;
    padding: 20px 0;
    border-bottom: 1px solid #edf1f6;
}

.nb-cart-item:last-child {
    border-bottom: 0;
}

.nb-cart-thumb {
    width: 104px;
    height: 104px;
    overflow: hidden;
    border: 1px solid #e8edf3;
    border-radius: 15px;
    background: #f4f7fa;
}

.nb-cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nb-cart-item-main {
    min-width: 0;
}

.nb-cart-item-top,
.nb-cart-item-bottom,
.nb-cart-controls,
.nb-cart-price {
    display: flex;
    align-items: center;
}

.nb-cart-item-top,
.nb-cart-item-bottom {
    justify-content: space-between;
    gap: 18px;
}

.nb-cart-name {
    display: block;
    max-width: 500px;
    overflow: hidden;
    color: #182235;
    font-size: 16px;
    font-weight: 750;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nb-cart-name:hover {
    color: #2f6feb;
}

.nb-cart-sku {
    display: inline-flex;
    margin-top: 7px;
    padding: 4px 8px;
    color: #53667f;
    border-radius: 7px;
    background: #f2f5f9;
    font-size: 11px;
}

.nb-cart-subtotal {
    flex: none;
    color: #ef1730;
    font-size: 18px;
}

.nb-cart-stock {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 10px 0 13px;
    color: #8692a3;
    font-size: 11px;
}

.nb-cart-stock span {
    color: #16945b;
    font-weight: 700;
}

.nb-cart-stock i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #bdc6d2;
}

.nb-cart-price {
    gap: 7px;
}

.nb-cart-price small {
    color: #929dad;
}

.nb-cart-price strong {
    color: #344054;
    font-size: 14px;
}

.nb-cart-price span {
    padding: 4px 7px;
    color: #2f6feb;
    border-radius: 6px;
    background: #edf4ff;
    font-size: 10px;
    font-weight: 700;
}

.nb-cart-controls {
    gap: 13px;
}

.nb-cart-qty {
    display: grid;
    grid-template-columns: 34px 43px 34px;
    height: 36px;
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 9px;
    background: #fff;
}

.nb-cart-qty button,
.nb-cart-qty input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    text-align: center;
}

.nb-cart-qty button {
    color: #536176;
    background: #f7f9fc;
    cursor: pointer;
    font-size: 18px;
}

.nb-cart-qty button:hover {
    color: #2f6feb;
    background: #eef4ff;
}

.nb-cart-qty input {
    color: #202c40;
    border-right: 1px solid #edf1f5;
    border-left: 1px solid #edf1f5;
    font-weight: 750;
}

.nb-cart-side {
    position: sticky;
    top: 96px;
}

.nb-cart-summary {
    padding: 22px;
}

.nb-cart-summary-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
    color: #1b273a;
    font-size: 18px;
    font-weight: 800;
}

.nb-cart-summary-title svg {
    width: 22px;
    height: 22px;
    color: #2f6feb;
}

.nb-cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 0;
    color: #7d899a;
    font-size: 13px;
}

.nb-cart-summary-row strong {
    color: #3b485b;
}

.nb-cart-summary-row.is-discount strong {
    color: #16945b;
}

.nb-cart-summary-total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 17px;
    border-top: 1px dashed #dce3ec;
    color: #253247;
    font-weight: 750;
}

.nb-cart-summary-total strong {
    color: #ef1730;
    font-size: 27px;
    line-height: 1;
}

.nb-cart-checkout,
.nb-cart-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    color: #fff;
    border-radius: 13px;
    background: linear-gradient(135deg, #3477ee, #2868dd);
    box-shadow: 0 11px 24px rgba(47, 111, 235, .24);
    font-size: 15px;
    font-weight: 750;
}

.nb-cart-checkout {
    gap: 5px;
    margin-top: 22px;
}

.nb-cart-checkout:hover,
.nb-cart-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.nb-cart-checkout svg {
    width: 18px;
    height: 18px;
}

.nb-cart-summary-tip {
    margin: 11px 0 0;
    color: #98a2b1;
    text-align: center;
    font-size: 11px;
}

.nb-cart-assurance {
    display: grid;
    gap: 9px;
    margin-top: 13px;
    padding: 16px 18px;
    border: 1px solid #e4eaf2;
    border-radius: 18px;
    background: rgba(255, 255, 255, .7);
}

.nb-cart-assurance > div {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nb-cart-assurance > div > span {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    color: #2f6feb;
    border-radius: 50%;
    background: #edf4ff;
    font-weight: 800;
}

.nb-cart-assurance p,
.nb-cart-assurance strong,
.nb-cart-assurance small {
    display: block;
    margin: 0;
}

.nb-cart-assurance strong {
    color: #344054;
    font-size: 12px;
}

.nb-cart-assurance small {
    margin-top: 2px;
    color: #8e99a8;
    font-size: 10px;
}

.nb-cart-empty {
    min-height: 430px;
    padding: 70px 24px;
    border: 1px solid #e4eaf2;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(44, 73, 116, .07);
    text-align: center;
}

.nb-cart-empty-icon {
    display: grid;
    place-items: center;
    width: 78px;
    height: 78px;
    margin: 0 auto 20px;
    color: #2f6feb;
    border-radius: 50%;
    background: #edf4ff;
}

.nb-cart-empty-icon svg {
    width: 37px;
    height: 37px;
}

.nb-cart-empty h2 {
    margin: 0;
    color: #1b273a;
    font-size: 23px;
}

.nb-cart-empty p {
    max-width: 480px;
    margin: 10px auto 24px;
    color: #8591a2;
    line-height: 1.7;
}

.nb-cart-primary {
    width: 190px;
    margin: 0 auto;
}

@media (max-width: 920px) {
    .nb-cart-grid {
        grid-template-columns: 1fr;
    }

    .nb-cart-side {
        position: static;
    }

    .nb-cart-assurance {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .nb-cart-page {
        padding: 20px 0 88px;
    }

    .nb-cart-heading {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .nb-cart-heading h1 {
        font-size: 27px;
    }

    .nb-cart-heading p {
        display: none;
    }

    .nb-cart-continue {
        min-height: 38px;
        padding: 0 12px;
        font-size: 12px;
    }

    .nb-cart-card {
        border-radius: 16px;
    }

    .nb-cart-card-head {
        min-height: 68px;
        padding: 14px 15px;
    }

    .nb-cart-list {
        padding: 0 15px;
    }

    .nb-cart-item {
        grid-template-columns: 82px minmax(0, 1fr);
        gap: 12px;
        padding: 16px 0;
    }

    .nb-cart-thumb {
        width: 82px;
        height: 82px;
        border-radius: 12px;
    }

    .nb-cart-name {
        font-size: 14px;
    }

    .nb-cart-item-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .nb-cart-controls {
        width: 100%;
        justify-content: space-between;
    }

    .nb-cart-subtotal {
        font-size: 15px;
    }

    .nb-cart-stock {
        flex-wrap: wrap;
        margin: 8px 0 11px;
    }

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

@media (max-width: 400px) {
    .nb-cart-clear {
        width: 36px;
        overflow: hidden;
        white-space: nowrap;
    }

    .nb-cart-clear svg {
        flex: 0 0 18px;
    }

    .nb-cart-item {
        grid-template-columns: 70px minmax(0, 1fr);
    }

    .nb-cart-thumb {
        width: 70px;
        height: 70px;
    }
}
