/* Order card + timeline (track page and My orders) */
.ov { background: var(--card); border-radius: 18px; box-shadow: 0 1px 0 rgba(184,137,58,.25), 0 16px 34px -28px rgba(43,33,28,.5); margin-bottom: 14px; overflow: hidden; }
.ov-top { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; background: none; border: 0; text-align: left; cursor: pointer; color: inherit; font: inherit; }
.ov-thumbs { display: flex; align-items: center; }
.ov-thumbs img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; border: 2px solid var(--card); margin-left: -12px; }
.ov-thumbs img:first-child { margin-left: 0; }
.ov-thumbs span { margin-left: 6px; font-size: .78rem; color: var(--muted); }
.ov-main b { font: 600 1.25rem/1.1 var(--serif); display: block; }
.ov-main small { color: var(--muted); font-size: .82rem; }
.ov-body { display: none; padding: 0 16px 16px; border-top: 1px solid rgba(184,137,58,.2); }
.ov.open .ov-body { display: block; }
.ov-note { margin: 14px 0 6px; color: var(--muted); }
.ov-line { list-style: none; margin: 14px 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); position: relative; }
.ov-line li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.ov-line li::before { content: ""; position: absolute; top: 9px; left: -50%; right: 50%; height: 2px; background: var(--sand); z-index: 0; }
.ov-line li:first-child::before { display: none; }
.ov-line li.done::before { background: var(--teal); }
.ov-line i { width: 20px; height: 20px; border-radius: 50%; background: var(--card); border: 2px solid var(--sand); position: relative; z-index: 1; }
.ov-line li.done i { background: var(--teal); border-color: var(--teal); }
.ov-line li.done i::after { content: ""; position: absolute; left: 5px; top: 2px; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ov-line li.now i { box-shadow: 0 0 0 5px rgba(15,110,126,.18); }
.ov-line li.done b { color: var(--ink); }
.ov-line b { font-weight: 500; }
.ov-line small { font-size: .7rem; min-height: 1em; }
.ov-track { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; background: #E2F1F3; border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.ov-track small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ov-track b { font-weight: 500; overflow-wrap: anywhere; }
.ov-track .btn { margin-left: auto; padding: .6em 1.2em; font-size: .86rem; }
.ov-items { list-style: none; padding: 0; margin: 10px 0 0; }
.ov-items li { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; padding-block: 8px; border-bottom: 1px solid rgba(184,137,58,.15); }
.ov-items img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; }
.ov-items b { display: block; font-weight: 500; }
.ov-items small { color: var(--muted); font-size: .8rem; }
.ov-items em { font-style: normal; color: var(--muted); }
.ov-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; color: var(--muted); font-size: .9rem; }
.ov-foot b { color: var(--ink); font: 600 1.2rem var(--serif); }
.ov-help { margin-top: 10px; font-size: .84rem; color: var(--muted); }
.ov-help a { color: var(--teal); }
@media (max-width: 560px) {
  .ov-top { grid-template-columns: auto 1fr; }
  .ov-top .status { grid-column: 1 / -1; justify-self: start; }
  .ov-line li { font-size: .68rem; }
  .ov-line small { display: none; }
  .ov-track .btn { margin-left: 0; width: 100%; }
}
