.order-wrapper { max-width: 1140px; margin: 0 auto; padding: 10px 15px 60px; }
.order-progress { display: flex; align-items: center; justify-content: center; gap: 15px; margin: 0 auto 30px; max-width: 500px; }
.progress-step { display: flex; align-items: center; gap: 8px; font-size: 0.95em; color: #888; font-weight: 500; }
.progress-step.active { color: #192024; font-weight: 700; }
.progress-badge { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #e2e8f0; color: #64748b; font-size: 0.85em; font-weight: bold; }
.progress-step.active .progress-badge { background: #ED7D31; color: #fff; box-shadow: 0 2px 8px rgba(237, 125, 49, 0.35); }
.progress-line { flex: 1; height: 2px; background: #e2e8f0; min-width: 30px; }
.order-layout { display: flex; gap: 30px; align-items: flex-start; }
.books-column { flex: 1 1 62%; display: flex; flex-direction: column; gap: 20px; }
.summary-column { flex: 1 1 38%; position: sticky; top: 20px; }
.book-card { background: #ffffff; border: 2px solid #e5e7eb; border-radius: 12px; padding: 20px; display: flex; gap: 20px; align-items: center; transition: all 0.25s ease; box-shadow: 0 2px 6px rgba(0,0,0,0.04); }
.book-card:hover { border-color: #cbd5e1; box-shadow: 0 4px 14px rgba(0,0,0,0.07); }
.book-card.has-items { border-color: #ED7D31; background: #fffdfb; box-shadow: 0 4px 16px rgba(237, 125, 49, 0.12); }
.book-cover-wrap { flex: 0 0 100px; max-width: 100px; text-align: center; }
.book-cover-img { width: 100%; height: auto; aspect-ratio: 300 / 426; object-fit: cover; border-radius: 6px; border: 1px solid #ddd; box-shadow: 0 4px 10px rgba(0,0,0,0.12); transition: transform 0.2s ease; }
.book-cover-wrap a:hover .book-cover-img { transform: scale(1.03); }
.book-info { flex: 1 1 auto; }
.book-badge { display: inline-block; background: #fff2e8; color: #d66b22; font-size: 0.72em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; padding: 2px 8px; border-radius: 4px; margin-bottom: 6px; }
.book-title { font-size: 1.25em; font-weight: 700; margin: 0 0 4px 0; color: #192024; line-height: 1.3; }
.book-title a { color: #192024; text-decoration: none; }
.book-title a:hover { color: #ED7D31; }
.book-desc { font-size: 0.88em; color: #64748b; margin: 0 0 10px 0; line-height: 1.4; }
.book-meta { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.book-price { font-size: 1.28em; font-weight: 800; color: #192024; }
.book-tax-info { font-size: 0.78em; color: #888; }
.qty-wrapper { margin-top: 12px; display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid #cbd5e1; border-radius: 8px; background: #ffffff; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.book-card.has-items .qty-stepper { border-color: #ED7D31; }
.qty-btn { background: #f8fafc; border: none; width: 42px; height: 42px; font-size: 1.35em; font-weight: bold; color: #334155; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.15s ease; user-select: none; padding: 0; line-height: 1; }
.qty-btn:hover { background: #ED7D31; color: #ffffff; }
.qty-input { width: 52px; height: 42px; border: none; border-left: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; text-align: center; font-size: 1.15em; font-weight: 700; color: #192024; padding: 0; margin: 0; background: transparent; -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.item-subtotal-tag { font-size: 0.9em; font-weight: 600; color: #ED7D31; opacity: 0; transition: opacity 0.2s ease; }
.book-card.has-items .item-subtotal-tag { opacity: 1; }
.summary-card { background: #ffffff; border: 2px solid #e5e7eb; border-radius: 12px; padding: 24px; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.summary-title { font-size: 1.25em; font-weight: 700; margin: 0 0 16px 0; color: #192024; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; }
.summary-items-list { list-style: none; padding: 0; margin: 0 0 16px 0; }
.summary-item-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.92em; padding: 6px 0; color: #334155; border-bottom: 1px dashed #f1f5f9; }
.summary-item-name { font-weight: 500; }
.summary-item-price { font-weight: 600; white-space: nowrap; }
.summary-empty-state { padding: 18px 12px; text-align: center; color: #64748b; font-size: 0.92em; background: #f8fafc; border-radius: 8px; margin-bottom: 16px; border: 1px dashed #cbd5e1; }
.summary-calc-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.summary-calc-table td { padding: 7px 0; font-size: 0.94em; color: #475569; border: none; }
.summary-calc-table td:last-child { text-align: right; font-weight: 600; color: #1e293b; white-space: nowrap; }
.summary-calc-table tr.total-row td { font-size: 1.18em; font-weight: 800; color: #192024; padding-top: 12px; border-top: 2px solid #e2e8f0; }
.summary-calc-table tr.total-row td:last-child { color: #ED7D31; font-size: 1.25em; }
.btn-proceed { display: block; width: 100%; background: #ED7D31; color: #ffffff !important; font-size: 1.1em; font-weight: 700; text-align: center; padding: 14px 20px; border-radius: 8px; border: none; cursor: pointer; box-shadow: 0 4px 12px rgba(237, 125, 49, 0.3); transition: all 0.2s ease; text-decoration: none; line-height: 1.3; }
.btn-proceed:hover:not(:disabled) { background: #d66b22; box-shadow: 0 6px 18px rgba(237, 125, 49, 0.4); transform: translateY(-1px); }
.btn-proceed:disabled { background: #cbd5e1; color: #94a3b8 !important; cursor: not-allowed; box-shadow: none; }
.trust-box { margin-top: 20px; padding-top: 16px; border-top: 1px solid #f1f5f9; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 0.84em; color: #475569; margin-bottom: 8px; line-height: 1.4; }
.trust-icon { font-size: 1.1em; color: #10b981; flex: 0 0 18px; text-align: center; }
@media (max-width: 860px) {
    .order-layout { flex-direction: column; }
    .books-column, .summary-column { flex: 1 1 100%; width: 100%; }
    .summary-column { position: static; }
    .book-card { padding: 16px; gap: 16px; }
    .book-cover-wrap { flex: 0 0 85px; max-width: 85px; }
    .book-title { font-size: 1.12em; }
}
@media (max-width: 520px) {
    .order-wrapper { padding-left: 10px; padding-right: 10px; }
    .book-cover-wrap { flex: 0 0 75px; max-width: 75px; }
    .qty-stepper { height: 38px; }
    .qty-btn { width: 38px; height: 38px; font-size: 1.2em; }
    .qty-input { width: 44px; height: 38px; font-size: 1.05em; }
}
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #ffffff; border-top: 2px solid #ED7D31; padding: 12px 16px; box-shadow: 0 -4px 16px rgba(0,0,0,0.12); z-index: 999; align-items: center; justify-content: space-between; gap: 12px; }
@media (max-width: 860px) {
    .mobile-bottom-bar.show { display: flex; }
    body { padding-bottom: 70px; }
}
.mobile-bottom-text { font-size: 0.88em; color: #334155; line-height: 1.25; }
.mobile-bottom-total { font-size: 1.15em; font-weight: 800; color: #ED7D31; display: block; }
.mobile-bottom-btn { background: #ED7D31; color: #ffffff; border: none; border-radius: 6px; padding: 10px 18px; font-weight: 700; font-size: 0.95em; white-space: nowrap; cursor: pointer; }
/* Form och Checkout-stilar för steg2.php */
.checkout-card { background: #ffffff; border: 2px solid #e5e7eb; border-radius: 12px; padding: 24px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); margin-bottom: 20px; }
.checkout-section-title { font-size: 1.2em; font-weight: 700; color: #192024; margin: 0 0 18px 0; padding-bottom: 10px; border-bottom: 2px solid #f1f5f9; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
@media (max-width: 600px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 0.9em; font-weight: 600; color: #334155; margin-bottom: 6px; }
.form-label .req { color: #e11d48; }
.form-input, .form-textarea { width: 100%; border: 1.5px solid #cbd5e1; border-radius: 8px; padding: 10px 14px; font-size: 1em; color: #1e293b; background: #ffffff; box-sizing: border-box; transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit; }
.form-input:focus, .form-textarea:focus { outline: none; border-color: #ED7D31; box-shadow: 0 0 0 3px rgba(237, 125, 49, 0.15); }
.form-textarea { resize: vertical; min-height: 80px; }
.form-help { font-size: 0.72em; color: #64748b; margin-top: 3px; line-height: 1.35; }
.invoice-toggle-wrap { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; }
.invoice-toggle-label { display: flex; align-items: center; gap: 10px; font-size: 0.92em; font-weight: 600; color: #334155; cursor: pointer; margin: 0; }
.invoice-fields-wrap { display: none; margin-top: 14px; padding-top: 14px; border-top: 1px dashed #cbd5e1; }
.alert-error { background: #fef2f2; border: 1.5px solid #f87171; color: #991b1b; padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; font-size: 0.95em; }
.alert-success { background: #f0fdf4; border: 2px solid #86efac; color: #166534; padding: 24px; border-radius: 12px; box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08); margin-bottom: 24px; }
.btn-back-link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9em; color: #64748b; text-decoration: none; margin-bottom: 16px; font-weight: 500; }
.btn-back-link:hover { color: #ED7D31; }
