/* =============================================
   SCOOPS 'N' SHAKES — Book / Flip View
   ============================================= */

.bk-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  background: var(--cream);
  padding: 90px 1rem 2.5rem;
}

.bk-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 960px;
}

.bk-topbar-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--dark);
  margin: 0;
}

.bk-list-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  padding: 0.4rem 0.9rem;
  border: 1.5px solid var(--pink);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
}
.bk-list-link:hover { background: var(--pink); color: #fff; }

/* ── Stage ── */
.bk-stage {
  width: 100%;
  max-width: 960px;
  height: 68svh;
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

#bookFlip {
  width: 100%;
  height: 100%;
}

/* ── Controls ── */
.bk-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bk-btn {
  background: var(--pink);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  width: 44px;
  height: 44px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.bk-btn:hover { background: #c93a7a; transform: scale(1.06); }
.bk-btn svg { display: block; }

.bk-page-info {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gray);
  min-width: 64px;
  text-align: center;
}

/* ── Hint ── */
.bk-hint {
  font-size: 0.72rem;
  color: var(--gray);
  opacity: 0.7;
}

/* ─────────────────────────────────────────────
   PAGE STYLES (inside StPageFlip)
───────────────────────────────────────────── */

.page {
  background: #fff;
  box-sizing: border-box;
  overflow: hidden;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-user-select: none;
  user-select: none;
}

/* ── Image page (menu card scan) ── */
.page-img {
  padding: 0;
  background: #fff;
}
.page-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Cover ── */
.page-cover {
  background: linear-gradient(145deg, #FF2D78 0%, #8B5CF6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.5rem;
  gap: 0.4rem;
}
.bk-cover-logo { width: 72px; height: auto; margin-bottom: 0.5rem; }
.bk-cover-title {
  font-family: 'Geologica', sans-serif;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1.1;
  margin: 0;
}
.bk-cover-sub { font-size: 0.82rem; opacity: 0.85; margin: 0; }
.bk-cover-badge {
  margin-top: 1.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.18);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

/* ── Back cover ── */
.page-back {
  background: var(--pink);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 0.35rem;
}
.bk-back-logo { width: 140px; height: auto; margin-bottom: 0.75rem; }
.bk-back-info { font-size: 0.78rem; line-height: 1.9; opacity: 0.85; }
.bk-back-phone {
  font-family: 'Geologica', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  margin-top: 0.5rem;
}
.bk-back-hours { font-size: 0.72rem; opacity: 0.7; }
.bk-back-ig { font-weight: 700; font-size: 0.8rem; margin-top: 0.25rem; opacity: 0.9; }

/* ── Content page ── */
.page-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.bk-sec-header {
  padding: 0.65rem 1.1rem;
  color: #fff;
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.bk-page-body {
  flex: 1;
  overflow: hidden;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
}

/* ── Item row ── */
.bk-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.28rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.bk-item:last-child { border-bottom: none; }

.bk-item-name {
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--dark);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bk-item-desc {
  font-size: 0.63rem;
  color: var(--gray);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bk-item-price {
  font-family: 'Geologica', sans-serif;
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--pink);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ── 2-col grid ── */
.bk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 0.6rem;
  flex: 1;
}

/* ── Tier label ── */
.bk-tier-label {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.55rem 0 0.2rem;
}
.bk-tier-label:first-child { margin-top: 0; }

/* ── Toppings chips ── */
.bk-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.22rem;
  margin-top: 0.35rem;
}
.bk-chip {
  font-size: 0.64rem;
  font-weight: 600;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--radius-full);
  padding: 0.12rem 0.45rem;
  color: var(--dark);
}

/* ── Column header (Mini / Regular) ── */
.bk-col-header {
  display: flex;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--gray);
  padding-right: 0.1rem;
  margin-bottom: 0.2rem;
}

/* ── Combo cards ── */
.bk-combos { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }

.bk-combo {
  background: var(--cream);
  border-radius: 10px;
  padding: 0.55rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.bk-combo.mega {
  background: linear-gradient(135deg, #1A1A2E, #2D1A4E);
}

.bk-combo-label {
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
}
.bk-combo.mega .bk-combo-label { color: #A07DE0; }

.bk-combo-items {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}
.bk-combo.mega .bk-combo-items { color: rgba(255,255,255,0.88); }

.bk-combo-price { font-family: 'Geologica', sans-serif; font-weight: 800; font-size: 0.88rem; }
.bk-combo-price s { color: var(--gray); font-size: 0.72rem; margin-right: 0.3rem; font-weight: 500; }
.bk-combo-price strong { color: var(--pink); }
.bk-combo.mega .bk-combo-price s { color: rgba(255,255,255,0.35); }
.bk-combo.mega .bk-combo-price strong { color: #A07DE0; }

/* ── Book view link on menu.html ── */
.mn-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--purple);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--purple);
  border-radius: var(--radius-full);
  transition: background 0.2s, color 0.2s;
}
.mn-book-btn:hover { background: var(--purple); color: #fff; }

.mn-view-row {
  display: flex;
  justify-content: flex-end;
  padding: 0.6rem 1.5rem;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

@media (max-width: 600px) {
  .bk-wrapper { padding: 80px 0.5rem 2rem; }
  .bk-stage { height: 60svh; min-height: 360px; }
  .bk-hint { display: none; }
}
