/* ============================================================
   chibi menu — interactive menu styles
   Scoped under .CBMENU so nothing leaks into the shared
   Bootstrap header/footer. Font + palette match the site.
   ============================================================ */

.CBMENU {
  --brown:       #81573F;
  --brown-mid:   #B48468;
  --brown-light: #D3B9A8;
  --cream:       #FDF6EF;
  --cream-deep:  #F5EAD8;
  --white:       #FFFCF8;
  color: var(--brown);
  background: var(--cream);
}

.CBMENU .rts { font-family: 'RixToyStory_Pro', sans-serif; }

/* ── HERO STRIP ── */
.CBMENU .menu-hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 32px 24px 8px;
  overflow: hidden;
}
.CBMENU .menu-hero h1 {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: clamp(52px, 8vw, 96px);
  color: var(--brown);
  line-height: 1;
  margin: 0;
}
.CBMENU .hero-bear {
  display: block;
  height: clamp(96px, 15vw, 150px);
  width: auto;
  margin: 0 auto 8px;
  animation: cbBearFloat 4s ease-in-out infinite;
}
@keyframes cbBearFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ── TABS + SEARCH ROW ── */
.CBMENU .tabs-search-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px 16px;
  max-width: 1440px;
  margin: 0 auto;
  justify-content: center;
}
.CBMENU .tabs-scroll-wrap {
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
  transition: flex 0.35s ease;
  flex: 1;
}
.CBMENU .tabs-scroll-wrap.condensed { flex: 0 0 auto; }
.CBMENU .tabs-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 6px;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  border-radius: 50px;
  box-shadow: 0 2px 16px rgba(129,87,63,0.08);
  width: 100%;
}
.CBMENU .tabs-inner::-webkit-scrollbar { display: none; }
.CBMENU .tabs-inner.condensed .tab-btn:not(.active) {
  opacity: 0;
  max-width: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden;
}
.CBMENU .tabs-inner.condensed {
  cursor: pointer;
  width: fit-content;
  flex-shrink: 0;
}
.CBMENU .tab-btn {
  flex-shrink: 0;
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: clamp(17px, 2.5vw, 22px);
  padding: 9px 22px 7px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--brown-mid);
  transition: opacity 0.35s ease, max-width 0.35s ease, padding 0.35s ease, background 0.22s ease, color 0.22s ease;
  position: relative;
  white-space: nowrap;
}
.CBMENU .tab-btn:hover { color: var(--brown); background: var(--cream-deep); }
.CBMENU .tab-btn.active { color: #fff; background: var(--brown); }

.CBMENU .tabs-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  box-shadow: 0 2px 8px rgba(129,87,63,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: opacity 0.2s, box-shadow 0.2s;
  color: var(--brown);
  padding: 0;
}
.CBMENU .tabs-arrow:hover { box-shadow: 0 4px 16px rgba(129,87,63,0.22); }
.CBMENU .tabs-arrow.left  { left: -14px; }
.CBMENU .tabs-arrow.right { right: -14px; }
.CBMENU .tabs-arrow.hidden { opacity: 0; pointer-events: none; }

.CBMENU .search-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--cream-deep);
  border-radius: 50px;
  padding: 9px 16px;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 2px 16px rgba(129,87,63,0.08);
  transition: width 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  white-space: nowrap;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}
.CBMENU .search-pill.open {
  width: min(380px, 50vw);
  border-color: var(--brown-mid);
  box-shadow: 0 2px 20px rgba(129,87,63,0.14);
  cursor: text;
}
.CBMENU .search-pill-input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 17px;
  color: var(--brown);
  font-family: 'RixToyStory_Pro', sans-serif;
  display: none;
  width: 0;
  opacity: 0;
  padding-top: 2px;
}
.CBMENU .search-pill.open .search-pill-input { display: block; width: 100%; opacity: 1; }
.CBMENU .search-pill-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brown-mid);
  font-size: 20px;
  line-height: 1;
  padding: 0;
  display: none;
  pointer-events: none;
}
.CBMENU .search-pill.open .search-pill-close { display: block; pointer-events: auto; }

