/* ============================================
   Cafetaria Deest - Cart / Bestelling Page
   MOBILE-FIRST: Base = mobile, min-width = opschalen
   Design system: Charcoal + Red, Inter
   ============================================ */

.cart-page {
    background-color: #F7F7F7;
}

/* ---- Hero ---- */
.cart-hero {
    background: var(--charcoal-dark);
    padding: 32px 0;
    position: relative;
    overflow: hidden;
}

.cart-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(220,38,38,0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cart-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cart-hero h1 {
    font-family: var(--font);
    font-size: 1.6rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
}

.cart-hero-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-full);
}

.cart-hero-count span {
    color: white;
    font-weight: 700;
    margin-right: 4px;
}

/* ---- Breadcrumb ---- */
.cart-breadcrumb {
    padding: 14px 0;
}

.cart-breadcrumb-inner {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.cart-breadcrumb-inner a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
    cursor: pointer;
}

.cart-breadcrumb-inner a:hover {
    color: var(--red);
}

.cart-breadcrumb-inner svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

/* ---- Layout ---- */
.cart-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-bottom: 24px;
}

/* ---- Items list ---- */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 150ms ease, box-shadow 150ms ease;
    position: relative;
}

.cart-item:hover {
    border-color: #D6D3D1;
    box-shadow: var(--shadow-sm);
}

/* Image */
.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--bg-gray);
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 4px;
}

.cart-item-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--charcoal-dark);
}

.cart-item-img-placeholder svg {
    width: 32px;
    height: 32px;
    color: rgba(255,255,255,0.2);
}

.cart-item-img-logo {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    opacity: 0.35;
    filter: brightness(0) invert(1);
}

/* Info */
.cart-item-body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.cart-item-name {
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-item-options {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 6px;
}

.cart-item-option-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(220, 38, 38, 0.08);
    color: var(--red, #dc2626);
    border: 1px solid rgba(220, 38, 38, 0.15);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
}

.cart-item-option-chip--size {
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    border-color: rgba(15, 23, 42, 0.1);
}

.cart-item-option-chip-price {
    font-weight: 700;
    opacity: 0.85;
}

.cart-item-remove {
    background: var(--red);
    border: none;
    color: white;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background 150ms ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-remove:hover {
    background: var(--red-dark);
}

.cart-item-remove svg {
    width: 16px;
    height: 16px;
}

/* Price row */
.cart-item-price-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-unit-price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Bottom: quantity + total */
.cart-item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 4px;
}

/* Quantity stepper */
.qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gray);
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: all 150ms ease;
}

.qty-btn:hover {
    background: #EBEBEA;
    color: var(--text);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-btn svg {
    width: 14px;
    height: 14px;
}

.qty-value {
    width: 38px;
    text-align: center;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text);
    background: white;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 34px;
    line-height: 34px;
}

.cart-item-line-total {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

/* ---- Cart actions ---- */
.cart-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 4px;
}

.cart-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    cursor: pointer;
}

.cart-back-link:hover {
    color: var(--red);
}

.cart-back-link svg {
    width: 16px;
    height: 16px;
}

.cart-clear-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 150ms ease;
}

.cart-clear-btn:hover {
    background: var(--red-light);
    color: var(--red);
}

/* ---- Summary card ---- */
.cart-summary {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.cart-summary-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.cart-summary-head svg {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
}

.cart-summary-head h2 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.cart-summary-body {
    padding: 20px;
}

.cart-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.cart-summary-line-value {
    font-weight: 600;
    color: var(--text);
}

.cart-summary-shipping-free {
    color: var(--green);
    font-weight: 700;
}

.cart-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

.cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0 0;
}

.cart-summary-total-label {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
}

.cart-summary-total-value {
    font-family: var(--font);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--text);
}

/* CTA */
.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 20px;
    background: var(--red);
    color: white;
    text-decoration: none;
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: background 200ms ease, transform 150ms ease;
}

.cart-checkout-btn:hover {
    background: var(--red-dark);
}

.cart-checkout-btn:active {
    transform: scale(0.98);
}

.cart-checkout-btn svg {
    width: 20px;
    height: 20px;
}

/* Info badge */
.cart-info-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.cart-info-badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--text-muted);
}

/* ---- Checkout wrapper ---- */
.cart-checkout-wrapper {
    margin-top: 10px;
}

/* Right column: no sticky on individual cards, let them flow naturally */
@media (min-width: 1024px) {
    .cart-grid > div:last-child {
        position: sticky;
        top: 100px;
        max-height: calc(100vh - 120px);
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--border) transparent;
    }
}

/* ---- Tijdsloten ---- */
.cart-timeslots {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: 10px;
}

.cart-timeslots-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.cart-timeslots-head svg {
    width: 20px;
    height: 20px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 1px;
}

