@import url("https://fonts.googleapis.com/css2?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: #f8f3ec;
  --cco-card: #fffaf3;
  --cco-ink: #22352d;
  --cco-muted: #6d7a71;
  --cco-green: #28463a;
  --cco-green-soft: #d9eadf;
  --cco-border: #eadfce;
  --cco-danger: #9d2f2f;
  --cco-shadow: 0 14px 40px rgba(38, 52, 45, 0.10);
  --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-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
}
.cco-hero,
.cco-owner-header {
  background: linear-gradient(135deg, #28463a, #516f58);
  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: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .15s ease, opacity .15s ease;
}
.cco-app button:hover,
.cco-button:hover,
.cco-button-secondary:hover { transform: translateY(-1px); opacity: .94; }
.cco-tabs button {
  background: #fff;
  color: var(--cco-green);
  border: 1px solid var(--cco-border);
  white-space: nowrap;
}
.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;
}
.cco-danger {
  background: var(--cco-danger) !important;
}
.cco-card {
  background: var(--cco-card);
  border: 1px solid var(--cco-border);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(38, 52, 45, 0.06);
}
.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;
}
.cco-app textarea { min-height: 92px; resize: vertical; }
.cco-label { display: block; font-weight: 800; margin-top: 12px; }
.cco-label small { display: block; font-weight: 500; color: var(--cco-muted); }
.cco-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  color: var(--cco-ink);
}
.cco-check input { width: auto; margin: 0; }
.cco-big { width: 100%; justify-content: center; margin-top: 8px; padding: 15px !important; }
.cco-notice {
  background: #fff6d8;
  border: 1px solid #e8d99b;
  color: #5c4810;
  border-radius: 18px;
  padding: 12px 14px;
  margin: 12px 0;
}
.cco-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 20, 17, .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-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(217,234,223,.20), transparent 24%),
    linear-gradient(135deg, #213c31 0%, #315c47 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(40,70,58,.55);
  border-radius: 99px;
}
.moka-pot span {
  position: absolute;
  left: 32px;
  right: 32px;
  top: -16px;
  height: 18px;
  background: #2b463a;
  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(38, 52, 45, 0.05);
}
.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: #28463a; }
.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 18px 44px rgba(40,70,58,.28);
}
.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(217,234,223,.78), 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(20,43,34,.96) 0%, rgba(29,67,51,.86) 48%, rgba(29,67,51,.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(24,45,36,.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(20,43,34,.96) 0%, rgba(29,67,51,.82) 58%, rgba(29,67,51,.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(38,52,45,.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: #213c31;
  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(20,43,34,.94) 0%, rgba(25,58,44,.82) 44%, rgba(25,58,44,.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(38,52,45,.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(38,52,45,.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(38,52,45,.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(38,52,45,.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(38,52,45,.075);
  border-color: rgba(40,70,58,.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: #607169;
  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: #4f6359;
  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: #213c31 !important;
  color: #fffaf3 !important;
  box-shadow: 0 20px 55px rgba(33,60,49,.32);
}
.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(20,43,34,.96) 0%, rgba(25,58,44,.78) 56%, rgba(25,58,44,.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: #213c31 !important;
  color: #fffaf3 !important;
  border: 1px solid #213c31 !important;
  box-shadow: 0 12px 28px rgba(33,60,49,.22) !important;
}
.cco-google-g {
  background: #fffaf3 !important;
  color: #213c31 !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(217,234,223,.9), 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(40,70,58,.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: #4f6359;
  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: #213c31; 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(38,52,45,.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(31,77,59,.18); cursor:pointer; }
.cco-google-gate { background:#1f4d3b; color:#fff; box-shadow:0 16px 32px rgba(31,77,59,.20); }
.cco-google-gate .cco-google-g { background:#fff; color:#1f4d3b; }
.cco-guest-gate { background:#fffaf2; color:#163f32; 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:#4f655c; }
.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:#6e7e74; }
.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(31,77,59,.15); border-radius:16px; padding:12px; background:#fffaf5; }
.cco-addon-check input { width:18px; height:18px; accent-color:#1f4d3b; }
.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(31,77,59,.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: #173f32 !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: #1f4d3b !important;
  border: 1px solid rgba(31,77,59,.14) !important;
  box-shadow: none !important;
}
.cco-side-nav button.active,
.cco-side-nav button:hover {
  background: #1f4d3b !important;
  color: #fffaf3 !important;
}
.cco-side-nav hr {
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(31,77,59,.12);
  margin: 8px 0;
}
.cco-side-reward-card {
  display: grid;
  gap: 8px;
}
.cco-side-reward-card strong {
  color: #1f4d3b;
  font-size: 17px;
}
.cco-side-reward-card span {
  color: #607169;
  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: #607169;
  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(31,77,59,.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: #1f4d3b !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: #1f4d3b;
  color: #fffaf3 !important;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(31,77,59,.18);
  border: 1px solid rgba(31,77,59,.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: #1f4d3b;
  font-weight: 950;
  font-family: Inter, Arial, sans-serif;
}
.cco-guest-link {
  background: none !important;
  color: #1f4d3b !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: #1f4d3b;
  min-width: min(360px, 100%);
}
.cco-owner-menu-filter select {
  margin: 0 !important;
}
.cco-owner-menu-filter span {
  color: #607169;
  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: #7b897f;
  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: #e3f1ea;
  color: #1f4d3b;
  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(31,77,59,.12);
  background: rgba(246,240,226,.65);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 800;
  color: #52635b;
}
.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(31,77,59,.10);
}
.cco-order-detail-line span,
.cco-order-detail-line em {
  display: block;
  color: #66766d;
  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; }
}