/* ── MENU CONTENT ── */
.CBMENU .menu-content {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 24px 72px;
}
.CBMENU .category-section { animation: cbSectionIn 0.4s ease both; }
@keyframes cbSectionIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.CBMENU .featured-title {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  color: var(--brown);
  margin-bottom: 18px;
}
.CBMENU .featured-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
  margin-bottom: 44px;
}
.CBMENU .featured-hero-card {
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  box-shadow: 0 8px 32px rgba(129,87,63,0.13);
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.23,1,0.32,1), box-shadow 0.25s ease;
}
.CBMENU .featured-hero-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(129,87,63,0.2); }
.CBMENU .featured-mini { cursor: pointer; transition: transform 0.25s cubic-bezier(0.23,1,0.32,1), box-shadow 0.25s ease; }
.CBMENU .featured-mini:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(129,87,63,0.18); }
.CBMENU .featured-hero-img {
  width: 46%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  position: relative;
  min-height: 280px;
}
.CBMENU .featured-hero-img img {
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.14));
}
.CBMENU .featured-hero-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--brown);
  color: #fff;
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 12px;
  padding: 3px 12px;
  border-radius: 50px;
}
.CBMENU .featured-hero-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  flex: 1;
}
.CBMENU .featured-hero-body .fh-name {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 26px;
  color: var(--brown);
  line-height: 1.1;
}
.CBMENU .featured-hero-body .fh-desc { font-size: 14px; color: var(--brown-mid); line-height: 1.55; }
.CBMENU .featured-hero-body .fh-price {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 22px;
  color: var(--brown);
  margin-top: 4px;
}
.CBMENU .featured-mini {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(129,87,63,0.09);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.CBMENU .featured-mini-img {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.CBMENU .featured-mini-img img {
  height: 130px;
  object-fit: contain;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12));
}
.CBMENU .featured-mini-body { padding: 16px 20px; }
.CBMENU .featured-mini-body .fm-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 20px; color: var(--brown); }
.CBMENU .featured-mini-body .fm-desc { font-size: 13px; color: var(--brown-mid); margin: 6px 0 10px; line-height: 1.5; }
.CBMENU .featured-mini-body .fm-price { font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); }
.CBMENU .fh-placeholder,
.CBMENU .fm-placeholder { background: rgba(255,255,255,0.4); border-radius: 12px; }
.CBMENU .fh-placeholder { width: 90px; height: 130px; }
.CBMENU .fm-placeholder { width: 70px; height: 110px; }

.CBMENU .section-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.CBMENU .section-title {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: clamp(34px, 5vw, 52px);
  color: var(--brown);
  line-height: 1;
  margin: 0;
}
.CBMENU .section-tag {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  color: #fff;
  background: var(--brown-mid);
  white-space: nowrap;
}

/* ── CARDS GRID ── */
.CBMENU .cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.CBMENU .drink-card {
  border-radius: 28px;
  padding: 0;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: cbCardIn 0.4s ease both;
  position: relative;
}
.CBMENU .drink-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 48px rgba(129,87,63,0.18);
}
@keyframes cbCardIn {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.CBMENU .card-image-wrap {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.CBMENU .cb-card-img {
  width: auto;
  height: 142px;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.35s ease;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.12));
}
.CBMENU .drink-card:hover .cb-card-img { transform: translateY(-8px) scale(1.05); }
.CBMENU .card-img-placeholder {
  width: 110px;
  height: 150px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.4);
  font-size: 11px;
  color: rgba(129,87,63,0.5);
  text-align: center;
  font-family: monospace;
  padding: 10px;
}
.CBMENU .cb-card-body { padding: 16px 20px 20px; }
.CBMENU .card-name {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 22px;
  color: var(--brown);
  line-height: 1.1;
  margin-bottom: 7px;
}
.CBMENU .card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--brown-mid);
  margin-bottom: 14px;
  text-wrap: pretty;
}
.CBMENU .cb-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.CBMENU .card-price {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 22px;
  color: var(--brown);
}
.CBMENU .card-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.6);
  color: var(--brown);
}
.CBMENU .special-ribbon {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 13px;
  background: var(--brown);
  color: #fff;
  padding: 3px 11px 2px;
  border-radius: 50px;
  z-index: 2;
}

