
.modern-cart-page {
    background: #f7f8fa;
    padding-bottom: 70px;
}

.modern-cart-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 22px 0;
}

.breadcrumb{
    display: none;
}

.modern-cart-breadcrumb .breadcrumb {
    margin: 0;
    padding: 0;
    background: transparent;
    font-size: 14px;
}

.modern-cart-breadcrumb .breadcrumb-item a {
    color: #777;
    text-decoration: none;
}

.modern-cart-breadcrumb .breadcrumb-item.active {
    color: #222;
    font-weight: 600;
}

.modern-cart-title {
    margin: 0 0 5px;
    font-size: 28px;
    font-weight: 700;
    color: #222;
}

.modern-cart-subtitle {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.modern-cart-content {
    padding-top: 35px;
}

.modern-cart-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .04);
}

.modern-cart-card-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.modern-cart-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #222;
}

.modern-cart-count {
    color: #777;
    font-size: 13px;
    margin-left: 6px;
    font-weight: 400;
}

.modern-clear-cart {
    border: 0;
    background: transparent;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 0;
    cursor: pointer;
}

.modern-clear-cart:hover {
    text-decoration: underline;
}

.modern-cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #eee;
}

.modern-cart-item:last-child {
    border-bottom: 0;
}

.modern-cart-image {
    width: 105px;
    height: 105px;
    min-width: 105px;
    border-radius: 10px;
    background: #f7f7f7;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid #eee;
}

.modern-cart-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
}

.modern-cart-product {
    flex: 1;
    min-width: 0;
}

.modern-cart-product h4 {
    margin: 0 0 7px;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 600;
}

.modern-cart-product h4 a {
    color: #222;
    text-decoration: none;
}

.modern-cart-product h4 a:hover {
    color: #183f68;
}

.modern-cart-variant {
    color: #777;
    font-size: 13px;
    margin-bottom: 10px;
}

.modern-cart-price {
    font-size: 15px;
    font-weight: 700;
    color: #222;
}

.modern-cart-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
}

.modern-cart-action {
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    color: #777;
    cursor: pointer;
}

.modern-cart-action:hover {
    color: #183f68;
}

.modern-cart-remove {
    color: #dc3545;
}

.modern-cart-remove:hover {
    color: #b02a37;
}

.modern-cart-quantity {
    width: 120px;
    min-width: 120px;
}

.modern-qty-box {
    height: 40px;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    background: #fff;
}

.modern-qty-box .minus,
.modern-qty-box .plus {
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.modern-qty-box .minus:before {
    content: '-';
    font-size: 18px;
    color: #555;
}

.modern-qty-box .plus:before {
    content: '+';
    font-size: 18px;
    color: #555;
}

.modern-qty-box .minus:hover,
.modern-qty-box .plus:hover {
    background: #f5f5f5;
}

.modern-qty-box .in-num {
    border: 0;
    width: 45px;
    height: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.modern-cart-item-total {
    width: 125px;
    min-width: 125px;
    text-align: right;
}

.modern-cart-item-total span {
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.modern-empty-cart {
    padding: 70px 25px;
    text-align: center;
}

.modern-empty-cart-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #f1f4f7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #183f68;
}

.modern-empty-cart h3 {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
}

.modern-empty-cart p {
    margin: 0;
    color: #777;
}

.modern-save-card {
    margin-top: 25px;
}

.modern-save-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 24px;
    border-bottom: 1px solid #eee;
}

.modern-save-item:last-child {
    border-bottom: 0;
}

.modern-save-image {
    width: 75px;
    height: 75px;
    min-width: 75px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid #eee;
    overflow: hidden;
}

.modern-save-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.modern-save-product {
    flex: 1;
    min-width: 0;
}

.modern-save-product h4 {
    font-size: 14px;
    margin: 0 0 5px;
    line-height: 1.4;
}

.modern-save-product h4 a {
    color: #333;
    text-decoration: none;
}

.modern-save-price {
    font-weight: 700;
    font-size: 14px;
}

.modern-move-cart {
    border: 1px solid #183f68;
    background: #fff;
    color: #183f68;
    border-radius: 7px;
    padding: 8px 13px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.modern-move-cart:hover {
    background: #183f68;
    color: #fff;
}

.modern-summary-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .04);
    position: sticky;
    top: 25px;
}

