@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Lora:wght@400;500;600&family=Cormorant+Garamond:wght@600;700&family=DM+Sans:wght@400;600;700;800;900&family=Fraunces:opsz,wght@9..144,600;9..144,700;9..144,800;9..144,900&family=Libre+Baskerville:wght@400;700&family=Manrope:wght@400;600;700;800&family=Nunito+Sans:wght@400;600;700;800;900&family=Playfair+Display:wght@600;700;800&display=swap");

:root {
  --cco-bg: #f7f0e1;
  --cco-card: #fffaf1;
  --cco-ink: #2a1d13;
  --cco-muted: #8a7460;
  --cco-green: #4a3526;
  --cco-green-soft: #f0e3cc;
  --cco-gold: #b6864a;
  --cco-border: #ecdfc6;
  --cco-danger: #9d3a2f;
  --cco-shadow: 0 10px 28px rgba(43, 30, 18, 0.08);
  --cco-font-body: Manrope, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cco-font-heading: Fraunces, Georgia, "Times New Roman", serif;
}

.cco-font-fraunces-manrope { --cco-font-body: Manrope, Inter, ui-sans-serif, system-ui, sans-serif; --cco-font-heading: Fraunces, Georgia, serif; }
.cco-font-playfair-manrope { --cco-font-body: Manrope, Inter, ui-sans-serif, system-ui, sans-serif; --cco-font-heading: "Playfair Display", Georgia, serif; }
.cco-font-cormorant-dm { --cco-font-body: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif; --cco-font-heading: "Cormorant Garamond", Georgia, serif; }
.cco-font-libre-nunito { --cco-font-body: "Nunito Sans", Inter, ui-sans-serif, system-ui, sans-serif; --cco-font-heading: "Libre Baskerville", Georgia, serif; }


.cco-app * { box-sizing: border-box; }
.cco-app {
  color: var(--cco-ink);
  font-family: var(--cco-font-body);
}
.cco-app h1,
.cco-app h2,
.cco-app h3,
.cco-app h4 {
  font-family: var(--cco-font-heading);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 8px;
}
.cco-app h1 { font-size: clamp(28px, 5vw, 44px); }
.cco-app h2 { font-size: 24px; }
.cco-app h3 { font-size: 18px; }
.cco-app h4 { font-size: 15px; }
.cco-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}
.cco-hero,
.cco-owner-header {
  background: linear-gradient(135deg, #3b2a1d, #6b4e35);
  color: #fffaf3;
  padding: 28px;
  border-radius: 28px;
  box-shadow: var(--cco-shadow);
  margin-bottom: 16px;
}
.cco-owner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cco-kicker {
  margin: 0 0 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
  opacity: .8;
}
.cco-hero h1,
.cco-owner-header h1 {
  margin: 0;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.05;
}
.cco-hero p,
.cco-owner-header p { margin-bottom: 0; }
.cco-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 16px 0;
  padding-bottom: 4px;
}
.cco-tabs button,
.cco-button,
.cco-button-secondary,
.cco-app button {
  border: 0;
  background: var(--cco-green);
  color: #fdf8ee;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .01em;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(43, 30, 18, 0.1);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.cco-app button:hover,
.cco-button:hover,
.cco-button-secondary:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(43, 30, 18, 0.14); opacity: .96; }
.cco-app button:active,
.cco-button:active,
.cco-button-secondary:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(43, 30, 18, 0.1); }
.cco-big { width: 100%; justify-content: center; padding: 16px !important; font-size: 15.5px !important; }
.cco-segmented {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 14px;
}
.cco-segmented button {
  background: #fff !important;
  color: var(--cco-ink) !important;
  border: 1.5px solid var(--cco-border) !important;
  box-shadow: none !important;
  padding: 13px 8px !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  border-radius: 14px !important;
  flex-direction: column;
  gap: 2px !important;
}
.cco-segmented button.active {
  background: var(--cco-green) !important;
  color: #fff !important;
  border-color: var(--cco-green) !important;
}
.cco-error-banner {
  background: #fbe3e0;
  border: 1px solid #e7a99f;
  color: #7a241a;
  font-weight: 700;
  font-size: 13.5px;
  border-radius: 14px;
  padding: 12px 14px;
  margin: 4px 0 14px;
}
.cco-tabs button {
  background: #fff;
  color: var(--cco-green);
  border: 1px solid var(--cco-border);
  white-space: nowrap;
  box-shadow: none;
}
.cco-tabs button:hover { box-shadow: none; }
.cco-tabs button.active {
  background: var(--cco-green);
  color: #fff;
}
.cco-secondary,
.cco-button-secondary {
  background: var(--cco-green-soft) !important;
  color: var(--cco-green) !important;
  box-shadow: none !important;
}
.cco-danger {
  background: var(--cco-danger) !important;
  box-shadow: 0 6px 16px rgba(157, 58, 47, 0.2) !important;
}
.cco-card {
  background: var(--cco-card);
  border: 1px solid var(--cco-border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(43, 30, 18, 0.07);
}
.cco-card h2,
.cco-card h3 { margin-top: 0; }
.cco-card p { color: var(--cco-muted); }
.cco-stack { display: grid; gap: 14px; }
.cco-grid { display: grid; gap: 14px; }
.cco-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cco-menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cco-menu-card { display: flex; flex-direction: column; gap: 10px; }
.cco-menu-card img,
.cco-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  object-fit: cover;
  background: #efe4d2;
  display: grid;
  place-items: center;
  font-size: 42px;
}
.cco-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cco-row.between { justify-content: space-between; }
.cco-row.wrap { flex-wrap: wrap; }
.cco-section-title {
  font-weight: 900;
  margin: 8px 0 0;
  font-size: 20px;
}
.cco-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.cco-tags span,
.cco-points,
.cco-loyalty-lock {
  background: var(--cco-green-soft);
  color: var(--cco-green);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
}
.cco-points { font-size: 16px; padding: 10px 14px; }
.cco-total-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--cco-border);
  border-bottom: 1px solid var(--cco-border);
  margin: 12px 0;
}
.cco-app input,
.cco-app select,
.cco-app textarea {
  width: 100%;
  border: 1px solid var(--cco-border);
  background: #fff;
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--cco-ink);
  font: inherit;
  margin: 6px 0;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.cco-app input:focus,
.cco-app select:focus,
.cco-app textarea:focus {
  outline: none;
  border-color: var(--cco-green);
  box-shadow: 0 0 0 3px rgba(59, 42, 29, 0.12);
}
.cco-app textarea { min-height: 92px; resize: vertical; }
.cco-label { display: block; font-weight: 700; margin-top: 14px; margin-bottom: 2px; font-size: 13.5px; color: var(--cco-ink); opacity: .82; }
.cco-label small { display: block; font-weight: 500; color: var(--cco-muted); text-transform: none; letter-spacing: 0; }
.cco-required-mark { color: var(--cco-gold); margin-left: 2px; font-weight: 700; }
.cco-field-error {
  border-color: var(--cco-danger) !important;
  box-shadow: 0 0 0 3px rgba(157, 58, 47, 0.12) !important;
}
.cco-field-error-text {
  color: var(--cco-danger);
  font-size: 12.5px;
  font-weight: 700;
  margin: -2px 0 8px;
}
.cco-step-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 4px;
}
.cco-step-header .cco-step-num {
  font-family: var(--cco-font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--cco-gold);
}
.cco-step-header h3 { margin: 0; }
.cco-step-sub { color: var(--cco-muted); font-size: 13px; margin: 0 0 14px; }
.cco-checkout-sticky-bar {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: var(--cco-card);
  border-top: 1px solid var(--cco-border);
  box-shadow: 0 -10px 24px rgba(43, 30, 18, 0.08);
  padding: 14px 16px;
  margin: 18px -18px -18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cco-checkout-sticky-bar .cco-sticky-total { display: flex; flex-direction: column; line-height: 1.2; }
.cco-checkout-sticky-bar .cco-sticky-total strong { font-family: var(--cco-font-heading); font-size: 20px; }
.cco-checkout-sticky-bar .cco-sticky-total span { font-size: 12px; color: var(--cco-muted); }
.cco-checkout-sticky-bar button { flex-shrink: 0; padding: 14px 22px !important; }
.cco-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--cco-ink);
}
.cco-check input { width: auto; margin: 0; }
.cco-notice {
  background: #fff6d8;
  border: 1px solid #e8d99b;
  color: #5c4810;
  border-radius: 18px;
  padding: 12px 14px;
  margin: 12px 0;
}
.cco-alert-bar {
  background: #fde7e7;
  border: 1px solid #f0b8b8;
  color: #7a1f1f;
  border-radius: 14px;
  padding: 10px 14px;
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 14px;
}
.cco-secondary.small {
  padding: 6px 10px !important;
  font-size: 12px;
  border-radius: 10px;
}
.cco-modal {
  position: fixed;
  inset: 0;
  background: rgba(26, 18, 10, .45);
  display: grid;
  place-items: center;
  padding: 16px;
  z-index: 99999;
}
.cco-modal-card {
  background: var(--cco-card);
  width: min(520px, 100%);
  border-radius: 28px;
  padding: 22px;
  position: relative;
  max-height: 86vh;
  overflow: auto;
}
.cco-x {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  padding: 0 !important;
  justify-content: center;
}
.cco-reward-number {
  font-size: 64px;
  font-weight: 950;
  color: var(--cco-green);
  line-height: 1;
}
.cco-owner-header .cco-secondary { background: rgba(255,255,255,.22) !important; color: #fff !important; }
.cco-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.cco-metrics div {
  background: #fff;
  border: 1px solid var(--cco-border);
  border-radius: 20px;
  padding: 16px;
}
.cco-metrics strong { display: block; font-size: 26px; color: var(--cco-green); }
.cco-metrics span { color: var(--cco-muted); font-size: 13px; }
.cco-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(220px, 1fr));
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.cco-column {
  background: rgba(255,255,255,.55);
  border: 1px dashed var(--cco-border);
  border-radius: 22px;
  padding: 12px;
  min-height: 260px;
}
.cco-column h3 { text-transform: capitalize; margin: 4px 0 12px; }
.cco-order-card { margin-bottom: 12px; }
.cco-order-card ul { padding-left: 18px; color: var(--cco-muted); }
.cco-note {
  background: #fff;
  border-radius: 14px;
  padding: 10px;
  color: var(--cco-ink) !important;
}
.cco-phone-link { color: inherit; text-decoration: underline; font-weight: 600; }
.cco-address {
  background: #f3ece0;
  border-radius: 12px;
  padding: 8px 10px;
  margin: 6px 0;
  font-size: 13px;
}
.cco-muted { color: var(--cco-muted); }
.cco-link {
  background: none !important;
  color: var(--cco-green) !important;
  padding: 0 !important;
  border-radius: 0 !important;
  text-decoration: underline;
  font-weight: 800;
}
.cco-login-card { max-width: 420px; margin: 0 auto; }