/* placeholder art for drinks without a photo yet */
.CBMENU .cb-card-img--ph { opacity: 0.5; }

/* ── SOLD OUT ── */
.CBMENU .drink-card.sold-out { filter: grayscale(0.85); opacity: 0.72; }
.CBMENU .drink-card.sold-out:hover { transform: none; box-shadow: none; }
.CBMENU .drink-card.sold-out .cb-card-img { filter: grayscale(1) drop-shadow(0 8px 16px rgba(0,0,0,0.1)); }
.CBMENU .sold-ribbon {
  position: absolute;
  top: 12px;
  right: 14px;
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 13px;
  background: var(--brown);
  color: #fff;
  padding: 4px 12px 3px;
  border-radius: 50px;
  z-index: 2;
  letter-spacing: 0.02em;
}

/* ── EXTRAS ── */
.CBMENU .extras-section { margin-top: 56px; animation: cbSectionIn 0.4s ease 0.1s both; }
.CBMENU .extras-title {
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--brown);
  margin-bottom: 20px;
}
.CBMENU .extras-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.CBMENU .extra-chip {
  background: var(--white);
  border: 2px solid var(--brown-light);
  border-radius: 50px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: border-color 0.2s, background 0.2s;
}
.CBMENU .extra-chip:hover { border-color: var(--brown); background: var(--cream-deep); }
.CBMENU .extra-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); }
.CBMENU .extra-price { font-size: 13px; color: var(--brown-mid); }

/* ── CATEGORY NOTE ── */
.CBMENU .cat-note {
  background: rgba(255,255,255,0.7);
  border-left: 4px solid var(--brown-light);
  border-radius: 0 14px 14px 0;
  padding: 12px 18px;
  margin-bottom: 28px;
  font-size: 14px;
  color: var(--brown-mid);
  font-style: italic;
}

/* ── EMPTY / LOADING STATE ── */
.CBMENU .menu-empty {
  text-align: center;
  padding: 60px 24px;
  font-family: 'RixToyStory_Pro', sans-serif;
  font-size: 28px;
  color: var(--brown-light);
}
.CBMENU .cb-spinner {
  width: 46px;
  height: 46px;
  border: 5px solid var(--cream-deep);
  border-top-color: var(--brown);
  border-radius: 50%;
  margin: 0 auto 18px;
  animation: cbSpin 0.8s linear infinite;
}
@keyframes cbSpin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .CBMENU .menu-hero { padding: 24px 16px 8px; }
  .CBMENU .tabs-search-row { padding: 10px 16px 12px; gap: 8px; }
  .CBMENU .menu-content { padding: 20px 16px 56px; }
  .CBMENU .section-title { font-size: 28px; }
}
@media (max-width: 600px) {
  .CBMENU .cards-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .CBMENU .card-image-wrap { height: 130px; }
  .CBMENU .cb-card-img { height: 120px; }
  .CBMENU .card-name { font-size: 16px; }
  .CBMENU .card-desc { font-size: 12px; }
  .CBMENU .card-price { font-size: 17px; }
  .CBMENU .cb-card-body { padding: 10px 12px 14px; }
  .CBMENU .tab-btn { font-size: 16px; padding: 10px 16px 8px; }
  .CBMENU .search-pill { width: 40px; height: 40px; }
  .CBMENU .search-pill.open { width: min(220px, 46vw); }
  .CBMENU .tabs-arrow.left  { left: -6px; }
  .CBMENU .tabs-arrow.right { right: -6px; }
  .CBMENU .featured-grid { grid-template-columns: 1fr !important; }
  .CBMENU .featured-hero-card { flex-direction: column !important; }
  .CBMENU .featured-hero-img { width: 100% !important; min-height: 180px !important; }
  .CBMENU .extras-grid { gap: 8px; }
  .CBMENU .extra-chip { padding: 8px 14px; }
  .CBMENU .extra-name { font-size: 15px; }
}
@media (max-width: 380px) {
  .CBMENU .cards-grid { grid-template-columns: 1fr; }
  .CBMENU .tab-btn { font-size: 13px; padding: 7px 11px 5px; }
  .CBMENU .search-pill.open { width: min(180px, 44vw); }
}

