* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    padding:0;
    margin: 0;
    background: #fdf2f2;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;


}

main {
    padding: 24px 32px;
}

.back-link {
    color: #cc2200;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
}

.back-link:hover {
    text-decoration: underline;
}

h1 {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #cc2200;
    margin-bottom: 8px;
}

.underline {
    display: block;
    width: 48px;
    height: 3px;
    background: #cc2200;
    border-radius: 2px;
    margin: 0 auto 28px;
}

.layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 20px;
    max-width: 780px;
    margin: 0 auto;
}

.card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: #cc2200;
}

.clear-btn {
    font-size: 13px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}

.item {
    border: 1px solid #fde8e8;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}

.item-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-name {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 3px;
}

.item-desc {
    font-size: 12px;
    color: #999;
}

.item-price {
    font-size: 13px;
    color: #444;
    margin-top: 8px;
}

.item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.qty {
    display: flex;
    align-items: center;
    border: 1.5px solid #cc2200;
    border-radius: 20px;
    overflow: hidden;
}

.qty button {
    background: none;
    border: none;
    width: 30px;
    height: 28px;
    cursor: pointer;
    font-size: 18px;
    color: #cc2200;
    display: flex;
    align-items: center;
    justify-content: center;
}


.qty span {
    font-size: 13px;
    font-weight: 500;
    min-width: 24px;
    text-align: center;
    color: #222;
}

.item-total {
    font-size: 13px;
    color: #555;
}

.trash {
    background: none;
    border: none;
    cursor: pointer;
    color: #bbb;
    font-size: 16px;
    padding: 2px;
}

.overview-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    height: fit-content;
}

.overview-card h2 {
    font-size: 16px;
    font-weight: 600;
    color: #cc2200;
    margin-bottom: 18px;
}

.row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.row.total {
    font-weight: 600;
    font-size: 15px;
    color: #111;
    border-top: 1px solid #f0e8e8;
    padding-top: 12px;
    margin-top: 4px;
}

.gratis {
    color: #22aa55;
    font-size: 13px;
}

.total-amount {
    color: #cc2200;
    font-weight: 700;
}

.checkout-btn {
    width: 100%;
    background: #cc2200;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 13px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 16px;
}



.free-note {
    font-size: 11px;
    color: #aaa;
    text-align: center;
    margin-top: 10px;
}

.Korting-Code {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    height: fit-content;
    border: 1.5px dashed #cc2200;
    grid-column: 1 / -1;
}

.Korting-Code h2 {
    font-size: 16px;
    font-weight: 600;
    color: #cc2200;
    margin-bottom: 10px;
}

.Korting-Code button {
    margin-top: 12px;
    background: #cc2200;
    color: #fff;
    border: none;
    border-radius: 25px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.Korting-Code button:hover {
    background: #a81c00;
}

.korting-input {
    width: 100%;
    box-sizing: border-box;
    margin-top: 10px;
    padding: 10px 14px;
    border: 1.5px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.korting-input:focus {
    outline: none;
    border-color: #cc2200;
}

.korting-fout {
    margin-top: 8px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 500;
}

.korting-verwijder {
    background: #fff !important;
    color: #cc2200 !important;
    border: 1.5px solid #cc2200 !important;
}

.korting-verwijder:hover {
    background: #cc2200 !important;
    color: #fff !important;
}

.order-msg {
    max-width: 780px;
    margin: 0 auto 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.order-msg.success {
    color: #15803d;
    background: #dcfce7;
    border: 1px solid #86efac;
}

.order-msg.error {
    color: #b91c1c;
    background: #fee2e2;
    border: 1px solid #fca5a5;
}