@media (max-width: 900px) {
  .cco-menu-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cco-grid.two { grid-template-columns: 1fr; }
  .cco-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cco-shell { padding: 10px; }
  .cco-hero, .cco-owner-header { border-radius: 22px; padding: 20px; }
  .cco-menu-grid { grid-template-columns: 1fr; }
  .cco-row.between { align-items: flex-start; }
  .cco-row { flex-wrap: wrap; }
  .cco-metrics { grid-template-columns: 1fr 1fr; }
  .cco-board { grid-template-columns: repeat(5, 82vw); }
}
.cco-avatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid var(--cco-green-soft);
}
.cco-thumb {
  width: 100%;
  max-height: 170px;
  object-fit: cover;
  border-radius: 18px;
  margin: 10px 0;
  background: #efe4d2;
}
.cco-menu-admin textarea { min-height: 70px; }
.option-tags span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.option-tags span.is-off {
  opacity: .55;
  text-decoration: line-through;
}
.cco-low {
  border-color: #c7522a !important;
  background: #fff3ea !important;
}
.cco-danger-text {
  color: var(--cco-danger) !important;
  font-weight: 900;
}
.cco-wide { grid-column: 1 / -1; }
.cco-app code {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--cco-border);
  border-radius: 8px;
  padding: 3px 6px;
  font-size: 12px;
  word-break: break-all;
}

/* v1.2 customer redesign */
.cco-customer-shell {
  max-width: 1180px;
  padding-bottom: 110px;
}
.cco-hero.cco-hero-customer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  align-items: center;
  min-height: 230px;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 20%, rgba(255,250,243,.22), transparent 24%),
    radial-gradient(circle at 70% 86%, rgba(240,227,204,.30), transparent 24%),
    linear-gradient(135deg, #2b1d12 0%, #6b4e35 48%, #6f5a3a 100%);
}
.cco-hero h1,
.cco-owner-header h1 {
  color: #fffaf3 !important;
  font-family: var(--cco-font-heading);
  letter-spacing: -0.045em;
}
.cco-hero p,
.cco-owner-header p {
  color: rgba(255,250,243,.92) !important;
}
.cco-hero-copy { position: relative; z-index: 2; max-width: 690px; }
.cco-hero-side {
  position: relative;
  min-height: 180px;
  display: grid;
  justify-items: end;
  align-items: center;
  z-index: 2;
}
.cco-profile-trigger {
  position: absolute;
  top: -8px;
  right: 0;
  background: rgba(255,250,243,.94) !important;
  color: var(--cco-green) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.12);
  z-index: 5;
  min-height: 44px;
}
.cco-profile-trigger.guest { padding: 12px 18px; }
.cco-profile-trigger img,
.cco-profile-trigger span {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cco-green-soft);
  color: var(--cco-green);
  object-fit: cover;
}
.cco-hero-art {
  position: relative;
  width: 260px;
  height: 180px;
  margin-top: 34px;
}
.moka-pot {
  position: absolute;
  right: 42px;
  bottom: 18px;
  width: 116px;
  height: 112px;
  background: linear-gradient(160deg, #f2eadf, #b99a6d);
  clip-path: polygon(28% 0, 72% 0, 92% 40%, 73% 100%, 27% 100%, 8% 40%);
  border: 3px solid rgba(255,250,243,.55);
  box-shadow: 0 18px 32px rgba(0,0,0,.22);
}
.moka-pot::before {
  content: "";
  position: absolute;
  top: 36px;
  right: -34px;
  width: 38px;
  height: 42px;
  border: 8px solid #d8c2a2;
  border-left: 0;
  border-radius: 0 999px 999px 0;
}
.moka-pot::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: 50px;
  height: 4px;
  background: rgba(43,30,18,.55);
  border-radius: 99px;
}
.moka-pot span {
  position: absolute;
  left: 32px;
  right: 32px;
  top: -16px;
  height: 18px;
  background: #3b2a1d;
  border-radius: 18px 18px 4px 4px;
}
.hero-cup {
  position: absolute;
  left: 18px;
  bottom: 26px;
  width: 74px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(255,250,243,.92);
  border-radius: 14px 14px 28px 28px;
  font-size: 30px;
  box-shadow: 0 12px 24px rgba(0,0,0,.16);
}
.steam {
  position: absolute;
  width: 6px;
  height: 48px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(255,250,243,0), rgba(255,250,243,.85));
  filter: blur(.2px);
}
.steam.s1 { left: 48px; top: 36px; transform: rotate(8deg); }
.steam.s2 { right: 96px; top: 4px; transform: rotate(-8deg); }
.steam.s3 { right: 72px; top: 18px; transform: rotate(12deg); }
.coffee-beans { position: absolute; right: 6px; bottom: 8px; display: flex; gap: 8px; }
.coffee-beans i {
  width: 18px;
  height: 26px;
  background: #5b3823;
  border-radius: 50%;
  transform: rotate(28deg);
  box-shadow: inset 5px 0 rgba(255,255,255,.18);
}
.cco-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 8px;
  backdrop-filter: blur(12px);
  background: color-mix(in srgb, var(--cco-bg) 82%, transparent);
}
.cco-main-tabs { margin: 0; }
.cco-main-tabs button { font-size: 14px; letter-spacing: .03em; }
.cco-guest-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cco-loyalty-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  background: #fff;
  border: 1px solid var(--cco-border);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 8px 24px rgba(43, 30, 18, 0.06);
}
.cco-loyalty-strip strong { color: var(--cco-green); }
.cco-loyalty-strip span { color: var(--cco-muted); font-size: 13px; }
.cco-filter-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  background: #fffaf3;
  border: 1px solid var(--cco-border);
  border-radius: 22px;
  padding: 12px;
}
.cco-filter-title { font-weight: 900; margin-right: 4px; }
.cco-filter-chips { display: flex; gap: 8px; overflow-x: auto; }
.cco-filter-chips button {
  background: #fff !important;
  color: var(--cco-green) !important;
  border: 1px solid var(--cco-border);
  white-space: nowrap;
}
.cco-filter-chips button.active {
  background: var(--cco-green) !important;
  color: #fff !important;
}
.cco-mini-filter {
  width: auto !important;
  min-width: 180px;
  margin-left: auto !important;
}
.cco-image-wrap { position: relative; }
.cco-image-wrap img,
.cco-image-wrap .cco-img-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
}
.cco-badge-wrap {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cco-badge {
  color: #fff;
  border-radius: 999px;
  padding: 6px 9px;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(0,0,0,.16);
}
.cco-badge.new { background: #c7522a; }
.cco-badge.signature { background: #b6864a; }
.cco-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.cco-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #fff;
  border: 1px solid var(--cco-border);
  border-radius: 999px;
  overflow: hidden;
  min-height: 43px;
}
.cco-qty button {
  width: 42px;
  min-height: 42px;
  border-radius: 0 !important;
  padding: 0 !important;
  justify-content: center;
  font-size: 20px;
  background: var(--cco-green) !important;
}
.cco-qty span {
  min-width: 34px;
  padding: 0 10px;
  text-align: center;
  font-weight: 950;
}
.cco-floating-cart {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9999;
  display: grid !important;
  grid-template-columns: auto auto;
  grid-template-areas: "label count" "total total";
  align-items: center;
  gap: 2px 9px;
  min-width: 116px;
  border-radius: 22px !important;
  padding: 12px 16px !important;
  box-shadow: 0 14px 30px rgba(43,30,18,.18);
}
.cco-floating-cart span { grid-area: label; }
.cco-floating-cart strong {
  grid-area: count;
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  background: #fffaf3;
  color: var(--cco-green);
  border-radius: 999px;
}
.cco-floating-cart small { grid-area: total; opacity: .85; font-weight: 800; }
.cco-cart-line {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding-right: 48px;
}
.cco-cart-controls {
  display: grid;
  justify-items: end;
  gap: 8px;
}
.cco-delete-line {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
  height: 30px;
  border-radius: 999px !important;
  padding: 0 !important;
  justify-content: center;
  background: #f0dfd8 !important;
  color: var(--cco-danger) !important;
}
.cco-upi-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px dashed var(--cco-border);
  border-radius: 20px;
  padding: 14px;
  margin: 12px 0;
}
.cco-upi-box p { margin: 6px 0; }
.cco-upi-qr {
  width: 132px;
  height: 132px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--cco-border);
  padding: 8px;
}
.cco-profile-modal { max-width: 440px; }
.cco-profile-photo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 16px;
}
.cco-profile-photo img,
.cco-profile-photo span {
  width: 86px;
  height: 86px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  object-fit: cover;
  background: var(--cco-green-soft);
  font-size: 34px;
}
.cco-profile-photo label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cco-green-soft);
  color: var(--cco-green);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}
.cco-profile-photo input { display: none; }

