.product-tile.is-unavailable .tile-photo { filter: grayscale(1); opacity: .55; }
.product-tile.is-unavailable { cursor: not-allowed; }
.menu-unavailable-label { display: inline-block; padding: .35rem .65rem; margin-top: .6rem; border-radius: 100px; background: #eee8ef; color: #4c3e53; font-size: .9rem; font-weight: 800; }
.cart-unavailable { color: #a32430; font-weight: 800; }
.basket-item > .cart-unavailable { grid-column: 1 / -1; flex-basis: 100%; margin: .7rem 0 0; }
.customer-orders { margin: 1rem auto; max-width: 1200px; padding: 0 1rem; }
.cart-screen .customer-orders { padding: 0; margin: 0 0 1rem; }
.cart-screen .checkout-receipt { margin: 1.25rem 0 0; padding: 0; color: #3a2c46; }
.cart-screen .checkout-receipt > .customer-order-card { margin: 0; }
.customer-order-card { padding: 1.15rem 1.25rem; margin: .65rem 0; border: 1px solid #dac9aa; border-radius: 20px; background: #fff8e8; color: #3a2c46; }
.customer-order-card.is-confirmed { border-color: #96c5a6; background: #edf8ef; }
.customer-order-card.is-terminal { background: #f4f0f5; border-color: #d5ccd9; }
.customer-order-card h3 { margin: .3rem 0 .55rem; font-size: clamp(1.1rem, 2.8vw, 1.4rem); }
.customer-order-card p { margin: .45rem 0; line-height: 1.5; }
.customer-order-card small { display: block; color: #60546a; }
.customer-order-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .7rem; }
.customer-order-actions button { border: 1px solid #d0bed8; border-radius: 100px; padding: .6rem .85rem; background: #fff; color: #4f245e; font: inherit; font-weight: 700; cursor: pointer; }
.practice-account-summary { padding: .8rem 1rem; border-radius: 16px; border: 1px solid #e1d2e8; background: #f8f2fb; line-height: 1.5; }
.practice-account-summary strong, .practice-account-summary small { display: block; }
.customer-flow-notice { position: fixed; z-index: 200; bottom: 100px; left: 50%; transform: translateX(-50%); width: min(90vw, 520px); padding: 1rem 1.2rem; border-radius: 18px; color: #fff; background: #4d245b; box-shadow: 0 10px 36px #29153433; font-weight: 700; }
.customer-order-card { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr); overflow: hidden; padding: 0; border-color: #e8dbea; border-radius: 28px; background: linear-gradient(135deg,#fffaf0,#fff 70%); box-shadow: 0 10px 34px #431b5310; }
.customer-order-card.is-confirmed { background: linear-gradient(135deg,#f1faf4,#fff 75%); border-color: #c7e1d0; }
.customer-order-card.is-terminal { background: linear-gradient(135deg,#f6f0fb,#fff9e9); border-color: #e0d1e8; }
.customer-order-visual { position: relative; display: grid; place-items: center; min-height: 210px; background: radial-gradient(ellipse at 45% 50%,#f8e5b9a6,transparent 70%); }
.customer-order-visual img { width: 100%; max-width: 320px; height: auto; display: block; animation: receipt-arrive .55s cubic-bezier(.22,.76,.22,1) both; }
.customer-order-visual > span { position: absolute; bottom: 16px; font-size: 10px; font-weight: 900; letter-spacing: .28em; color: #744f7d; }
.customer-order-copy { padding: clamp(20px,3.2vw,34px); align-self: center; min-width: 0; }
.customer-order-copy > small:first-child { text-transform: uppercase; letter-spacing: .06em; font-size: .76rem; font-weight: 800; }
.customer-order-copy h3 { margin-top: .55rem; font-size: clamp(1.35rem,3.4vw,1.9rem); line-height: 1.14; letter-spacing: -.035em; color: #32123f; }
.customer-order-amounts { padding: .65rem 0; font-size: .95rem; }
.customer-order-alert { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid #4c245e15; }
.customer-order-alert button { display: inline-flex; align-items: center; gap: .45rem; border: 0; border-radius: 100px; padding: .8rem 1rem; background: #55236d; color: #fff; font: inherit; font-size: .92rem; font-weight: 800; cursor: pointer; }
.customer-order-alert button[aria-pressed="true"] { background: #e8f1e8; color: #245638; }
.customer-order-alert button:disabled { opacity: .65; cursor: default; }
.customer-order-alert small { margin-top: .55rem; font-size: .78rem; line-height: 1.5; }
.customer-order-alert button + button { margin-top: .5rem; }
.customer-arrival { margin: 1rem 0; padding: 1rem; border: 1px solid #e7cf94; border-radius: 18px; background: #fff8e8; }
.customer-arrival .customer-arrival-wait { margin-top: 0; color: #5a3816; font-size: .9rem; font-weight: 750; }
.customer-arrival [data-arrival-countdown] { display: block; margin-top: .4rem; color: #4b1d5d; font-size: 1.7rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.customer-arrival [data-expired="true"] { font-size: .92rem; line-height: 1.5; }
.customer-arrival > small { line-height: 1.5; }
.customer-arrival button { margin-top: .8rem; min-height: 46px; padding: .75rem 1.4rem; border: 0; border-radius: 100px; background: #55236d; color: #fff; font: inherit; font-weight: 850; cursor: pointer; }
.customer-arrival button:disabled { opacity: .65; cursor: default; }
.customer-arrival-ack { display: block; margin-top: .8rem; color: #2b6848; font-size: .95rem; line-height: 1.4; }
.previous-orders { margin-top: 1.6rem; padding: 1.25rem; border: 1px solid #e5d7e9; border-radius: 24px; background: #fff; box-shadow: 0 8px 28px #431b5308; }
.previous-orders-heading { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.previous-orders-heading small { color: #916f2f; font-size: .65rem; font-weight: 900; letter-spacing: .17em; }
.previous-orders h3 { margin: .25rem 0; color: #391447; font-size: 1.4rem; letter-spacing: -.025em; }
.previous-orders > p { margin: .7rem 0 1rem; color: #76667d; font-size: .9rem; line-height: 1.5; }
.previous-orders button { border: 1px solid #dcc9e3; background: #f9f3fc; color: #58226d; border-radius: 100px; padding: .6rem .85rem; font: inherit; font-size: .82rem; font-weight: 800; cursor: pointer; }
.previous-orders button:disabled { opacity: .55; cursor: default; }
.previous-order { border-top: 1px solid #eee5f1; padding: .9rem 0; }
.previous-order summary { display: flex; justify-content: space-between; gap: .75rem; align-items: center; cursor: pointer; list-style: none; }
.previous-order summary::-webkit-details-marker { display: none; }
.previous-order summary strong { display: block; color: #4a2258; }
.previous-order summary small { display: block; color: #7b6a82; font-size: .76rem; line-height: 1.5; margin-top: .25rem; }
.previous-order summary > b { flex-shrink: 0; color: #4a2258; font-size: .9rem; }
.previous-order-items { padding: .8rem 0 .2rem; list-style: none; }
.previous-order-items > li { margin: .65rem 0; padding: .8rem; border-radius: 12px; background: #faf7fc; font-size: .9rem; }
.previous-order-items ul { list-style: none; padding: .3rem 0 0; line-height: 1.65; }
.previous-order-removed { color: #a43840; }
.previous-order-added { color: #257044; }
.previous-orders .previous-orders-error { color: #9b3843; }
.previous-orders-more { margin-top: .75rem; width: 100%; }
@keyframes receipt-arrive { from { opacity: 0; transform: translateY(12px) scale(.96); } to { opacity: 1; transform: none; } }
@media(max-width:580px) { .customer-order-card { grid-template-columns: 1fr; border-radius: 24px; } .customer-order-visual { min-height: 150px; height: 155px; } .customer-order-visual img { height: 170px; width: auto; max-width: 100%; } .customer-order-visual > span { bottom: 5px; font-size: 8px; } .customer-order-copy { padding: 18px 22px 24px; } .customer-order-copy h3 { font-size: 1.55rem; } .previous-orders { padding: 1rem; } }
@media(prefers-reduced-motion:reduce) { .customer-order-visual img { animation: none; } }
.checkout-receipt .customer-order-card { grid-template-columns: 1fr; background: linear-gradient(145deg,#fffbf2,#faf5fe); border-color: #e6dce9; }
.checkout-receipt .customer-order-card.is-terminal { background: linear-gradient(145deg,#fffbf2,#f3f9f3); }
.checkout-receipt .customer-order-visual { height: 210px; min-height: 210px; background: radial-gradient(ellipse at 50% 65%,#f6dfa65c,transparent 70%); }
.checkout-receipt .customer-order-copy { text-align: center; padding: 10px 24px 24px; }
.checkout-receipt .customer-order-copy h3 { font-size: clamp(1.55rem,4.8vw,2rem); }
.checkout-receipt .customer-order-copy > p:not(.customer-order-amounts) { font-size: .92rem; }
.checkout-receipt [data-order-stage="aceptado"] .customer-order-copy > p:not(.customer-order-amounts),
.checkout-receipt [data-order-stage="en_ruta"] .customer-order-copy > p:not(.customer-order-amounts) { display: none; }
.checkout-receipt .customer-order-amounts { font-size: .82rem; color: #796781; padding: .3rem 0; }
.checkout-receipt .customer-order-copy > small:not(:first-child) { font-size: .76rem; }
.checkout-receipt .customer-order-actions { justify-content: center; }
.checkout-receipt .customer-order-alert small { max-width: 360px; margin-inline: auto; }
.customer-order-card[data-order-stage="en_ruta"] .customer-order-visual > span { display: none; }
