/* ===== Keranjang, form & riwayat ===== */
.order-section h2 { color: var(--brown); font-weight: 700; }
.order-card { background: #f5f1e1; border: 1px solid #d3cbb0; border-radius: 14px; }
.order-card .form-label { font-weight: 600; font-size: .9rem; color: var(--brown); }
.order-card .form-control {
    min-height: 48px; font-size: 1rem; background: #fffdf6; border-color: #d3cbb0; border-radius: 10px;
}
.order-card .form-control:focus { border-color: var(--gold-dark); box-shadow: 0 0 0 .2rem rgba(184, 151, 90, .3); }

/* daftar keranjang (menggantikan tabel yang harus digeser ke samping di HP) */
.cart-list { list-style: none; margin: 0; padding: 0; }
.cart-item {
    display: grid; grid-template-columns: 1fr auto 120px 40px; align-items: center; gap: .75rem;
    padding: .85rem 0; border-bottom: 1px solid #e3d9bc;
}
.cart-item-name { font-weight: 600; color: var(--brown); line-height: 1.3; }
.cart-item-price { font-size: .82rem; color: #8a7660; margin-top: .1rem; }
.cart-item-sub { text-align: right; font-weight: 600; color: var(--ink); white-space: nowrap; }
.qty-stepper {
    display: inline-flex; align-items: center;
    border: 1px solid #cdbf9d; border-radius: 999px; background: #fffdf6; overflow: hidden;
}
.qty-stepper button {
    width: 38px; height: 38px; border: 0; background: transparent; color: var(--brown);
    font-size: 1.2rem; line-height: 1; cursor: pointer;
}
.qty-stepper button:hover { background: #efe6cc; }
.qty-stepper .qty-n { min-width: 2rem; text-align: center; font-weight: 600; }
.cart-del {
    width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent;
    color: #a5483b; font-size: 1.05rem; cursor: pointer;
}
.cart-del:hover { background: #f3dcd6; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0 .5rem; font-size: 1.05rem; }
.cart-total strong { font-size: 1.3rem; color: var(--brown); font-family: 'Playfair Display', Georgia, serif; }
@media (max-width: 575.98px) {
    .cart-item { grid-template-columns: 1fr auto; grid-template-areas: "info del" "qty sub"; row-gap: .5rem; }
    .cart-item-info { grid-area: info; }
    .cart-del { grid-area: del; justify-self: end; margin: -.25rem -.4rem 0 0; }
    .cart-item-qty { grid-area: qty; }
    .cart-item-sub { grid-area: sub; }
}
.form-actions { display: flex; flex-direction: column-reverse; gap: .6rem; }
.form-actions .btn { width: 100%; }
.form-actions #btnKirim { min-height: 50px; font-size: 1rem; }
@media (min-width: 768px) {
    .form-actions { flex-direction: row; justify-content: flex-end; }
    .form-actions .btn { width: auto; }
}