.cco-menu-card h3,
.cco-card h2 {
  font-family: var(--cco-font-heading);
  letter-spacing: -0.025em;
}
.cco-closed-card {
  max-width: 760px;
  margin: 20px auto 0;
  text-align: center;
  padding: clamp(24px, 5vw, 46px);
  background:
    radial-gradient(circle at 20% 12%, rgba(240,227,204,.7), transparent 24%),
    #fffaf3;
}
.cco-closed-card h2 {
  font-size: clamp(28px, 4vw, 46px);
  margin: 8px 0 10px;
  color: var(--cco-green);
}
.cco-closed-card p {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  font-size: 16px;
}
.cco-closed-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--cco-green-soft);
  font-size: 34px;
}

@media (min-width: 1180px) {
  .cco-menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .cco-hero.cco-hero-customer { grid-template-columns: 1fr; min-height: 0; }
  .cco-hero-side { min-height: 132px; justify-items: start; }
  .cco-profile-trigger { right: 0; top: 0; }
  .cco-hero-art { width: 210px; height: 130px; margin-top: 28px; transform: scale(.78); transform-origin: left bottom; }
  .cco-guest-card { align-items: flex-start; flex-direction: column; }
  .cco-mini-filter { width: 100% !important; margin-left: 0 !important; }
  .cco-cart-line { grid-template-columns: 1fr; }
  .cco-cart-controls { justify-items: start; }
  .cco-upi-box { grid-template-columns: 1fr; }
  .cco-upi-qr { width: 160px; height: 160px; }
}


/* v1.2.2 — photo-led customer hero */
.cco-hero.cco-hero-customer {
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(26,18,10,.96) 0%, rgba(43,30,18,.86) 48%, rgba(43,30,18,.18) 100%),
    var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1400&q=82"));
  background-size: cover;
  background-position: center right;
  box-shadow: 0 22px 55px rgba(43,30,18,.16);
}
.cco-hero.cco-hero-customer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 28% 18%, rgba(255,250,243,.18), transparent 24%), radial-gradient(circle at 72% 68%, rgba(255,250,243,.14), transparent 22%);
  z-index: 0;
  pointer-events: none;
}
.cco-hero-art {
  position: relative;
  width: 260px;
  height: 150px;
  margin-top: 42px;
  border-radius: 28px;
  border: 1px solid rgba(255,250,243,.32);
  background:
    linear-gradient(180deg, rgba(255,250,243,.04), rgba(255,250,243,.18)),
    var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1400&q=82"));
  background-size: cover;
  background-position: center;
  box-shadow: 0 20px 40px rgba(0,0,0,.18);
  overflow: hidden;
}
.cco-hero-art span {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,250,243,.92);
  color: var(--cco-green);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.cco-hero-art .steam,
.cco-hero-art .moka-pot,
.cco-hero-art .hero-cup,
.cco-hero-art .coffee-beans { display: none !important; }
.cco-hero-preview {
  width: 100%;
  max-width: 420px;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--cco-border);
  margin-top: 10px;
}
@media (max-width: 760px) {
  .cco-hero.cco-hero-customer {
    background:
      linear-gradient(180deg, rgba(26,18,10,.96) 0%, rgba(43,30,18,.82) 58%, rgba(43,30,18,.32) 100%),
      var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1400&q=82"));
    background-size: cover;
    background-position: center;
  }
  .cco-hero-art { width: 100%; max-width: 260px; height: 120px; margin-top: 54px; transform: none; }
}

/* v1.3.0 — Blue Tokai-inspired ordering UX: cleaner app shell, compact hero, list-first menu */
.cco-customer-shell {
  max-width: 1120px;
  padding: 22px 16px 120px;
}
.cco-appbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: -6px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(234,223,206,.78);
  border-radius: 22px;
  background: rgba(255,250,243,.88);
  box-shadow: 0 10px 30px rgba(43,30,18,.06);
  backdrop-filter: blur(16px);
}
.cco-brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.cco-brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: #2b1d12;
  color: #fffaf3;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
}
.cco-brand-lockup strong {
  display: block;
  font-weight: 950;
  letter-spacing: -.02em;
}
.cco-brand-lockup span {
  display: block;
  color: var(--cco-muted);
  font-size: 12px;
  margin-top: 1px;
}
.cco-appbar-profile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}
.cco-appbar .cco-profile-trigger {
  position: static !important;
  top: auto !important;
  right: auto !important;
  min-height: 42px;
  padding: 8px 13px !important;
  border: 1px solid var(--cco-border);
  box-shadow: none;
  background: #fff !important;
}
.cco-hero.cco-hero-customer {
  grid-template-columns: 1fr !important;
  min-height: 250px;
  padding: clamp(24px, 5vw, 46px);
  border-radius: 32px;
  background:
    linear-gradient(90deg, rgba(26,18,10,.94) 0%, rgba(43,30,18,.82) 44%, rgba(43,30,18,.16) 100%),
    var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1600&q=82"));
  background-size: cover;
  background-position: center right;
  margin-bottom: 14px;
}
.cco-hero-copy { max-width: 620px; }
.cco-hero h1 {
  max-width: 620px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: .95;
  letter-spacing: -.06em;
}
.cco-hero-copy > p:not(.cco-kicker) {
  max-width: 560px;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.55;
}
.cco-hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.cco-hero-points span {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid rgba(255,250,243,.28);
  border-radius: 999px;
  background: rgba(255,250,243,.14);
  color: #fffaf3;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
}
.cco-hero-side,
.cco-hero-art { display: none !important; }
.cco-topbar {
  margin: 0 0 14px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
}
.cco-main-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
}
.cco-main-tabs button {
  justify-content: center;
  border-radius: 16px;
  padding: 13px 14px;
  font-size: 13px;
  box-shadow: 0 8px 18px rgba(43,30,18,.04);
}
.cco-store-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.cco-store-panel {
  position: sticky;
  top: 82px;
  display: grid;
  gap: 12px;
}
.cco-store-note,
.cco-loyalty-strip,
.cco-guest-card {
  border: 1px solid var(--cco-border);
  background: #fffaf3;
  border-radius: 22px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(43,30,18,.05);
}
.cco-store-note strong,
.cco-store-note span {
  display: block;
}
.cco-store-note span {
  color: var(--cco-muted);
  font-size: 13px;
  line-height: 1.45;
  margin-top: 4px;
}
.cco-loyalty-strip {
  width: 100%;
  border-radius: 22px;
  align-items: flex-start;
  flex-direction: column;
  gap: 3px;
}
.cco-loyalty-strip strong {
  font-size: 28px;
  letter-spacing: -.04em;
}
.cco-menu-main {
  min-width: 0;
}
.cco-filter-wrap {
  position: sticky;
  top: 82px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  border-radius: 22px;
  background: rgba(255,250,243,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 26px rgba(43,30,18,.06);
}
.cco-filter-title {
  white-space: nowrap;
  color: var(--cco-green);
}
.cco-filter-chips {
  min-width: 0;
  scrollbar-width: none;
}
.cco-filter-chips::-webkit-scrollbar { display: none; }
.cco-filter-chips button {
  border-radius: 14px !important;
  padding: 11px 14px !important;
  font-size: 13px;
}
.cco-mini-filter {
  margin: 0 !important;
  min-width: 170px;
  border-radius: 14px !important;
  padding: 11px 13px !important;
}
.cco-category-section {
  margin-bottom: 22px;
}
.cco-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  padding: 0 2px;
}
.cco-section-head h2 {
  margin: 0;
  font-family: var(--cco-font-heading);
  color: var(--cco-ink);
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: -.04em;
}
.cco-section-head span {
  color: var(--cco-muted);
  font-size: 13px;
  font-weight: 800;
}
.cco-menu-list {
  display: grid;
  gap: 12px;
}
.cco-menu-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 150px;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border-radius: 24px;
  background: #fffdf8;
  box-shadow: 0 8px 24px rgba(43,30,18,.045);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cco-menu-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(43,30,18,.075);
  border-color: rgba(43,30,18,.22);
}
.cco-menu-info h3 {
  margin: 4px 0 6px;
  color: var(--cco-ink);
  font-family: var(--cco-font-heading);
  font-size: 24px;
  line-height: 1;
}
.cco-menu-info p {
  margin: 0 0 10px;
  max-width: 560px;
  color: #8a7460;
  font-size: 14px;
  line-height: 1.55;
}
.cco-menu-media img,
.cco-menu-media .cco-img-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 22px;
  aspect-ratio: auto;
  object-fit: cover;
  background: #efe4d2;
}
.cco-menu-buy {
  display: grid;
  justify-items: end;
  gap: 9px;
}
.cco-menu-buy > strong {
  font-size: 18px;
  color: var(--cco-green);
}
.cco-menu-buy button:not(.cco-secondary),
.cco-card-actions button:not(.cco-secondary) {
  min-width: 96px;
  justify-content: center;
}
.cco-menu-buy .cco-secondary {
  background: transparent !important;
  color: var(--cco-green) !important;
  border: 1px solid var(--cco-border);
  padding: 9px 12px !important;
}
.cco-badge-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 0;
}
.cco-badge-inline:empty { display: none; }
.cco-badge {
  box-shadow: none;
  padding: 5px 8px;
  font-size: 10px;
}
.cco-tags span {
  background: #f1eadf;
  color: #6b5847;
  font-size: 11px;
}
.cco-floating-cart {
  right: 22px;
  bottom: 22px;
  min-width: 172px;
  grid-template-columns: 1fr auto;
  grid-template-areas: "label count" "total total";
  border-radius: 24px !important;
  background: #2b1d12 !important;
  color: #fffaf3 !important;
  box-shadow: 0 16px 36px rgba(43,30,18,.2);
}
.cco-cart-page {
  max-width: 780px;
  margin: 0 auto;
}
.cco-cart-line {
  border-radius: 22px;
}
.cco-upi-box {
  background: #fffdf8;
}
.cco-profile-modal h2,
.cco-cart-page h2,
.cco-reward-number {
  font-family: var(--cco-font-heading);
}
.cco-closed-card {
  border-radius: 30px;
}