.cart-timeslots-head h2 {
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    margin: 0;
}

.cart-timeslots-subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 2px 0 0;
}

.cart-timeslots-body {
    padding: 16px 20px 20px;
}

.cart-timeslots-date {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: capitalize;
    margin-bottom: 10px;
}

/* Loading */
.cart-timeslots-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-timeslots-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border);
    border-top-color: var(--red);
    border-radius: 50%;
    animation: ts-spin 0.6s linear infinite;
}

@keyframes ts-spin {
    to { transform: rotate(360deg); }
}

/* Error */
.cart-timeslots-error {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #991B1B;
}

.cart-timeslots-error svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Grid */
.cart-timeslots-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
    padding-right: 4px;
}

/* Slot button */
.cart-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 4px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 150ms ease;
    gap: 2px;
}

.cart-slot:hover:not(.cart-slot-unavailable) {
    border-color: var(--red);
    background: var(--red-light);
}

.cart-slot-selected {
    border-color: var(--red) !important;
    background: var(--red-light) !important;
    box-shadow: 0 0 0 1px var(--red);
}

.cart-slot-busy {
    background: linear-gradient(180deg, #fff 0%, rgba(245, 158, 11, 0.08) 100%);
    border-color: rgba(245, 158, 11, 0.3);
}

.cart-slot-meter {
    display: block;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 4px;
}

.cart-slot-meter-fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #22c55e 0%, #f59e0b 60%, var(--red, #dc2626) 100%);
    border-radius: 999px;
    transition: width 400ms ease;
}

.cart-slot-unavailable {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--bg-gray);
}

.cart-slot-unavailable .cart-slot-time {
    text-decoration: line-through;
}

.cart-slot-time {
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
}

.cart-slot-selected .cart-slot-time {
    color: var(--red);
}

.cart-slot-remaining {
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--text-muted);
}

.cart-slot-selected .cart-slot-remaining {
    color: var(--red);
    opacity: 0.7;
}

.cart-slot-badge {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 1px 6px;
    border-radius: 100px;
}

.cart-slot-badge-full {
    background: #FEE2E2;
    color: #DC2626;
}

.cart-slot-badge-past {
    background: var(--bg-gray);
    color: var(--text-muted);
}

.cart-slot-badge-closed {
    background: #FEF3C7;
    color: #92400E;
}

/* No slots */
.cart-timeslots-empty {
    text-align: center;
    padding: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Validation error */
.cart-timeslots-validation {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: #991B1B;
    font-weight: 600;
}

.cart-timeslots-validation svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* ---- Gesloten melding ---- */
.cart-closed {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    margin-top: 10px;
}

.cart-closed-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-light);
    border-radius: 50%;
}

.cart-closed-icon svg {
    width: 28px;
    height: 28px;
    color: var(--red);
}