/* ============================================================
   ORDERING — add button, cart FAB/drawer, drink customizer
   (cart UI is appended to <body>, so palette vars live on .CBCART)
   ============================================================ */
.CBMENU .cb-add-btn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--brown); color: #fff; font-size: 24px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: transform 0.15s ease, background 0.2s ease;
}
.CBMENU .cb-add-btn:hover { transform: scale(1.1); background: #6d4834; }
.CBMENU .drink-card.orderable { cursor: pointer; }

.CBCART {
  --brown: #81573F; --brown-mid: #B48468; --brown-light: #D3B9A8;
  --cream: #FDF6EF; --cream-deep: #F5EAD8; --white: #FFFCF8;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* FAB */
.cb-fab {
  position: fixed; bottom: 24px; right: 24px; width: 60px; height: 60px;
  border-radius: 50%; background: var(--brown); border: none;
  box-shadow: 0 8px 24px rgba(129,87,63,0.3); cursor: pointer;
  display: none; align-items: center; justify-content: center; z-index: 1000;
  transition: transform 0.2s ease;
}
.cb-fab.show { display: flex; }
.cb-fab:hover { transform: scale(1.06); }
.cb-fab-badge {
  position: absolute; top: -4px; right: -4px; background: #D4706A; color: #fff;
  font-family: 'RixToyStory_Pro', sans-serif; font-size: 14px; min-width: 24px;
  height: 24px; border-radius: 12px; display: flex; align-items: center;
  justify-content: center; padding: 0 6px; border: 2px solid #fff;
}

/* overlay + drawer */
.cb-overlay { position: fixed; inset: 0; background: rgba(61,40,23,0.45); opacity: 0; pointer-events: none; transition: opacity 0.25s ease; z-index: 1001; }
.cb-overlay.show { opacity: 1; pointer-events: auto; }
.cb-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 92vw);
  background: var(--cream); box-shadow: -8px 0 40px rgba(129,87,63,0.2);
  transform: translateX(100%); transition: transform 0.3s ease; z-index: 1002;
  display: flex; flex-direction: column;
}
.cb-drawer.open { transform: translateX(0); }
.cb-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 2px solid var(--cream-deep); font-family: 'RixToyStory_Pro', sans-serif; font-size: 26px; color: var(--brown); background: var(--white); }
.cb-x { background: none; border: none; font-size: 30px; line-height: 1; color: var(--brown-mid); cursor: pointer; padding: 0; }
.cb-drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cb-drawer-foot { border-top: 2px solid var(--cream-deep); padding: 18px 22px; background: var(--white); }
.cb-empty { text-align: center; color: var(--brown-light); font-family: 'RixToyStory_Pro', sans-serif; font-size: 22px; padding: 60px 0; }

/* cart lines */
.cb-line { display: flex; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--cream-deep); }
.cb-line-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); }
.cb-line-sel { font-size: 12.5px; color: var(--brown-mid); margin: 3px 0 8px; line-height: 1.4; }
.cb-line-qty { display: flex; align-items: center; gap: 8px; }
.cb-qty-btn { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--brown-light); background: var(--white); color: var(--brown); font-size: 16px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.cb-qty-btn:hover { border-color: var(--brown-mid); }
.cb-line-rm { background: none; border: none; color: var(--brown-mid); font-size: 12px; text-decoration: underline; cursor: pointer; margin-left: 6px; }
.cb-line-price { font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); white-space: nowrap; }