@media (max-width: 940px) {
  .cco-store-layout { grid-template-columns: 1fr; }
  .cco-store-panel { position: static; grid-template-columns: 1fr; }
  .cco-filter-wrap { top: 74px; grid-template-columns: 1fr; }
  .cco-mini-filter { width: 100% !important; min-width: 0; }
  .cco-menu-row { grid-template-columns: minmax(0, 1fr) 104px; }
  .cco-menu-buy { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; }
  .cco-menu-buy .cco-secondary { justify-self: end; }
  .cco-menu-media img,
  .cco-menu-media .cco-img-placeholder { width: 104px; height: 104px; }
}
@media (max-width: 620px) {
  .cco-customer-shell { padding: 12px 10px 106px; }
  .cco-appbar { border-radius: 18px; padding: 8px; margin-bottom: 10px; }
  .cco-brand-mark { width: 36px; height: 36px; border-radius: 12px; }
  .cco-brand-lockup span { display: none; }
  .cco-appbar .cco-profile-trigger b { display: none; }
  .cco-hero.cco-hero-customer {
    min-height: 210px;
    border-radius: 24px;
    padding: 22px;
    background:
      linear-gradient(180deg, rgba(26,18,10,.96) 0%, rgba(43,30,18,.78) 56%, rgba(43,30,18,.28) 100%),
      var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1200&q=82"));
    background-size: cover;
    background-position: center;
  }
  .cco-hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .cco-hero-points span { padding: 7px 10px; font-size: 11px; }
  .cco-main-tabs { gap: 8px; }
  .cco-main-tabs button { padding: 12px 8px; font-size: 12px; border-radius: 14px; }
  .cco-menu-row {
    grid-template-columns: minmax(0, 1fr) 92px;
    gap: 12px;
    padding: 12px;
    border-radius: 20px;
  }
  .cco-menu-info h3 { font-size: 21px; }
  .cco-menu-info p { font-size: 13px; line-height: 1.45; }
  .cco-menu-media img,
  .cco-menu-media .cco-img-placeholder { width: 92px; height: 92px; border-radius: 18px; }
  .cco-menu-buy { grid-template-columns: 1fr auto; gap: 8px; }
  .cco-menu-buy > strong { align-self: center; }
  .cco-menu-buy .cco-secondary { grid-column: 1 / -1; width: 100%; justify-content: center; }
  .cco-filter-wrap { border-radius: 18px; padding: 10px; }
  .cco-floating-cart {
    left: max(12px, env(safe-area-inset-left));
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    min-width: 0;
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "label count total";
    border-radius: 18px !important;
    padding: 14px 16px !important;
  }
  .cco-floating-cart small { align-self: center; }
}