.modern-summary-card h3 {
    margin: 0 0 20px;
    font-size: 19px;
    font-weight: 700;
    color: #222;
}

.modern-summary-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    font-size: 14px;
    color: #666;
}

.modern-summary-row strong {
    color: #222;
    font-weight: 600;
}

.modern-summary-total {
    border-top: 1px solid #eee;
    margin-top: 10px;
    padding-top: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modern-summary-total span:first-child {
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.modern-summary-total span:last-child {
    font-size: 22px;
    font-weight: 800;
    color: #183f68;
}

.modern-checkout-btn {
    display: block;
    width: 100%;
    border: 0;
    background: #183f68;
    color: #fff;
    padding: 14px 18px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: .2s ease;
}

.modern-checkout-btn:hover {
    background: #123452;
    color: #fff;
    text-decoration: none;
}

.modern-checkout-btn:disabled,
.modern-checkout-btn.disabled {
    opacity: .5;
    pointer-events: none;
}

.modern-continue-shopping {
    display: block;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    color: #666;
    text-decoration: none;
}

.modern-continue-shopping:hover {
    color: #183f68;
}

.modern-secure-note {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 12px;
    text-align: center;
}

@media (max-width: 991px) {
    .modern-summary-card {
        position: static;
        margin-top: 25px;
    }

    .modern-cart-item {
        flex-wrap: wrap;
    }

    .modern-cart-product {
        min-width: calc(100% - 145px);
    }

    .modern-cart-quantity {
        margin-left: 125px;
    }

    .modern-cart-item-total {
        margin-left: auto;
    }
}

@media (max-width: 575px) {
    .modern-cart-content {
         padding-top: 20px;
    }

    .modern-cart-title {
        font-size: 23px;
    }

    .modern-cart-card-header {
        padding: 16px;
    }

    .modern-cart-item {
        padding: 18px 16px;
        gap: 13px;
    }

    .modern-cart-image {
        width: 82px;
        height: 82px;
        min-width: 82px;
    }

    .modern-cart-product {
        min-width: 0;
    }

    .modern-cart-product h4 {
        font-size: 14px;
    }

    .modern-cart-actions {
        margin-top: 8px;
    }

    .modern-cart-quantity {
        margin-left: 95px;
        width: 110px;
        min-width: 110px;
    }

    .modern-cart-item-total {
        width: auto;
        min-width: auto;
    }

    .modern-cart-item-total span {
        font-size: 14px;
    }

    .modern-save-item {
        padding: 15px 16px;
    }

    .modern-save-image {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .modern-save-product h4 {
        font-size: 13px;
    }

    .modern-move-cart {
        padding: 6px 9px;
    }
}

.modern-cart-qty-btn {
    width: 36px;
    height: 38px;
    border: 0;
    background: #fff;
    color: #444;
    font-size: 19px;
    line-height: 38px;
    text-align: center;
    cursor: pointer;
    flex: 0 0 36px;
}

.modern-cart-qty-btn:hover {
    background: #f5f5f5;
    color: #183f68;
}

.modern-cart-qty-btn:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.modern-cart-qty-input {
    border: 0;
    width: 48px;
    height: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    outline: none;
    background: #fff;
    appearance: textfield;
    -moz-appearance: textfield;
}

.modern-cart-qty-input::-webkit-outer-spin-button,
.modern-cart-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.modern-cart-remove,
.modern-cart-save-later,
.modern-cart-saved-remove {
    cursor: pointer;
}

.modern-cart-remove:disabled,
.modern-cart-save-later:disabled,
.modern-cart-saved-remove:disabled,
.modern-move-cart:disabled {
    opacity: .5;
    cursor: not-allowed;
}

.modern-save-remove {
    border: 0;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
    padding: 8px;
}

.modern-save-remove:hover {
    color: #b02a37;
}

.modern-cart-item {
    transition: opacity .2s ease;
}

@media (max-width: 991px) {
    .modern-cart-quantity {
        margin-left: 125px;
    }
}

@media (max-width: 575px) {
    .modern-cart-quantity {
        margin-left: 95px;
        width: 110px;
        min-width: 110px;
    }

    .modern-cart-item-total {
        width: auto;
        min-width: auto;
    }
}