/* Castille Lunch Order. Colors match the site: red #b22a22, ink #231f20, line #e2e2e2. */
.clo { --red: #b22a22; --ink: #231f20; --line: #e2e2e2; --muted: #666; --green: #1f7a3a; color: var(--ink); }
.clo-notice { background: #fff6e5; border: 1px solid #f0d9a8; padding: 12px 14px; margin: 0 0 18px; }
.clo-list { border-top: 1px solid var(--line); }
.clo-item { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.clo-item.is-in { background: #fdf7f6; margin: 0 -8px; padding-left: 8px; padding-right: 8px; }
/* The theme styles every button; these resets have to win over it. */
.clo-item .clo-photo, .clo-item .clo-photo:hover, .clo-item .clo-photo:focus { display: block; width: 72px; height: 72px; padding: 0 !important; margin: 0; border: 0 !important; border-radius: 6px; background: none !important; box-shadow: none; cursor: zoom-in; flex: none; line-height: 0; overflow: hidden; min-height: 0; }
.clo-item .clo-photo .clo-img { display: block; width: 100%; height: 100%; }
.clo-img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; flex: none; }
.clo-text { flex: 1; min-width: 0; }
.clo-name { font-weight: 700; font-size: 16px; line-height: 1.3; word-break: normal; overflow-wrap: normal; }
.clo-price { font-weight: 700; color: var(--green); margin-left: 6px; white-space: nowrap; }
.clo-desc { font-size: 13.5px; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.clo-stepper { display: flex; align-items: center; gap: 2px; flex: none; }
.clo-stepper button { width: 40px; height: 40px; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font-size: 22px; line-height: 1; border-radius: 6px; cursor: pointer; padding: 0; }
.clo-stepper button:active { background: var(--ink); color: #fff; }
.clo-qty { min-width: 30px; text-align: center; font-weight: 700; font-size: 17px; }
.clo-item.is-in .clo-qty { color: var(--red); }
.clo-step { margin: 22px 0 0; font-size: 16px; }
.clo-h { font-family: inherit; font-size: 19px; margin: 26px 0 10px; }
.clo-chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.clo-chips::-webkit-scrollbar { display: none; }
.clo-chip { flex: none; border: 1.5px solid #cfcfcf; background: #f6f6f6; color: #777; border-radius: 999px; padding: 10px 16px; font-weight: 600; font-size: 15px; cursor: pointer; line-height: 1.2; display: flex; flex-direction: column; align-items: center; }
.clo-chip small { font-weight: 400; font-size: 12px; color: #999; }
.clo-chip.is-on { background: var(--red); border-color: var(--red); color: #fff; }
.clo-chip.is-on small { color: #fff; opacity: .9; }
.clo-hint { font-size: 13.5px; color: var(--muted); margin: 8px 0 0; }
.clo-note-label { display: block; margin: 24px 0 6px; font-weight: 700; }
.clo-note-label span { font-weight: 400; color: var(--muted); }
.clo-note { width: 100%; border: 1.5px solid var(--line); border-radius: 6px; padding: 10px 12px; font: inherit; font-size: 15px; }
.clo-bar { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 22px -20px 0; padding: 12px 20px; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(0,0,0,.06); z-index: 5; }
.clo-bar-text { display: flex; flex-direction: column; font-size: 14px; color: var(--muted); }
.clo-total { font-size: 20px; font-weight: 700; color: var(--green); }
.clo-pay { background: var(--red); color: #fff; border: 0; border-radius: 6px; padding: 16px 22px; font-weight: 700; font-size: 16px; letter-spacing: .5px; cursor: pointer; white-space: nowrap; }
.clo-pay:disabled { background: #c9c9c9; cursor: default; }
.clo-error { color: var(--red); font-weight: 700; margin: 12px 0 0; }
.clo-fine { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.clo-thanks { border: 1.5px solid var(--ink); padding: 28px; }
.clo-thanks h3 { margin: 0 0 12px; }
.clo-again { font-weight: 700; color: var(--red); }
@media (min-width: 769px) {
	.clo-bar { position: static; margin-left: 0; margin-right: 0; border: 1px solid var(--line); border-radius: 8px; box-shadow: none; }
	.clo-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; border-top: 0; }
	.clo-item { border-top: 1px solid var(--line); border-bottom: 0; }
	.clo-item.is-in { margin: 0; padding-left: 8px; padding-right: 8px; }
}
@media (max-width: 768px) {
	/* Phone rows: photo at left, the name on its own line, then the description beside the stepper. */
	.clo-item { display: grid; grid-template-columns: 64px 1fr auto; grid-template-areas: "img name name" "img desc stepper"; column-gap: 12px; row-gap: 4px; align-items: center; }
	.clo-item .clo-photo { grid-area: img; width: 64px; height: 64px; }
	.clo-text { display: contents; }
	.clo-name { grid-area: name; }
	.clo-desc { grid-area: desc; }
	.clo-stepper { grid-area: stepper; }
	.clo-stepper button { width: 36px; height: 36px; font-size: 20px; }
	.clo-qty { min-width: 26px; }
	/* Day chips: two full and 73% of the third, so the row obviously scrolls. */
	.clo-days .clo-chip { flex: 0 0 calc((100% - 16px) / 2.73); padding-left: 8px; padding-right: 8px; }
}

/* Lightbox */
.clo-lightbox { position: fixed; inset: 0; z-index: 2147483000; font-family: 'Open Sans', sans-serif; background: rgba(20, 16, 16, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.clo-lightbox[hidden] { display: none; }
.clo-lightbox img { max-width: 100%; max-height: 78vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.5); }
.clo-lightbox-caption { color: #fff; font-weight: 700; font-size: 17px; margin: 14px 0 0; text-align: center; }
.clo-lightbox-close { position: absolute; top: 14px; right: 16px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