/* v1.4.0 — UX tightening: single Google CTA, rewards education, cleaner owner controls */
.cco-appbar {
  border-radius: 18px;
  padding: 10px 14px;
}
.cco-appbar .cco-google-top-login {
  background: #2b1d12 !important;
  color: #fffaf3 !important;
  border: 1px solid #2b1d12 !important;
  box-shadow: 0 12px 28px rgba(43,30,18,.22) !important;
}
.cco-google-g {
  background: #fffaf3 !important;
  color: #2b1d12 !important;
  font-weight: 950;
  font-family: Arial, sans-serif;
}
.cco-guest-card-clean {
  display: grid;
  gap: 5px;
}
.cco-guest-card-clean strong {
  color: var(--cco-green);
}
.cco-guest-card-clean span,
.cco-guest-card-clean small {
  color: var(--cco-muted);
  line-height: 1.45;
}
.cco-hero.cco-hero-customer {
  min-height: 220px;
  padding: clamp(22px, 4vw, 38px);
}
.cco-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
}
.cco-hero-points span {
  background: rgba(255,250,243,.18);
}
.cco-rewards-page {
  display: grid;
  gap: 14px;
  max-width: 940px;
  margin: 0 auto;
}
.cco-rewards-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(240,227,204,.85), transparent 25%),
    #fffdf8;
  padding: clamp(22px, 4vw, 36px);
}
.cco-rewards-hero h2 {
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.02;
  color: var(--cco-green);
}
.cco-rewards-hero .cco-rewards-login {
  position: static !important;
  margin-top: 12px;
  width: fit-content;
}
.cco-reward-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.cco-reward-steps .cco-card {
  display: grid;
  gap: 6px;
  min-height: 118px;
}
.cco-reward-steps strong {
  font-size: 28px;
  color: var(--cco-green);
  letter-spacing: -.04em;
  font-family: var(--cco-font-heading);
}
.cco-reward-steps span {
  color: var(--cco-muted);
  font-weight: 650;
  line-height: 1.4;
}
.cco-payment-toggle {
  background: #fff !important;
  color: var(--cco-green) !important;
  border: 1px solid var(--cco-border) !important;
  padding: 10px 12px !important;
}
.cco-payment-toggle span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #f1eadf;
  font-weight: 950;
}
.cco-payment-toggle.is-paid {
  background: var(--cco-green-soft) !important;
  border-color: rgba(43,30,18,.25) !important;
}
.cco-payment-toggle.is-paid span {
  background: var(--cco-green);
  color: #fff;
}
.cco-order-actions .cco-danger {
  order: 99;
}
.status-preparing .cco-danger,
.status-ready .cco-danger,
.status-completed .cco-danger { display: none !important; }
.cco-menu-admin-layout {
  display: grid;
  grid-template-columns: minmax(310px, 380px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.cco-menu-form-card {
  position: sticky;
  top: 86px;
}
.cco-menu-form-card h2,
.cco-menu-manage-head h2 {
  font-family: var(--cco-font-heading);
  font-size: 32px;
  margin: 0;
  color: var(--cco-green);
}
.cco-menu-manage {
  display: grid;
  gap: 12px;
}
.cco-menu-manage-head {
  padding: 4px 2px;
}
.cco-menu-manage-head span {
  color: var(--cco-muted);
  font-weight: 850;
}
.cco-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
}
.cco-form-grid label,
.cco-menu-form-card label,
.cco-menu-admin-card label {
  font-weight: 850;
  color: var(--cco-ink);
  font-size: 13px;
}
.cco-form-grid input,
.cco-form-grid select,
.cco-form-grid textarea {
  margin-top: 6px;
}
.cco-menu-admin-card {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.cco-menu-admin-summary {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}
.cco-menu-admin-summary strong {
  font-size: 18px;
  font-weight: 950;
  color: var(--cco-green);
}
.cco-menu-admin-summary p {
  margin: 4px 0 0;
}
.cco-admin-item-image {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  background: #efe4d2;
  display: grid;
  place-items: center;
}
.cco-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #f1eadf;
  color: #6b5847;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.cco-pill.is-on { background: var(--cco-green-soft); color: var(--cco-green); }
.cco-pill.is-off { background: #f0dfd8; color: var(--cco-danger); }
.cco-pill.new { background: #c7522a; color: #fff; }
.cco-pill.signature { background: #2b1d12; color: #fff; }
.cco-options-editor {
  min-height: 82px !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 13px !important;
}
.cco-menu-admin-actions {
  padding-top: 6px;
  border-top: 1px solid var(--cco-border);
}
.owner-shell .cco-card {
  box-shadow: 0 8px 22px rgba(43,30,18,.045);
}
.owner-shell .cco-column {
  background: rgba(255,253,248,.72);
}
@media (max-width: 980px) {
  .cco-menu-admin-layout { grid-template-columns: 1fr; }
  .cco-menu-form-card { position: static; }
}
@media (max-width: 720px) {
  .cco-reward-steps { grid-template-columns: 1fr; }
  .cco-form-grid { grid-template-columns: 1fr; }
  .cco-appbar .cco-google-top-login b { display: inline !important; }
  .cco-appbar .cco-google-top-login { padding: 8px 10px !important; font-size: 12px; }
  .cco-hero.cco-hero-customer { min-height: 190px; }
}

/* v1.4.1 owner menu management cleanup */
.cco-menu-control-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.cco-menu-control-head h2,
.cco-menu-control-head p { margin: 0; }
.cco-menu-control-head .cco-muted { margin-top: 6px; max-width: 680px; }
.cco-table-card { overflow: hidden; padding: 0 !important; }
.cco-table-scroll { overflow-x: auto; }
.cco-admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,253,248,.94);
}
.cco-admin-table th,
.cco-admin-table td {
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--cco-border);
  padding: 12px 14px;
  font-size: 13px;
}
.cco-admin-table th {
  color: var(--cco-green);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: #fbf5e8;
}
.cco-admin-table input,
.cco-admin-table select {
  min-height: 40px;
  margin: 0;
}
.cco-table-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 220px;
}
.cco-table-item strong { display: block; color: var(--cco-green); }
.cco-table-item small { display: block; color: var(--cco-muted); margin-top: 3px; }
.cco-admin-item-image.small {
  width: 46px;
  height: 46px;
  border-radius: 14px;
}
.cco-edit-row td { background: #fffaf0; padding: 0 !important; }
.cco-edit-panel {
  margin: 12px;
  display: grid;
  gap: 14px;
}
.cco-edit-panel.inner {
  background: #fffdf8;
  border: 1px solid var(--cco-border);
  border-radius: 20px;
  padding: 16px;
}
.cco-admin-subsection {
  border: 1px solid var(--cco-border);
  border-radius: 18px;
  background: rgba(255,255,255,.62);
  padding: 14px;
}
.cco-admin-subsection h4 {
  margin: 0 0 10px;
  color: var(--cco-green);
}
.cco-addon-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
}
.cco-addon-check {
  background: #fbf6ec;
  border: 1px solid var(--cco-border);
  border-radius: 14px;
  padding: 10px 12px;
}
.cco-addon-check.is-disabled {
  opacity: .58;
}
.cco-recipe-table input[type="number"] {
  max-width: 120px;
}
.owner-tabs {
  overflow-x: auto;
  flex-wrap: nowrap;
}
.owner-tabs button {
  white-space: nowrap;
}
@media (max-width: 820px) {
  .cco-menu-control-head { align-items: stretch; flex-direction: column; }
  .cco-admin-table th,
  .cco-admin-table td { padding: 10px; }
  .cco-table-card { overflow-x: auto; }
  .cco-admin-table { min-width: 760px; }
}

/* v1.5.0 login gate and add-on polish */
.cco-login-mini { padding: 10px 16px !important; min-width: auto; border-radius: 999px !important; box-shadow: none !important; }
.cco-login-gate { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(260px,.8fr); gap:20px; margin:20px 0 30px; align-items:stretch; }
.cco-login-gate-card { padding:26px; }
.cco-login-primary h2 { font-size:clamp(30px,4vw,52px); line-height:.98; margin:8px 0 12px; }
.cco-login-actions { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-top:22px; }
.cco-google-gate, .cco-guest-gate, .cco-login-disabled { min-height:96px; border-radius:22px; padding:18px; display:flex; flex-direction:column; justify-content:center; gap:6px; text-decoration:none; border:1px solid rgba(43,30,18,.18); cursor:pointer; }
.cco-google-gate { background:#3b2a1d; color:#fff; box-shadow:0 16px 32px rgba(43,30,18,.20); }
.cco-google-gate .cco-google-g { background:#fff; color:#3b2a1d; }
.cco-guest-gate { background:#fffaf2; color:#2b1d12; text-align:left; font:inherit; }
.cco-google-gate b, .cco-guest-gate b { font-size:17px; }
.cco-google-gate small, .cco-guest-gate small, .cco-login-disabled small { opacity:.76; }
.cco-login-future ul { padding-left:18px; line-height:1.9; color:#6b5847; }
.cco-coming-soon { margin-top:18px; padding:14px; border-radius:18px; background:#f2eadc; display:flex; justify-content:space-between; align-items:center; }
.cco-coming-soon em { font-style:normal; font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:#8a7460; }
.cco-addon-check-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(190px,1fr)); gap:10px; margin-top:10px; }
.cco-addon-check { border:1px solid rgba(43,30,18,.15); border-radius:16px; padding:12px; background:#fffaf5; }
.cco-addon-check input { width:18px; height:18px; accent-color:#3b2a1d; }
.cco-addon-check.is-disabled { opacity:.55; background:#f2eee6; }
@media (max-width: 760px) { .cco-login-gate { grid-template-columns:1fr; } .cco-login-actions { grid-template-columns:1fr; } .cco-login-gate-card { padding:20px; } }

/* v1.5.1 — UI QA fixes */
.cco-menu-buy .cco-qty,
.cco-menu-buy .cco-card-qty,
.cco-cart-controls .cco-qty {
  display: inline-grid !important;
  grid-template-columns: 42px 38px 42px !important;
  align-items: center !important;
  width: 122px !important;
  min-width: 122px !important;
  max-width: 122px !important;
  height: 42px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fffaf3 !important;
  border: 1px solid rgba(43,30,18,.18) !important;
}
.cco-menu-buy .cco-qty button,
.cco-menu-buy .cco-card-qty button,
.cco-cart-controls .cco-qty button {
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  display: grid !important;
  place-items: center !important;
  font-size: 17px !important;
  line-height: 1 !important;
}
.cco-menu-buy .cco-qty span,
.cco-menu-buy .cco-card-qty span,
.cco-cart-controls .cco-qty span {
  min-width: 38px !important;
  width: 38px !important;
  padding: 0 !important;
  text-align: center !important;
  display: grid !important;
  place-items: center !important;
  height: 42px !important;
  background: #fffaf3 !important;
  color: #3b2a1d !important;
}
.cco-menu-buy {
  min-width: 150px;
  position: relative;
  z-index: 2;
}
.cco-menu-media {
  position: relative;
  z-index: 1;
}
.cco-store-panel .cco-side-nav {
  display: grid;
  gap: 8px;
  padding: 16px;
}
.cco-side-nav button {
  width: 100%;
  justify-content: flex-start !important;
  background: transparent !important;
  color: #3b2a1d !important;
  border: 1px solid rgba(43,30,18,.14) !important;
  box-shadow: none !important;
}
.cco-side-nav button.active,
.cco-side-nav button:hover {
  background: #3b2a1d !important;
  color: #fffaf3 !important;
}
.cco-side-nav hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(43,30,18,.12);
  margin: 8px 0;
}
.cco-side-reward-card {
  display: grid;
  gap: 8px;
}
.cco-side-reward-card strong {
  color: #3b2a1d;
  font-size: 17px;
}
.cco-side-reward-card span {
  color: #8a7460;
  font-size: 13px;
  line-height: 1.45;
}
.cco-filter-wrap-simple {
  grid-template-columns: 1fr auto !important;
  padding: 12px 14px;
}
.cco-filter-wrap-simple strong,
.cco-filter-wrap-simple small {
  display: block;
}
.cco-filter-wrap-simple small {
  color: #8a7460;
  margin-top: 3px;
  font-size: 12px;
}
.cco-login-gate-v2 {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, .75fr) !important;
}
.cco-login-actions-v2 {
  grid-template-columns: minmax(160px, .65fr) minmax(230px, 1fr) !important;
  align-items: stretch;
}
.cco-google-gate-compact {
  min-height: 74px !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  box-shadow: 0 10px 22px rgba(43,30,18,.16) !important;
}
.cco-google-gate-compact .cco-google-g {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  flex: 0 0 32px;
}
.cco-google-gate-compact b,
.cco-google-gate-compact small {
  display: block;
}
.cco-google-gate-compact b { font-size: 15px !important; }
.cco-google-gate-compact small { font-size: 12px !important; }
.cco-guest-gate-v2 {
  min-height: 74px !important;
  border-radius: 999px !important;
  align-items: center !important;
  text-align: center !important;
  background: #3b2a1d !important;
  color: #fffaf3 !important;
}
.cco-appbar-profile:empty { display: none; }
.cco-admin-category-list {
  display: grid;
  gap: 18px;
}
.cco-admin-category-block {
  padding: 0 !important;
  overflow: hidden;
}
.cco-admin-category-head {
  padding: 16px 18px 8px;
}
.cco-admin-category-head h3 { margin: 0; }
.cco-admin-category-block .cco-admin-table {
  margin: 0;
}
@media (max-width: 900px) {
  .cco-store-layout { grid-template-columns: 1fr; }
  .cco-store-panel { position: static; }
  .cco-side-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cco-side-nav .cco-kicker,
  .cco-side-nav hr { grid-column: 1 / -1; }
  .cco-login-gate-v2,
  .cco-login-actions-v2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 760px) {
  .cco-menu-row { grid-template-columns: minmax(0, 1fr) 92px !important; }
  .cco-menu-buy {
    grid-column: 1 / -1 !important;
    display: grid !important;
    grid-template-columns: auto auto auto !important;
    justify-items: start !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100%;
  }
  .cco-menu-buy .cco-secondary { grid-column: auto !important; width: auto !important; }
}

/* v1.5.2 — login and owner menu filter cleanup */
.cco-login-clean {
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr) !important;
  align-items: stretch;
}
.cco-login-single-card h2 {
  max-width: 760px;
}
.cco-login-center-actions {
  display: grid;
  gap: 12px;
  max-width: 380px;
  margin-top: 22px;
}
.cco-google-login-card {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 68px;
  padding: 14px 16px;
  border-radius: 18px;
  background: #3b2a1d;
  color: #fffaf3 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(43,30,18,.18);
  border: 1px solid rgba(43,30,18,.2);
}
.cco-google-login-card b,
.cco-google-login-card small {
  display: block;
}
.cco-google-login-card b {
  font-size: 16px;
  letter-spacing: .01em;
}
.cco-google-login-card small {
  color: rgba(255,250,243,.78);
  font-size: 12px;
  margin-top: 2px;
}
.cco-google-real-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: #3b2a1d;
  font-weight: 950;
  font-family: Inter, Arial, sans-serif;
}
.cco-guest-link {
  background: none !important;
  color: #3b2a1d !important;
  box-shadow: none !important;
  border: 0 !important;
  padding: 4px 0 !important;
  min-height: auto !important;
  width: fit-content;
  border-radius: 0 !important;
  text-decoration: underline;
  font-weight: 850;
  letter-spacing: 0 !important;
}
.cco-side-nav hr,
.cco-side-nav button[data-view="rewards"],
.cco-side-nav button[data-view="history"] {
  display: none !important;
}
.cco-owner-menu-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 14px 0;
}
.cco-owner-menu-filter label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  color: #3b2a1d;
  min-width: min(360px, 100%);
}
.cco-owner-menu-filter select {
  margin: 0 !important;
}
.cco-owner-menu-filter span {
  color: #8a7460;
  font-weight: 800;
}
@media (max-width: 760px) {
  .cco-login-clean { grid-template-columns: 1fr !important; }
  .cco-login-center-actions { max-width: none; }
  .cco-owner-menu-filter { align-items: stretch; flex-direction: column; }
}


/* v1.5.4 — past order detail and cancelled-order UI */
.cco-history-card small,
.cco-cancelled-order small {
  display: block;
  color: #8a7460;
  font-size: 12px;
  margin-top: 4px;
}
.cco-status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: #f0e3cc;
  color: #3b2a1d;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.cco-status-pill.danger,
.status-cancelled .cco-status-pill {
  background: #f7dedb;
  color: #a1372f;
}
.cco-order-mini {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 14px;
}
.cco-order-mini span {
  border: 1px solid rgba(43,30,18,.12);
  background: rgba(246,240,226,.65);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #6b5847;
}
.cco-order-detail-hero h2 { margin-bottom: 6px; }
.cco-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.cco-order-detail-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border-bottom: 1px solid rgba(43,30,18,.10);
}
.cco-order-detail-line span,
.cco-order-detail-line em {
  display: block;
  color: #8a7460;
  margin-top: 4px;
  font-size: 13px;
}
.cco-cancelled-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
}
.cco-cancelled-header > strong {
  min-width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #f7dedb;
  color: #a1372f;
  font-size: 22px;
}
.cco-cancelled-order h4 { margin: 14px 0 8px; }
.cco-cancel-reason {
  border-radius: 16px;
  background: #fff3ee;
  border: 1px solid rgba(161,55,47,.16);
  padding: 12px 14px;
  margin-top: 12px;
}
.cco-cancel-reason p { margin: 4px 0 0; color: #714d47; }
.cco-cancelled-note {
  border-color: rgba(161,55,47,.18) !important;
  background: #fff8f5 !important;
}
@media (max-width: 760px) {
  .cco-detail-grid { grid-template-columns: 1fr; }
  .cco-cancelled-header { align-items: flex-start; }
}

/* v2.6.0 — Soft professional UI polish: quieter colors, lighter CTAs, calmer typography */

:root {
  --cco-bg: #fbf8f1;
  --cco-card: #fffdfa;
  --cco-ink: #433f39;
  --cco-muted: #7d776f;
  --cco-green: #657467;
  --cco-green-soft: #edf3ed;
  --cco-gold: #c7b99f;
  --cco-border: #e8dfd2;
  --cco-danger: #b65c55;
  --cco-shadow: 0 10px 26px rgba(60, 49, 38, 0.055);
  --cco-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cco-font-heading: Lora, Georgia, "Times New Roman", serif;
}

.cco-font-fraunces-manrope,
.cco-font-playfair-manrope,
.cco-font-cormorant-dm,
.cco-font-libre-nunito {
  --cco-font-body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cco-font-heading: Lora, Georgia, "Times New Roman", serif;
}

.cco-app {
  color: var(--cco-ink);
  background: transparent;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cco-app h1,
.cco-app h2,
.cco-app h3,
.cco-app h4 {
  font-family: var(--cco-font-heading);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--cco-ink);
}

.cco-app h1 { font-size: clamp(30px, 4.8vw, 46px); line-height: 1.1; }
.cco-app h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.18; }
.cco-app h3 { font-size: 18px; line-height: 1.25; }
.cco-app h4 { font-size: 15px; line-height: 1.35; }

