/* Chi tiết đơn hàng - giao diện PizzaHub-style */
.order-detail-page { background: #f8f7f5; min-height: 60vh; padding: 24px 0 48px; font-family: 'Work Sans', sans-serif; }
.order-detail-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 992px) { .order-detail-wrap { padding: 0 40px; } }

/* Breadcrumb */
.order-detail-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 24px; font-size: 14px; flex-wrap: wrap; }
.order-detail-breadcrumb a { color: #8a7560; text-decoration: none; font-weight: 500; }
.order-detail-breadcrumb a:hover { color: #f48c25; }
.order-detail-breadcrumb .sep { color: #8a7560; }
.order-detail-breadcrumb .current { color: #181411; font-weight: 600; }

/* Page heading */
.order-detail-head { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
@media (min-width: 768px) { .order-detail-head { flex-direction: row; justify-content: space-between; align-items: flex-end; } }
.order-detail-title { font-size: 28px; font-weight: 900; color: #181411; margin: 0 0 8px 0; letter-spacing: -0.02em; }
.order-detail-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #8a7560; }
.order-detail-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: #8a7560; }
.order-detail-meta .payment { color: #f48c25; font-weight: 600; }
.order-detail-head-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.order-detail-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; border: 1px solid #e6e0db; background: #fff; color: #181411; transition: background .2s; }
.order-detail-btn:hover { background: #f9f9f9; color: #181411; }
.order-detail-btn.primary { background: #f48c25; color: #fff; border-color: #f48c25; box-shadow: 0 4px 14px rgba(244,140,37,.2); }
.order-detail-btn.primary:hover { background: #e07d1e; color: #fff; }

/* Grid */
.order-detail-grid { display: grid; gap: 32px; }
@media (min-width: 992px) { .order-detail-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .order-detail-grid { grid-template-columns: 2fr 1fr; } }

/* Cards */
.order-detail-card { background: #fff; border-radius: 12px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border: 1px solid #f5f2f0; margin-bottom: 24px; }
.order-detail-card:last-child { margin-bottom: 0; }
.order-detail-card h3 { font-size: 18px; font-weight: 700; color: #181411; margin: 0 0 20px 0; }

/* Timeline */
.order-detail-timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.order-detail-timeline::before { content: ''; position: absolute; top: 22px; left: 15%; right: 15%; height: 4px; background: #f5f2f0; z-index: 0; border-radius: 2px; }
.order-detail-timeline .progress-bar { position: absolute; top: 22px; left: 15%; height: 4px; background: #f48c25; z-index: 0; border-radius: 2px; transition: width .3s; }
.order-detail-timeline .step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.order-detail-timeline .step-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.order-detail-timeline .step-icon.active { background: #f48c25; color: #fff; box-shadow: 0 4px 14px rgba(244,140,37,.3); }
.order-detail-timeline .step-icon.pending { background: #f5f2f0; color: #8a7560; }
.order-detail-timeline .step-title { font-size: 14px; font-weight: 700; color: #181411; }
.order-detail-timeline .step-desc { font-size: 12px; color: #8a7560; }
.order-detail-timeline .step-desc.highlight { color: #f48c25; font-weight: 500; }

/* Order items */
.order-detail-items-card { padding: 0; overflow: hidden; }
.order-detail-items-card .card-head { padding: 16px 24px; border-bottom: 1px solid #f5f2f0; display: flex; justify-content: space-between; align-items: center; }
.order-detail-items-card .card-head h3 { margin: 0; }
.order-detail-items-card .card-head .count { font-size: 14px; color: #8a7560; }
.order-detail-item { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-bottom: 1px solid #f5f2f0; }
.order-detail-item:last-child { border-bottom: none; }
.order-detail-item-img { width: 80px; height: 80px; border-radius: 8px; background: #f5f2f0; object-fit: cover; flex-shrink: 0; }
.order-detail-item-info { flex: 1; min-width: 0; }
.order-detail-item-name { font-weight: 700; font-size: 15px; color: #181411; margin-bottom: 4px; }
.order-detail-item-notes { font-size: 13px; color: #8a7560; }
.order-detail-item-right { text-align: right; flex-shrink: 0; }
.order-detail-item-price { font-weight: 700; color: #181411; }
.order-detail-item-qty { font-size: 13px; color: #8a7560; }

/* Delivery info */
.order-detail-delivery .card-icon { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.order-detail-delivery .card-icon span { color: #f48c25; font-size: 20px; }
.order-detail-delivery .block { margin-bottom: 16px; }
.order-detail-delivery .block:last-child { margin-bottom: 0; }
.order-detail-delivery .label { font-size: 11px; font-weight: 600; color: #8a7560; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.order-detail-delivery .value { font-size: 14px; color: #181411; font-weight: 600; }
.order-detail-delivery .value + .value { font-weight: 400; margin-top: 2px; }
.order-detail-delivery .border-t { border-top: 1px solid #f5f2f0; padding-top: 12px; margin-top: 12px; }
.order-detail-delivery .value.italic { font-style: italic; font-weight: 400; }

/* Summary */
.order-detail-summary .badge-invoice { position: absolute; top: 0; right: 0; background: rgba(244,140,37,.1); color: #f48c25; font-size: 10px; font-weight: 700; padding: 6px 12px; border-radius: 0 0 0 8px; letter-spacing: .1em; }
.order-detail-summary { position: relative; }
.order-detail-summary .row-summary { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 12px; }
.order-detail-summary .row-summary .muted { color: #8a7560; }
.order-detail-summary .row-total { border-top: 1px dashed #e6e0db; padding-top: 16px; margin-top: 8px; display: flex; justify-content: space-between; align-items: flex-end; }
.order-detail-summary .row-total .total-label { font-size: 16px; font-weight: 700; }
.order-detail-summary .row-total .total-value { font-size: 24px; font-weight: 900; color: #f48c25; text-align: right; }
.order-detail-summary .row-total .total-note { font-size: 10px; color: #8a7560; display: block; }
.order-detail-points { margin-top: 20px; padding: 12px; background: #f8f7f5; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; }
.order-detail-points .points-icon { width: 32px; height: 32px; border-radius: 50%; background: rgba(244,140,37,.2); color: #f48c25; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.order-detail-points .points-text small { display: block; font-size: 10px; color: #8a7560; }
.order-detail-points .points-value { font-size: 14px; font-weight: 900; color: #f48c25; }

/* Support card */
.order-detail-support { display: flex; align-items: center; gap: 16px; padding: 16px; background: rgba(244,140,37,.05); border: 1px solid rgba(244,140,37,.2); border-radius: 12px; margin-top: 24px; }
.order-detail-support .support-icon { font-size: 28px; color: #f48c25; }
.order-detail-support .support-title { font-size: 14px; font-weight: 700; }
.order-detail-support .support-desc { font-size: 12px; color: #8a7560; }