.cart-closed-title {
    font-family: var(--font);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.cart-closed-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.cart-closed-hours {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.cart-closed-hours svg {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

/* Disabled checkout button */
.cart-checkout-btn-disabled {
    background: var(--text-muted) !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.cart-checkout-btn-disabled:hover {
    background: var(--text-muted) !important;
    transform: none !important;
}

/* ---- Empty state ---- */
.cart-empty {
    text-align: center;
    padding: 72px 20px 80px;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.cart-empty-eyebrow {
    display: inline-block;
    padding: 6px 14px;
    margin-bottom: 14px;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--red, #dc2626);
    background: rgba(220, 38, 38, 0.08);
    border-radius: 999px;
}

.cart-empty h2 {
    font-family: var(--font);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 10px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.cart-empty p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0 auto 28px;
    max-width: 440px;
    line-height: 1.55;
}

.cart-empty-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 36px;
}

.cart-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 32px;
    background: var(--red, #dc2626);
    color: white;
    text-decoration: none;
    font-family: var(--font);
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: var(--radius);
    box-shadow: 0 10px 24px -10px rgba(220, 38, 38, 0.6);
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
    cursor: pointer;
}

.cart-empty-cta:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -10px rgba(220, 38, 38, 0.7);
}

.cart-empty-cta svg {
    width: 20px;
    height: 20px;
}

.cart-empty-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 0.9rem;
    color: var(--text-secondary, var(--text-muted));
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 180ms ease, background 180ms ease;
    cursor: pointer;
}

.cart-empty-phone:hover {
    color: var(--red, #dc2626);
    background: rgba(220, 38, 38, 0.05);
}

.cart-empty-phone svg {
    width: 16px;
    height: 16px;
}

.cart-empty-phone strong {
    font-weight: 700;
    color: var(--text);
}

.cart-empty-phone:hover strong {
    color: var(--red, #dc2626);
}

/* Category suggestion chips */
.cart-empty-suggest {
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px dashed rgba(17, 17, 17, 0.1);
}

.cart-empty-suggest-label {
    display: block;
    font-family: var(--font);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.cart-empty-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.cart-empty-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 999px;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 6px -2px rgba(17, 17, 17, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
    cursor: pointer;
}

.cart-empty-chip:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--red, #dc2626);
    box-shadow: 0 10px 18px -10px rgba(220, 38, 38, 0.35);
}

.cart-empty-chip svg {
    width: 18px;
    height: 18px;
    color: var(--red, #dc2626);
}

@media (max-width: 640px) {
    .cart-empty { padding: 48px 16px 64px; }
    .cart-empty h2 { font-size: 1.4rem; }
    .cart-empty p { font-size: 0.94rem; }
}

/* ---- Clear Cart Modal ---- */
.cart-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.cart-modal {
    background: white;
    border-radius: 16px;
    padding: 32px 28px 24px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.cart-modal-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red-light);
    border-radius: 50%;
}

.cart-modal-icon svg {
    width: 28px;
    height: 28px;
    color: var(--red);
}

.cart-modal-title {
    font-family: var(--font);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.cart-modal-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.cart-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cart-modal-btn {
    padding: 14px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 150ms ease;
}

.cart-modal-btn-confirm {
    background: var(--red);
    color: white;
}

.cart-modal-btn-confirm:hover {
    background: var(--red-dark);
}

.cart-modal-btn-cancel {
    background: var(--bg-gray);
    color: var(--text-secondary);
}

.cart-modal-btn-cancel:hover {
    background: #EBEBEA;
    color: var(--text);
}

@media (min-width: 640px) {
    .cart-modal-actions {
        flex-direction: row-reverse;
        gap: 10px;
    }

    .cart-modal-btn {
        flex: 1;
    }
}

/* ---- Responsive ---- */
@media (min-width: 640px) {
    .cart-hero h1 {
        font-size: 1.8rem;
    }

    .cart-item {
        padding: 18px;
    }

    .cart-item-img {
        width: 90px;
        height: 90px;
    }

    .cart-item-name {
        font-size: 0.95rem;
    }

    .qty-btn {
        width: 38px;
        height: 38px;
    }

    .qty-value {
        width: 42px;
        height: 38px;
        line-height: 38px;
    }

    .cart-item-line-total {
        font-size: 1.05rem;
    }
}

@media (min-width: 1024px) {
    .cart-hero h1 {
        font-size: 2rem;
    }

    .cart-grid {
        display: grid;
        grid-template-columns: 1fr 360px;
        gap: 28px;
        align-items: start;
    }

    .cart-item-img {
        width: 100px;
        height: 100px;
    }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    .cart-item,
    .cart-checkout-btn,
    .qty-btn,
    .cart-item-remove {
        transition: none !important;
    }
}

/* ============================================================
   PANIC MODE — vervangt slot-picker als admin online bestellen
   uitzet (bv. bij betaalstoring). Toont telefoon-melding.
   ============================================================ */
.cart-panic {
    background: linear-gradient(135deg, #FEF2F2 0%, #FFE4E4 100%);
    border: 2px solid #FCA5A5;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
}
.cart-panic::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 150px; height: 150px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.06);
}
.cart-panic::after {
    content: '';
    position: absolute;
    bottom: -50px; left: -50px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(220, 38, 38, 0.05);
}

.cart-panic__icon {
    width: 4rem;
    height: 4rem;
    border-radius: 999px;
    background: #DC2626;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.45);
    position: relative;
    z-index: 1;
}
.cart-panic__icon svg { width: 2rem; height: 2rem; }

.cart-panic__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #991B1B;
    margin: 0 0 0.4rem;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
}

.cart-panic__text {
    font-size: 0.95rem;
    color: #7F1D1D;
    margin: 0 0 1.25rem;
    line-height: 1.5;
    position: relative;
    z-index: 1;
}

.cart-panic__phone {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 1.5rem;
    background: #DC2626;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 999px;
    box-shadow: 0 6px 16px -4px rgba(220, 38, 38, 0.5);
    transition: all 180ms ease;
    position: relative;
    z-index: 1;
    letter-spacing: 0.01em;
}
.cart-panic__phone:hover {
    background: #B91C1C;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -4px rgba(220, 38, 38, 0.6);
}
.cart-panic__phone svg { width: 1.25rem; height: 1.25rem; }

@media (max-width: 480px) {
    .cart-panic { padding: 1.5rem 1rem; }
    .cart-panic__icon { width: 3.25rem; height: 3.25rem; }
    .cart-panic__icon svg { width: 1.65rem; height: 1.65rem; }
    .cart-panic__title { font-size: 1.15rem; }
    .cart-panic__phone { font-size: 1rem; padding: 0.75rem 1.25rem; }
}