.cco-shell,
.cco-customer-shell {
  max-width: 1100px;
  padding-top: 18px;
}

.cco-card,
.cco-store-note,
.cco-loyalty-strip,
.cco-guest-card,
.cco-menu-row,
.cco-appbar,
.cco-filter-wrap,
.cco-table-card,
.cco-owner-header,
.cco-hero,
.cco-closed-card {
  background: rgba(255, 253, 250, 0.92) !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: var(--cco-shadow) !important;
}

.cco-card,
.cco-store-note,
.cco-loyalty-strip,
.cco-guest-card { border-radius: 20px !important; }
.cco-card p,
.cco-card span,
.cco-store-note span,
.cco-side-reward-card span,
.cco-menu-info p,
.cco-filter-wrap-simple small,
.cco-owner-menu-filter span,
.cco-admin-category-head small { color: var(--cco-muted) !important; }

.cco-kicker {
  color: #8d867b !important;
  font-weight: 600 !important;
  letter-spacing: .12em;
  font-size: 11px;
  opacity: 1;
}

/* Buttons: light by default, no heavy dark CTA */
.cco-tabs button,
.cco-button,
.cco-button-secondary,
.cco-app button,
.cco-app .cco-button,
.cco-app a.cco-button,
.cco-google-login-card,
.cco-google-gate,
.cco-guest-gate,
.cco-guest-gate-v2,
.cco-floating-cart {
  background: #f8f5ee !important;
  color: #4d5d50 !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  letter-spacing: .015em !important;
}

.cco-app button:hover,
.cco-button:hover,
.cco-button-secondary:hover,
.cco-google-login-card:hover,
.cco-google-gate:hover,
.cco-guest-gate:hover,
.cco-floating-cart:hover {
  transform: none !important;
  background: #f1eee6 !important;
  border-color: #d9cfc0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
}

.cco-tabs button.active,
.cco-filter-chips button.active,
.cco-side-nav button.active,
.cco-side-nav button:hover,
.cco-segmented button.active,
.cco-main-tabs button.active {
  background: #e8efe8 !important;
  color: #3f5243 !important;
  border-color: #cbd8cc !important;
  box-shadow: none !important;
}

.cco-secondary,
.cco-button-secondary,
.cco-menu-buy .cco-secondary,
.cco-card-actions .cco-secondary,
.cco-checkout-sticky-bar .cco-secondary {
  background: #fbfaf6 !important;
  color: #5b665d !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: none !important;
}

.cco-danger,
.cco-app button.cco-danger {
  background: #fff1ef !important;
  color: #9a4d47 !important;
  border-color: #efcbc7 !important;
  box-shadow: none !important;
}

/* App bar */
.cco-appbar {
  position: sticky;
  top: 0;
  background: rgba(255, 253, 250, 0.86) !important;
  backdrop-filter: blur(18px);
  border-radius: 18px !important;
  padding: 9px 12px;
  margin-bottom: 12px;
}
.cco-brand-mark {
  background: #edf3ed !important;
  color: #536357 !important;
  border: 1px solid #d7e1d8;
  font-weight: 700;
}
.cco-brand-lockup strong { font-weight: 600 !important; color: var(--cco-ink); }
.cco-brand-lockup span { color: var(--cco-muted); }
.cco-appbar .cco-profile-trigger,
.cco-appbar .cco-google-top-login,
.cco-login-mini {
  min-height: 38px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  background: #fbfaf6 !important;
  color: #4d5d50 !important;
}