/* drawer foot */
.cb-sub { display: flex; justify-content: space-between; font-family: 'RixToyStory_Pro', sans-serif; font-size: 20px; color: var(--brown); margin-bottom: 6px; }
.cb-pickup-note { font-size: 12.5px; color: var(--brown-mid); margin-bottom: 12px; }
.cb-checkout { width: 100%; padding: 14px; border: none; border-radius: 50px; background: var(--brown); color: #fff; font-family: 'RixToyStory_Pro', sans-serif; font-size: 20px; cursor: pointer; transition: background 0.2s ease; }
.cb-checkout:hover { background: #6d4834; }
.cb-soon { text-align: center; font-size: 13px; color: var(--brown-mid); margin-top: 10px; transition: color 0.2s; }
.cb-soon-pulse { color: #D4706A; font-weight: 700; }

/* customizer modal */
.cb-modal-overlay { position: fixed; inset: 0; background: rgba(61,40,23,0.5); z-index: 1003; }
.cb-modal { position: fixed; z-index: 1004; top: 50%; left: 50%; transform: translate(-50%,-50%); width: min(520px, 94vw); max-height: 92vh; background: var(--cream); border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(61,40,23,0.35); }

/* in-flow top bar: the × can never collide with content again */
.cb-modal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px 10px 18px; border-bottom: 2px solid var(--cream-deep); background: var(--white); flex-shrink: 0; }
.cb-modal-top-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 17px; color: var(--brown); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cb-modal-x { position: static; background: rgba(129,87,63,0.08); border-radius: 50%; width: 34px; height: 34px; flex-shrink: 0; }
.cb-modal-x:hover { background: rgba(129,87,63,0.16); }

/* product stage: compact photo row on mobile, tall rail on desktop */
.cb-modal-info { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px; flex-shrink: 0; }
.cb-modal-hero { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cb-modal-hero img { height: 64px; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0,0,0,0.12)); }
.cb-modal-hero--photo img { width: 100%; height: 100%; object-fit: cover; filter: none; }
.cb-modal-img-ph { width: 44px; height: 60px; background: rgba(255,255,255,0.5); border-radius: 10px; }
.cb-modal-infotext { min-width: 0; flex: 1; }
.cb-modal-body { padding: 16px 18px 28px; overflow-y: auto; flex: 1;
  -webkit-mask-image: linear-gradient(#000 calc(100% - 22px), transparent);
  mask-image: linear-gradient(#000 calc(100% - 22px), transparent); }
.cb-modal-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 20px; color: var(--brown); line-height: 1.1; }
.cb-modal-price { font-family: 'RixToyStory_Pro', sans-serif; font-size: 15px; color: var(--brown-mid); margin: 2px 0 4px; }
.cb-modal-desc { font-size: 12.5px; color: var(--brown-mid); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* "jouw chibi" live receipt (desktop rail only) */
.cb-summary { display: none; margin-top: 14px; padding-top: 12px; border-top: 2px solid rgba(129,87,63,0.12); }
.cb-summary-title { font-family: 'RixToyStory_Pro', sans-serif; font-size: 15px; color: var(--brown); margin-bottom: 6px; }
.cb-sum-empty { font-size: 12.5px; color: var(--brown-light); }
.cb-sum-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--brown-mid); padding: 3px 0; }
.cb-sum-name { min-width: 0; }
.cb-sum-price { color: var(--brown); font-weight: 600; font-size: 12.5px; white-space: nowrap; }
.cb-sum-line.is-new { animation: cbSumIn 180ms cubic-bezier(0.23,1,0.32,1); }
@keyframes cbSumIn { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .cb-sum-line.is-new { animation: none; } }

/* one option system: every group is a card, everything left-aligned */
.cb-group { background: var(--white); border: 1px solid #F0E4D2; border-radius: 18px; padding: 14px 16px; margin-bottom: 12px; transition: background 0.2s, border-color 0.2s; }
.cb-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cb-group-name { font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); }
.cb-group-rule { font-size: 11px; font-weight: 600; letter-spacing: 0.02em; color: var(--brown-mid); background: var(--cream-deep); padding: 3px 10px; border-radius: 50px; white-space: nowrap; }
.cb-group.cb-invalid { border-color: #D4706A; }
.cb-group.cb-invalid .cb-group-rule { color: #fff; background: #D4706A; }
.cb-group.cb-flash { background: rgba(212,112,106,0.08); }
.cb-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.cb-opt { border: 2px solid var(--brown-light); background: var(--white); color: var(--brown); border-radius: 50px; padding: 8px 14px; font-size: 14px; cursor: pointer; transition: background 0.18s, color 0.18s, border-color 0.18s; font-family: 'Helvetica Neue', sans-serif; }
.cb-opt:hover { border-color: var(--brown-mid); }
.cb-opt.selected { background: var(--brown); color: #fff; border-color: var(--brown); }
.cb-opt-price { opacity: 0.7; font-size: 12px; }
.cb-opt.selected .cb-opt-price { opacity: 0.85; }
.cb-notes { width: 100%; border: 2px solid var(--cream-deep); border-radius: 14px; padding: 10px 12px; font-size: 14px; color: var(--brown); resize: vertical; font-family: 'Helvetica Neue', sans-serif; outline: none; }
.cb-modal-foot { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-top: 2px solid var(--cream-deep); background: var(--white); flex-shrink: 0; }
.cb-qty { display: flex; align-items: center; gap: 10px; font-family: 'RixToyStory_Pro', sans-serif; font-size: 18px; color: var(--brown); border: 2px solid var(--cream-deep); background: var(--cream); border-radius: 50px; padding: 5px 8px; flex-shrink: 0; }
.cb-addcart { height: 45px; padding: 0 26px; border: none; border-radius: 50px; background: var(--brown); color: #fff; font-family: 'RixToyStory_Pro', sans-serif; font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; white-space: nowrap; transition: background 0.2s, opacity 0.2s; }
/* modal foot: qty pill left, compact add button right */
.cb-modal-foot .cb-addcart { margin-left: auto; }
.cb-addcart:disabled { opacity: 0.45; cursor: not-allowed; }
.cb-addcart:not(:disabled):hover { background: #6d4834; }

body.cb-noscroll { overflow: hidden; }

@media (max-width: 600px) {
  .cb-fab { bottom: 16px; right: 16px; width: 54px; height: 54px; }
  .cb-modal { width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; top: 0; left: 0; transform: none; }
}

/* ── cart trigger in the navbar (top-right; chatbot owns the bottom corner) ── */
.cb-nav .container { position: relative; }
.cb-cart-btn {
  position: absolute; top: 50%; right: 12px; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%; border: none; background: transparent;
  color: #81573F; cursor: pointer; display: flex; align-items: center; justify-content: center;
  z-index: 20; transition: background 0.2s ease;
}
.cb-cart-btn:hover { background: #F5EAD8; }
.cb-cart-badge {
  position: absolute; top: 3px; right: 3px; background: #D4706A; color: #fff;
  font-family: 'RixToyStory_Pro', sans-serif; font-size: 11px; line-height: 1;
  min-width: 18px; height: 18px; border-radius: 9px; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid #fff; display: none;
}
@media (max-width: 600px) { .cb-cart-btn { right: 6px; width: 42px; height: 42px; } }

/* make room for the navbar cart next to the desktop nav links */
@media (min-width: 992px) { .cb-nav .open-menu { padding-right: 60px; } }

/* ── slot picker (boba & other multi-select groups) ── */
.cb-slots { display: flex; justify-content: flex-start; gap: 12px; margin: 2px 0 14px; }
.cb-slot {
  width: 56px; height: 56px; border-radius: 50%; background: var(--cream);
  border: 2px dashed #D3B9A8; display: flex; align-items: center; justify-content: center;
  position: relative; flex-shrink: 0; padding: 0; overflow: hidden;
}
.cb-slot .cb-slot-empty { color: #B48468; font-size: 13px; line-height: 1; font-weight: 600; }
.cb-slot.filled { border: 2px solid transparent; cursor: pointer; background: transparent; }
.cb-slot.filled .cb-fc { width: 100%; height: 100%; font-size: 30px; }
.cb-slot-x {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(61,40,23,0.5); color: #fff; font-size: 26px; border-radius: 50%;
  opacity: 0; transition: opacity 0.2s ease;
}
.cb-slot.filled:hover .cb-slot-x { opacity: 1; }

.cb-fc {
  width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center;
  justify-content: center; font-size: 22px; background-size: cover; background-position: center; flex-shrink: 0;
}

/* ── flavour picker: one systematic grid, left-aligned ── */
.cb-flavours { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px 4px; justify-items: center; }
.cb-flavour {
  display: flex; flex-direction: column; align-items: center; gap: 3px; width: 100%; max-width: 76px;
  border: none; background: transparent; cursor: pointer; padding: 4px; border-radius: 14px;
  transition: transform 0.15s ease, background 0.2s ease; font-family: 'Helvetica Neue', sans-serif;
}
.cb-flavour:hover { transform: translateY(-2px); background: #F5EAD8; }
.cb-flavour .cb-fc { width: 48px; height: 48px; font-size: 24px; box-shadow: 0 2px 6px rgba(129,87,63,0.15); }
.cb-flavour-name { font-size: 11px; color: #81573F; line-height: 1.15; text-align: center; }
.cb-flavour-price { font-size: 10px; color: #B48468; }
.cb-flavour.cb-disabled { opacity: 0.35; pointer-events: none; }

.cb-flash { animation: cbShake 0.3s ease; }
@keyframes cbShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (max-width: 600px) {
  .cb-slots { gap: 12px; }
  .cb-slot { width: 58px; height: 58px; }
  .cb-flavour { width: 64px; }
  .cb-flavour .cb-fc { width: 44px; height: 44px; }
}

/* (customizer info styles live with the modal chrome block above) */

/* ── inline customizer (drink landing pages) ── */
.cb-inline .cb-group { margin-bottom: 20px; }
.cb-inline-foot {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; margin-top: 4px; border-top: 2px solid #F5EAD8;
}
.cb-inline-foot .cb-addcart { flex: 1; }

/* ── featured hero image parallax on hover ── */
@media (hover: hover) and (pointer: fine) {
  .CBMENU .featured-hero-img img { transition: transform 350ms cubic-bezier(0.23,1,0.32,1); }
  .CBMENU .featured-hero-card:hover .featured-hero-img img { transform: scale(1.06) translateY(-4px); }
}

/* ── desktop builder: product stage + live receipt left, option cards right ── */
@media (min-width: 768px) {
  .cb-modal {
    display: grid;
    width: min(860px, 94vw);
    max-height: 88vh;
    grid-template-columns: 320px minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto;
    grid-template-areas: "info top" "info body" "foot foot";
  }
  .cb-modal-top { grid-area: top; justify-content: flex-end; }
  .cb-modal-top-name { display: none; }
  .cb-modal-info {
    grid-area: info;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0;
    background: var(--cream-deep);
    border-right: 2px solid var(--cream-deep);
  }
  .cb-modal-hero { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; flex-shrink: 0; }
  .cb-modal-hero img { height: 180px; }
  .cb-modal-hero--photo img { width: 100%; height: 100%; }
  .cb-modal-img-ph { width: 90px; height: 130px; }
  .cb-modal-infotext { padding: 16px 20px 20px; }
  .cb-modal-name { font-size: 24px; }
  .cb-modal-desc { -webkit-line-clamp: 3; }
  .cb-summary { display: block; }
  .cb-modal-body { grid-area: body; overflow-y: auto; }
  .cb-modal-foot { grid-area: foot; }
}

/* ── press feedback (emil polish pass) — pressable elements confirm the tap ── */
.cb-addcart, .cb-checkout, .cb-opt, .cb-flavour, .cb-qty-btn, .cb-slot.filled, .cb-cart-btn, .cb-add-btn {
  transition: transform 140ms cubic-bezier(0.23,1,0.32,1), background 0.2s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}
.cb-addcart:not(:disabled):active, .cb-checkout:active { transform: scale(0.98); }
.cb-opt:active, .cb-flavour:not(.cb-disabled):active, .cb-slot.filled:active { transform: scale(0.95); }
.cb-qty-btn:active { transform: scale(0.88); }
