.cart-page {
    background: radial-gradient(circle at top, #3a0000, #000);
    min-height: 100vh;
    color: #fff;
}

/* TITLE */
.cart-title {
    font-weight: 800;
}

/* LEFT BOX */
.cart-box {
    background: linear-gradient(135deg, #b57a00, #8a5a00);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(255,170,0,.3);
}

/* ITEM */
.cart-item {
    position: relative;
    padding: 20px 20px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8a5a00, #6a4200);

    background: linear-gradient(135deg, #a36b00, #704400);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* LEFT */
.cart-item-left {
    display: flex;
    gap: 16px;
    align-items: center;
}


.cart-page {
    background: radial-gradient(circle at top, #3a0000, #000);
    min-height: 100vh;
    color: #fff;
}

/* TITLE */
.cart-title {
    font-weight: 800;
}

/* LEFT BOX */
.cart-box {
    background: linear-gradient(135deg, #b57a00, #8a5a00);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(255,170,0,.3);
}

/* ITEM */
.cart-item {
    position: relative;
    padding: 20px 20px 28px;
    border-radius: 14px;
    background: linear-gradient(135deg, #8a5a00, #6a4200);

    background: linear-gradient(135deg, #a36b00, #704400);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

/* LEFT */
.cart-item-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.cart-thumb {
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden; 
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}


.cart-info h6 {
    margin-bottom: 4px;
    font-weight: 700;
}

.cart-info .price {
    font-size: .85rem;
    opacity: .9;
}

/* QTY */
.qty-box {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.qty-box button {
    background: #3a0000;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.qty-box input {
    width: 42px;
    text-align: center;
    border-radius: 6px;
    border: none;
}

/* RIGHT */
.cart-item-right {
    text-align: right;
}

.btn-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    opacity: .7;
}

.btn-remove:hover {
    opacity: 1;
    color: #ff4d4d;
}

/* SUMMARY */
.summary-box {
    background: linear-gradient(135deg, #6a0d83, #3b004f);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(180,0,255,.4);
}

.summary-section {
    border: 1px solid rgba(255,204,0,.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.1rem;
}

/* ======================
   QTY CONTROL (CLEAN)
====================== */
.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-box button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #3a0000, #1a0000);
    color: #ffcc00;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255,204,0,.4);
}

.qty-box button:hover {
    background: linear-gradient(180deg, #ffcc00, #ff9900);
    color: #3a0000;
}

/* INPUT ANGKA */
.qty-input {
    width: 44px;
    height: 32px;
    text-align: center;
    border-radius: 8px;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-weight: 700;
    pointer-events: none; /* GA BISA DIKLIK */
}

/* HILANGIN SPINNER */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
}


/* TOTAL */
.cart-total {
    position: absolute;
    bottom: 14px;
    right: 16px;
    font-weight: 800;
    color: #fff;
}

.cart-info h6 {
    margin-bottom: 4px;
    font-weight: 700;
}

.cart-info .price {
    font-size: .85rem;
    opacity: .9;
}

/* QTY */
.qty-box {
    display: flex;
    gap: 6px;
    margin-top: 6px;
}

.qty-box button {
    background: #3a0000;
    border: none;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.qty-box input {
    width: 42px;
    text-align: center;
    border-radius: 6px;
    border: none;
}

/* RIGHT */
.cart-item-right {
    text-align: right;
}

.btn-remove {
    position: absolute;
    top: 14px;
    right: 14px;
    color: #fff;
    opacity: .7;
}

.btn-remove:hover {
    opacity: 1;
    color: #ff4d4d;
}

/* SUMMARY */
.summary-box {
    background: linear-gradient(135deg, #6a0d83, #3b004f);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 15px 40px rgba(180,0,255,.4);
}

.summary-section {
    border: 1px solid rgba(255,204,0,.3);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 14px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.summary-row.total {
    font-weight: 800;
    font-size: 1.1rem;
}

/* ======================
   QTY CONTROL (CLEAN)
====================== */
.qty-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-box button {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #3a0000, #1a0000);
    color: #ffcc00;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255,204,0,.4);
}

.qty-box button:hover {
    background: linear-gradient(180deg, #ffcc00, #ff9900);
    color: #3a0000;
}

/* INPUT ANGKA */
.qty-input {
    width: 44px;
    height: 32px;
    text-align: center;
    border-radius: 8px;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-weight: 700;
    pointer-events: none; /* GA BISA DIKLIK */
}

/* HILANGIN SPINNER */
.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input {
    -moz-appearance: textfield;
}


/* TOTAL */
.cart-total {
    position: absolute;
    bottom: 14px;
    right: 16px;
    font-weight: 800;
    color: #fff;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(180deg, #3a0000, #1a0000);
    color: #ffcc00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(255,204,0,.4);
}

.qty-btn:hover {
    background: linear-gradient(180deg, #ffcc00, #ff9900);
    color: #3a0000;
}

/* RESET BUTTON REMOVE */
.btn-remove {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;

    position: absolute;
    top: 14px;
    right: 14px;

    color: #fff;
    opacity: .7;
    cursor: pointer;
}

.btn-remove i {
    font-size: 1.1rem;
}

.btn-remove:hover {
    opacity: 1;
    color: #ff4d4d;
}

/* HILANGIN FOCUS RING JELEK */
.btn-remove:focus {
    outline: none;
    box-shadow: none;
}