/* Hero: calm, image-led but not loud */
.cco-hero.cco-hero-customer,
.cco-hero,
.cco-owner-header {
  color: var(--cco-ink) !important;
  border-radius: 24px !important;
  padding: clamp(22px, 4.2vw, 36px) !important;
  min-height: 210px !important;
  background:
    linear-gradient(90deg, rgba(255,253,250,.98) 0%, rgba(255,253,250,.88) 48%, rgba(255,253,250,.55) 100%),
    var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1600&q=82")) !important;
  background-size: cover !important;
  background-position: center right !important;
}
.cco-hero h1,
.cco-owner-header h1 {
  font-size: clamp(32px, 5vw, 54px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.035em !important;
  color: #4a443c !important;
  max-width: 680px;
}
.cco-hero-copy > p:not(.cco-kicker),
.cco-owner-header p {
  color: #676159 !important;
  font-size: clamp(14px, 1.6vw, 16px) !important;
  line-height: 1.65 !important;
}
.cco-hero-points span {
  background: rgba(255,255,255,.72) !important;
  color: #5c6b60 !important;
  border: 1px solid rgba(207,216,207,.8) !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
}

/* Login screen: quiet, premium, no shouting */
.cco-login-clean,
.cco-login-gate,
.cco-login-gate-v2 {
  gap: 16px !important;
}
.cco-login-gate-card,
.cco-login-single-card,
.cco-reward-info-card {
  padding: clamp(20px, 3vw, 28px) !important;
}
.cco-login-primary h2,
.cco-login-single-card h2 {
  font-size: clamp(30px, 4.2vw, 48px) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  max-width: 720px;
}
.cco-login-center-actions {
  max-width: 360px;
  gap: 10px;
}
.cco-google-login-card {
  min-height: 58px !important;
  border-radius: 14px !important;
  padding: 11px 14px !important;
  background: #f6f3ec !important;
  color: #3f4c42 !important;
}
.cco-google-login-card b { font-size: 14px !important; font-weight: 600 !important; color: #3f4c42 !important; }
.cco-google-login-card small { color: #7b776f !important; font-weight: 400 !important; }
.cco-google-real-icon,
.cco-google-g {
  background: #fff !important;
  color: #536357 !important;
  border: 1px solid #e5ddd0;
  box-shadow: none;
}
.cco-guest-link {
  color: #6a716a !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  font-weight: 500 !important;
}
.cco-login-future ul { color: var(--cco-muted) !important; }

/* Customer ordering */
.cco-main-tabs {
  gap: 8px;
}
.cco-main-tabs button {
  padding: 12px 14px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
}
.cco-store-layout { gap: 16px; }
.cco-store-panel { top: 74px; }
.cco-side-nav { padding: 12px !important; }
.cco-side-nav button {
  border-radius: 14px !important;
  padding: 10px 13px !important;
  font-weight: 500 !important;
  color: #5b665d !important;
}
.cco-side-reward-card strong { color: var(--cco-ink) !important; font-size: 15px !important; font-weight: 600 !important; }
.cco-side-reward-card button { width: 100%; }
.cco-filter-wrap {
  border-radius: 18px !important;
  padding: 10px 12px !important;
}
.cco-filter-title { color: #5b665d !important; font-weight: 600 !important; }
.cco-filter-chips button {
  border-radius: 999px !important;
  padding: 9px 12px !important;
  font-weight: 500 !important;
}
.cco-mini-filter,
.cco-app select,
.cco-app input,
.cco-app textarea {
  background: #fffdf9 !important;
  color: var(--cco-ink) !important;
  border: 1px solid var(--cco-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}
.cco-section-head h2 {
  font-size: clamp(22px, 2.8vw, 30px) !important;
  letter-spacing: -.03em !important;
}
.cco-section-head span { font-weight: 500 !important; color: var(--cco-muted) !important; }
.cco-menu-row {
  border-radius: 20px !important;
  padding: 14px !important;
  transition: border-color .15s ease, background .15s ease !important;
}
.cco-menu-row:hover {
  transform: none !important;
  box-shadow: var(--cco-shadow) !important;
  border-color: #dcd2c4 !important;
  background: #fffefa !important;
}
.cco-menu-info h3 {
  font-size: 21px !important;
  line-height: 1.18 !important;
  font-weight: 500 !important;
  color: #403c36 !important;
}
.cco-menu-info p { font-size: 13.5px !important; color: #746e66 !important; }
.cco-menu-buy > strong { color: #4f5d51 !important; font-weight: 600 !important; }
.cco-menu-media img,
.cco-menu-media .cco-img-placeholder {
  background: #f0eadf !important;
  border-radius: 18px !important;
}
.cco-badge,
.cco-tags span,
.cco-points,
.cco-loyalty-lock,
.cco-status-pill,
.cco-order-mini span {
  background: #f2efe7 !important;
  color: #5b665d !important;
  border: 1px solid #e6ddd0 !important;
  font-weight: 600 !important;
  letter-spacing: .01em !important;
}
.cco-badge.is-new,
.cco-badge.new,
.cco-badge-inline .cco-badge:first-child {
  background: #f6eee5 !important;
  color: #9a6a42 !important;
  border-color: #ecd9c3 !important;
}

/* Quantity and cart */
.cco-menu-buy .cco-qty,
.cco-menu-buy .cco-card-qty,
.cco-cart-controls .cco-qty {
  background: #fbfaf6 !important;
  border-color: var(--cco-border) !important;
  height: 38px !important;
  width: 116px !important;
  min-width: 116px !important;
  max-width: 116px !important;
  grid-template-columns: 38px 40px 38px !important;
}
.cco-menu-buy .cco-qty button,
.cco-menu-buy .cco-card-qty button,
.cco-cart-controls .cco-qty button {
  width: 38px !important;
  min-width: 38px !important;
  max-width: 38px !important;
  height: 38px !important;
  min-height: 38px !important;
  background: #f1eee6 !important;
  color: #536357 !important;
  font-weight: 600 !important;
}
.cco-menu-buy .cco-qty span,
.cco-menu-buy .cco-card-qty span,
.cco-cart-controls .cco-qty span {
  height: 38px !important;
  color: #4a443c !important;
  background: #fffdf9 !important;
  font-weight: 500 !important;
}
.cco-floating-cart {
  border-radius: 18px !important;
  background: rgba(255,253,250,.96) !important;
  color: #4a554c !important;
  box-shadow: 0 10px 24px rgba(60,49,38,.11) !important;
}
.cco-floating-cart strong,
.cco-floating-cart small,
.cco-floating-cart span { color: #4a554c !important; }
.cco-checkout-sticky-bar {
  background: rgba(255,253,250,.94) !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: 0 12px 30px rgba(60,49,38,.08) !important;
  border-radius: 18px !important;
}

/* Owner dashboard */
.owner-shell {
  color: var(--cco-ink);
}
.cco-owner-header {
  min-height: auto !important;
  color: var(--cco-ink) !important;
  background: #fffdfa !important;
}
.cco-owner-header .cco-secondary { background: #f8f5ee !important; color: #5b665d !important; }
.owner-tabs {
  gap: 8px;
}
.owner-tabs button {
  padding: 10px 13px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}
.cco-metrics > div {
  background: #fffdfa !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: var(--cco-shadow) !important;
  border-radius: 18px !important;
}
.cco-metrics strong { color: #4f5d51 !important; font-weight: 600 !important; }
.cco-order-card,
.owner-shell .cco-column,
.owner-shell .cco-card {
  border-radius: 18px !important;
  border-color: var(--cco-border) !important;
}
.owner-shell .cco-column h2,
.cco-admin-category-head h3 {
  font-size: 22px !important;
  font-weight: 500 !important;
}
.cco-payment-toggle.is-paid {
  background: #edf3ed !important;
  color: #4f674f !important;
  border-color: #cddccc !important;
}
.cco-alert-bar,
.cco-notice,
.cco-error-banner {
  border-radius: 14px !important;
  background: #fff8e8 !important;
  color: #7a6845 !important;
  border: 1px solid #eadcb8 !important;
  font-weight: 500 !important;
}
.cco-admin-table th {
  background: #f8f5ee !important;
  color: #615b52 !important;
  font-weight: 600 !important;
}
.cco-admin-table td,
.cco-admin-table th { border-color: #eee5d8 !important; }
.cco-table-item strong { color: #4a554c !important; font-weight: 600 !important; }
.cco-owner-menu-filter label { color: #4a443c !important; font-weight: 600 !important; }

/* Modals */
.cco-modal-card {
  background: #fffdfa !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: 0 20px 60px rgba(60,49,38,.14) !important;
  border-radius: 22px !important;
}
.cco-x {
  background: #f8f5ee !important;
  color: #5b665d !important;
}

@media (max-width: 760px) {
  .cco-shell,
  .cco-customer-shell { padding-left: 10px; padding-right: 10px; }
  .cco-hero.cco-hero-customer,
  .cco-hero {
    min-height: 180px !important;
    border-radius: 20px !important;
    background:
      linear-gradient(180deg, rgba(255,253,250,.98) 0%, rgba(255,253,250,.86) 100%),
      var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1200&q=82")) !important;
    background-size: cover !important;
    background-position: center !important;
  }
  .cco-hero h1 { font-size: clamp(30px, 9vw, 42px) !important; }
  .cco-hero-points { margin-top: 14px; }
  .cco-menu-info h3 { font-size: 20px !important; }
  .cco-login-primary h2,
  .cco-login-single-card h2 { font-size: clamp(30px, 10vw, 42px) !important; }
  .cco-floating-cart { border-radius: 16px !important; }
}


/* v2.7.0 — Soft but visible palette + delivery-only checkout */
:root {
  --cco-bg: #f6efe5;
  --cco-card: #fffaf2;
  --cco-ink: #3f3931;
  --cco-muted: #726a60;
  --cco-green: #6f8472;
  --cco-green-soft: #e4ece4;
  --cco-gold: #b9966e;
  --cco-border: #e0d3c3;
  --cco-danger: #ad6258;
  --cco-shadow: 0 10px 26px rgba(72, 55, 39, 0.075);
  --cco-font-body: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cco-font-heading: Lora, Georgia, "Times New Roman", serif;
}
.cco-app { color: var(--cco-ink); font-size: 15px; }
.cco-card,
.cco-store-note,
.cco-loyalty-strip,
.cco-guest-card,
.cco-menu-row,
.cco-appbar,
.cco-filter-wrap,
.cco-checkout-card,
.cco-table-card,
.cco-owner-header {
  background: var(--cco-card) !important;
  border-color: var(--cco-border) !important;
  box-shadow: var(--cco-shadow) !important;
}
.cco-app h1,
.cco-app h2,
.cco-app h3,
.cco-app h4 { color: var(--cco-ink) !important; font-weight: 500 !important; }
.cco-card p,
.cco-step-sub,
.cco-label small,
.cco-menu-info p { color: var(--cco-muted) !important; }

/* Better visible CTAs without dark blocks */
.cco-app button,
.cco-button,
.cco-button-secondary,
.cco-tabs button,
.cco-google-login-card,
.cco-floating-cart {
  background: #efe6da !important;
  color: #4c473f !important;
  border: 1px solid #d8c9b9 !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
.cco-app button:hover,
.cco-button:hover,
.cco-button-secondary:hover,
.cco-tabs button:hover {
  background: #e7ddcf !important;
  border-color: #cfc0ae !important;
}
.cco-tabs button.active,
.cco-filter-chips button.active,
.cco-side-nav button.active,
.cco-main-tabs button.active,
.cco-app button[data-action="place-order"] {
  background: #dce8dc !important;
  color: #344a39 !important;
  border-color: #bdcfbe !important;
}
.cco-app button[data-action="place-order"] { min-width: 160px; }
.cco-danger,
.cco-app button.cco-danger { background: #f7e5e1 !important; color: #8f4f48 !important; border-color: #e8c6c0 !important; }

/* Hero: restored contrast, still calm */
.cco-hero.cco-hero-customer,
.cco-hero {
  background:
    linear-gradient(90deg, rgba(250,244,235,.96) 0%, rgba(250,244,235,.82) 46%, rgba(250,244,235,.30) 100%),
    var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1600&q=82")) !important;
  background-size: cover !important;
  background-position: center right !important;
  border-radius: 24px !important;
  min-height: 200px !important;
}
.cco-hero h1 { color: #3e382f !important; font-size: clamp(32px, 4.6vw, 50px) !important; line-height: 1.08 !important; }
.cco-hero-copy > p:not(.cco-kicker) { color: #5e574e !important; }
.cco-hero-points span { background: rgba(255,250,242,.78) !important; color: #516557 !important; border-color: #d6c9b9 !important; }

/* Menu visibility */
.cco-menu-row { background: #fffbf4 !important; }
.cco-menu-row:hover { background: #fff7ec !important; border-color: #d5c4b2 !important; }
.cco-menu-info h3 { color: #403a32 !important; }
.cco-menu-buy > strong { color: #465d4d !important; }
.cco-badge,
.cco-tags span,
.cco-status-pill,
.cco-order-mini span {
  background: #efe6da !important;
  color: #5a5148 !important;
  border-color: #ddd0c0 !important;
}
.cco-badge.new { background: #f3ded0 !important; color: #93613e !important; border-color: #e7cbb6 !important; }
.cco-badge.signature { background: #e4ece4 !important; color: #4f6654 !important; border-color: #c8d7ca !important; }

/* Cart / checkout */
.cco-cart-page { max-width: 860px; }
.cco-cart-head h2 { margin-bottom: 0; }
.cco-checkout-card { padding: clamp(18px, 3vw, 26px) !important; }
.cco-checkout-title { margin-bottom: 16px; }
.cco-checkout-title h2 { font-size: clamp(24px, 3.2vw, 34px) !important; margin-bottom: 4px; }
.cco-checkout-title span { color: var(--cco-muted); font-size: 14px; }
.cco-checkout-section {
  border-top: 1px solid var(--cco-border);
  padding-top: 18px;
  margin-top: 18px;
}
.cco-delivery-section {
  background: #fff7ec;
  border: 1px solid #e4d3bf;
  border-radius: 18px;
  padding: 16px;
}
.cco-delivery-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.cco-delivery-status span {
  display: inline-flex;
  border-radius: 999px;
  padding: 7px 11px;
  background: #e4ece4;
  color: #425a48;
  border: 1px solid #c8d7ca;
  font-weight: 650;
  font-size: 13px;
}
.cco-delivery-status small { color: var(--cco-muted); }
.cco-points-box {
  background: #f8f2e9;
  border: 1px solid #e4d6c6;
  border-radius: 16px;
  padding: 12px 14px;
}
.cco-loyalty-lock {
  display: block;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  background: #f8f2e9 !important;
  color: #5b665d !important;
}
.cco-total-row { border-color: var(--cco-border); }
.cco-upi-box {
  background: #fff7ec !important;
  border: 1px solid #e4d3bf !important;
  border-radius: 18px !important;
}
.cco-checkout-sticky-bar {
  background: #fffaf2 !important;
  border-color: #dbcab7 !important;
  box-shadow: 0 -8px 24px rgba(72, 55, 39, 0.08) !important;
}
.cco-floating-cart {
  background: #fffaf2 !important;
  border-color: #d8c9b9 !important;
  color: #435348 !important;
}
.cco-floating-cart strong { background: #e4ece4 !important; color: #425a48 !important; }

/* Form fields: more visible */
.cco-app input,
.cco-app textarea,
.cco-app select {
  background: #fffdf8 !important;
  color: #3f3931 !important;
  border-color: #d9cabb !important;
}
.cco-app input:focus,
.cco-app textarea:focus,
.cco-app select:focus {
  border-color: #9fb39f !important;
  box-shadow: 0 0 0 3px rgba(111,132,114,.16) !important;
}

@media (max-width: 760px) {
  .cco-hero.cco-hero-customer,
  .cco-hero {
    background:
      linear-gradient(180deg, rgba(250,244,235,.97) 0%, rgba(250,244,235,.84) 100%),
      var(--cco-hero-image, url("https://images.unsplash.com/photo-1501492673258-2bcfc17241fd?auto=format&fit=crop&w=1200&q=82")) !important;
  }
  .cco-delivery-status { align-items: flex-start; flex-direction: column; }
}


/* v2.8.0 — usable soft UI: compact buttons, readable contrast, clean post-order state */
:root {
  --cco-bg: #f7f2ea;
  --cco-card: #fffdf8;
  --cco-ink: #332f2a;
  --cco-muted: #686158;
  --cco-green: #6f8a78;
  --cco-green-soft: #e9f0ea;
  --cco-accent: #a78963;
  --cco-border: #dfd2c3;
  --cco-danger: #a66058;
  --cco-shadow: 0 8px 22px rgba(67, 53, 39, 0.07);
  --cco-font-body: Inter, Manrope, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --cco-font-heading: Lora, Georgia, "Times New Roman", serif;
}
.cco-app { color: var(--cco-ink) !important; background: transparent; }
.cco-app h1,.cco-app h2,.cco-app h3,.cco-app h4 { color: var(--cco-ink) !important; }
.cco-card,
.cco-menu-row,
.cco-appbar,
.cco-filter-wrap,
.cco-checkout-card,
.cco-store-note,
.cco-loyalty-strip,
.cco-owner-header {
  background: var(--cco-card) !important;
  border: 1px solid var(--cco-border) !important;
  box-shadow: var(--cco-shadow) !important;
}
.cco-card p,
.cco-menu-info p,
.cco-step-sub,
.cco-label small { color: var(--cco-muted) !important; }

.cco-app button,
.cco-button,
.cco-button-secondary,
.cco-tabs button,
.cco-app a.cco-button {
  min-height: 34px !important;
  padding: 8px 13px !important;
  border-radius: 14px !important;
  font-size: 13px !important;
  line-height: 1.1 !important;
  letter-spacing: 0 !important;
  font-weight: 600 !important;
  background: #f4ede3 !important;
  color: #3f3a33 !important;
  border: 1px solid #d9cab8 !important;
  box-shadow: none !important;
  text-transform: none !important;
}
.cco-app button:hover,
.cco-button:hover,
.cco-button-secondary:hover,
.cco-tabs button:hover,
.cco-app a.cco-button:hover {
  background: #ede2d3 !important;
  color: #312d27 !important;
  transform: none !important;
  box-shadow: none !important;
}
.cco-tabs button.active,
.cco-filter-chips button.active,
.cco-side-nav button.active,
.cco-main-tabs button.active,
.cco-app button[data-action="place-order"] {
  background: #dceadd !important;
  color: #31493b !important;
  border-color: #bfd1c2 !important;
}
.cco-app button[data-action="place-order"] { min-width: 132px !important; font-weight: 650 !important; }
.cco-secondary,
.cco-button-secondary,
.cco-menu-buy .cco-secondary {
  background: #fffaf2 !important;
  color: #4a443b !important;
  border-color: #ddcfc0 !important;
}
.cco-danger,
.cco-app button.cco-danger { background: #f5e4df !important; color: #864940 !important; border-color: #e3beb6 !important; }

.cco-menu-row {
  grid-template-columns: minmax(0, 1fr) 112px 112px !important;
  gap: 16px !important;
  align-items: center !important;
  padding: 14px 16px !important;
  border-radius: 18px !important;
}
.cco-menu-info h3 { font-size: 20px !important; line-height: 1.18 !important; font-weight: 500 !important; color: #332f2a !important; }
.cco-menu-info p { font-size: 13px !important; line-height: 1.45 !important; }
.cco-menu-media img,
.cco-menu-media .cco-img-placeholder { width: 112px !important; height: 112px !important; border-radius: 16px !important; background: #eee6db !important; }
.cco-menu-buy {
  width: 112px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: stretch !important;
  gap: 8px !important;
}
.cco-menu-buy > strong { text-align: right !important; color: #3f5748 !important; font-weight: 650 !important; }
.cco-menu-buy > button,
.cco-menu-buy button:not(.cco-secondary) {
  width: 100% !important;
  min-width: 0 !important;
  height: 34px !important;
  padding: 7px 11px !important;
  border-radius: 999px !important;
}
.cco-menu-buy .cco-secondary { width: 100% !important; height: 34px !important; padding: 7px 10px !important; border-radius: 999px !important; font-size: 12.5px !important; }

.cco-qty,
.cco-menu-buy .cco-qty,
.cco-menu-buy .cco-card-qty,
.cco-cart-controls .cco-qty {
  display: grid !important;
  grid-template-columns: 30px 34px 30px !important;
  width: 94px !important;
  min-width: 94px !important;
  max-width: 94px !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #fbf8f2 !important;
  border: 1px solid #d9cab8 !important;
  box-shadow: none !important;
}
.cco-qty button,
.cco-menu-buy .cco-qty button,
.cco-menu-buy .cco-card-qty button,
.cco-cart-controls .cco-qty button {
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f0e7db !important;
  color: #394a3f !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}
.cco-qty span,
.cco-menu-buy .cco-qty span,
.cco-menu-buy .cco-card-qty span,
.cco-cart-controls .cco-qty span {
  height: 30px !important;
  display: grid !important;
  place-items: center !important;
  color: #332f2a !important;
  background: #fffdf8 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
}
.cco-cart-line { grid-template-columns: minmax(0,1fr) auto !important; gap: 14px !important; border-radius: 18px !important; }
.cco-cart-controls { gap: 8px !important; align-items: center !important; }
.cco-delete-line { width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; border-radius: 999px !important; padding: 0 !important; }

.cco-checkout-title h2 { color: #332f2a !important; }
.cco-delivery-section,
.cco-upi-box,
.cco-points-box,
.cco-loyalty-lock { background: #fbf4ea !important; border: 1px solid #ddcdbb !important; color: #3f3a33 !important; }
.cco-checkout-sticky-bar { background: rgba(255,253,248,.98) !important; border: 1px solid #dccdbb !important; border-radius: 18px !important; box-shadow: 0 -8px 22px rgba(67,53,39,.08) !important; }
.cco-sticky-total strong { color: #332f2a !important; }
.cco-sticky-total span { color: var(--cco-muted) !important; }
.cco-floating-cart { background: rgba(255,253,248,.98) !important; color: #384c40 !important; border: 1px solid #d8c8b6 !important; border-radius: 16px !important; }
.cco-floating-cart strong,
.cco-floating-cart span,
.cco-floating-cart small { color: #384c40 !important; }

.cco-success-wrap { max-width: 760px; margin: 22px auto 0; }
.cco-success-card { padding: clamp(22px, 4vw, 34px) !important; text-align: left; }
.cco-success-icon { width: 42px; height: 42px; border-radius: 999px; display: grid; place-items: center; background: #dceadd; color: #31493b; border: 1px solid #bfd1c2; font-weight: 800; margin-bottom: 14px; }
.cco-success-card h2 { font-size: clamp(26px, 4vw, 38px) !important; margin-bottom: 8px !important; }
.cco-success-sub { max-width: 620px; margin-bottom: 18px !important; }
.cco-success-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 10px; margin: 18px 0; }
.cco-success-grid div { background: #fbf4ea; border: 1px solid #ddcdbb; border-radius: 14px; padding: 12px; }
.cco-success-grid span { display:block; color: var(--cco-muted); font-size: 12px; margin-bottom: 4px; }
.cco-success-grid strong { color: #332f2a; font-size: 14px; }
.cco-success-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.cco-app .cco-card *,
.cco-app .cco-menu-row *,
.cco-app .cco-checkout-card *,
.cco-app .cco-success-card * { text-shadow: none !important; }
.cco-app .cco-card h1,
.cco-app .cco-card h2,
.cco-app .cco-card h3,
.cco-app .cco-card h4,
.cco-app .cco-menu-row h3,
.cco-app .cco-checkout-card h2 { color: #332f2a !important; }

@media (max-width: 760px) {
  .cco-menu-row { grid-template-columns: minmax(0,1fr) 84px !important; gap: 12px !important; padding: 13px !important; }
  .cco-menu-media { grid-column: 2; grid-row: 1 / span 2; }
  .cco-menu-media img,
  .cco-menu-media .cco-img-placeholder { width: 84px !important; height: 84px !important; }
  .cco-menu-buy { grid-column: 1 / -1 !important; width: 100% !important; grid-template-columns: auto auto 1fr !important; align-items: center !important; justify-items: start !important; }
  .cco-menu-buy > strong { text-align: left !important; }
  .cco-menu-buy > button,
  .cco-menu-buy .cco-secondary { width: auto !important; min-width: 84px !important; }
  .cco-success-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cco-checkout-sticky-bar { flex-direction: column; align-items: stretch; }
  .cco-checkout-sticky-bar button { width: 100%; }
}
