/**
 * @file Appetising order pages: warm background with faint food icons, the step bar,
 *       the "served" plate after ordering (includes/order_steps.php, includes/order_served.php).
 */
.order-mood {
    background-color: #fbf3e6;
    background-image:
        radial-gradient(circle at 15% 0%, rgba(221, 107, 58, .10), transparent 45%),
        radial-gradient(circle at 90% 100%, rgba(138, 154, 91, .12), transparent 45%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' fill='none' stroke='%23c2582c' stroke-opacity='.10' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg transform='translate(14 16) scale(1.4)'%3E%3Cpath d='M12 21L3.6 6.4a15 15 0 0116.8 0z'/%3E%3Ccircle cx='10' cy='12' r='1.1'/%3E%3Ccircle cx='14' cy='11.4' r='1'/%3E%3C/g%3E%3Cg transform='translate(110 30) scale(1.3)'%3E%3Cpath d='M3 20.5C9 19 15.5 13.5 21 3.5'/%3E%3Cellipse cx='7.8' cy='16' rx='1.7' ry='1' transform='rotate(-35 7.8 16)'/%3E%3Cellipse cx='11.6' cy='11.6' rx='1.7' ry='1' transform='rotate(-35 11.6 11.6)'/%3E%3Cellipse cx='15.4' cy='7.2' rx='1.7' ry='1' transform='rotate(-35 15.4 7.2)'/%3E%3C/g%3E%3Cg transform='translate(40 108) scale(1.3)'%3E%3Cpath d='M6 3v7a2 2 0 002 2v9M10 3v7a2 2 0 01-2 2M8 3v6'/%3E%3Cpath d='M17 21V3c-2 1.5-3 4-3 7.5V13h3'/%3E%3C/g%3E%3Cg transform='translate(120 116) scale(1.3)'%3E%3Cpath d='M4 9h12v6a4 4 0 01-4 4H8a4 4 0 01-4-4z'/%3E%3Cpath d='M16 10.5h1.5a2.5 2.5 0 010 5H16'/%3E%3C/g%3E%3C/svg%3E");
    background-size: auto, auto, 180px 180px;
}
.order-mood .shop-container { position: relative; }
.order-mood .shop-cart-list, .order-mood .shop-card, .order-mood .shop-cart-total-row {
    background: rgba(255, 255, 255, .86);
}
.order-mood .shop-cart-list { padding: 4px 14px; border-radius: 5px; box-shadow: 0 6px 20px rgba(120, 70, 30, .07); }
.order-mood .shop-cart-total-row { padding: 12px 14px; border-radius: 5px; margin: 12px 0 16px; border-top: 0;
    box-shadow: 0 6px 20px rgba(120, 70, 30, .07); }

.order-steps { display: flex; gap: 0; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: none; }
.order-step { flex: 1 1 0; display: flex; flex-direction: column; align-items: center; gap: 6px; position: relative;
    min-width: 0; color: var(--djk-gray, #8f8574); font-size: .8rem; font-weight: 700; text-align: center; }
.order-step + .order-step::before { content: ""; position: absolute; top: 20px; right: 50%; width: 100%; height: 3px;
    background: var(--djk-border, #eae1cf); z-index: 0; }
.order-step.is-done + .order-step::before, .order-step.is-done + .order-step.is-now::before { background: #e9a27f; }
.order-step-dot { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; border-radius: 5px; background: #fff; border: 2px solid var(--djk-border, #eae1cf); }
.order-step-dot .icon { width: 22px; height: 22px; }
.order-step.is-done { color: #a4552f; }
.order-step.is-done .order-step-dot { background: #fdebd9; border-color: #e9a27f; color: #c2582c; }
.order-step.is-now { color: var(--djk-ink, #2e281f); }
.order-step.is-now .order-step-dot { background: var(--djk-terracotta, #dd6b3a); border-color: var(--djk-terracotta, #dd6b3a); color: #fff;
    animation: order-step-pop .5s ease-out; }
.order-step-label { overflow-wrap: anywhere; }
@keyframes order-step-pop {
    0% { transform: scale(.7); }
    70% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

/* the served plate on the confirmation page */
.order-served { display: flex; justify-content: center; margin: 4px 0 10px; color: var(--djk-terracotta, #dd6b3a); }
.order-served svg { width: 120px; height: 96px; overflow: visible; }
.order-served .steam { animation: order-steam 2.4s ease-in-out infinite; opacity: 0; }
.order-served .steam-2 { animation-delay: .8s; }
.order-served .steam-3 { animation-delay: 1.6s; }
.order-served .cloche { transform-origin: 60px 60px; animation: order-cloche 1.1s .3s ease-out both; }
@keyframes order-steam {
    0% { opacity: 0; transform: translateY(6px); }
    40% { opacity: .9; }
    100% { opacity: 0; transform: translateY(-10px); }
}
@keyframes order-cloche {
    0% { transform: translate(0, 0) rotate(0); opacity: 1; }
    100% { transform: translate(34px, -26px) rotate(24deg); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .order-step.is-now .order-step-dot, .order-served .steam, .order-served .cloche { animation: none; }
    .order-served .steam { opacity: .7; }
    .order-served .cloche { opacity: 0; }
}
