/* ==========================================================================
   淘淘小公主的专属饮品 - 浅粉苹果液态玻璃 (Liquid Glass) 样式表
   适配：iPhone 17 Pro Max / iPhone 18 Pro / 全系 iPhone 灵动岛与底部安全区
   ========================================================================== */

:root {
  --bg-sakura-1: #fff6f9;
  --bg-sakura-2: #ffe5ef;
  --bg-sakura-3: #ffd4e5;
  --bg-sakura-4: #fff0f6;

  --pink-primary: #ff6b9d;
  --pink-deep: #e84a83;
  --pink-soft: #ff9ebb;
  --pink-tint: rgba(255, 107, 157, 0.14);
  --pink-border: rgba(255, 255, 255, 0.78);

  --text-main: #4a2c38;
  --text-sub: #8b6675;
  --text-muted: #b08c9b;

  --glass-bg: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 240, 246, 0.46) 52%,
    rgba(255, 224, 237, 0.36) 100%
  );
  --glass-bg-strong: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.86) 0%,
    rgba(255, 242, 247, 0.72) 60%,
    rgba(255, 228, 239, 0.62) 100%
  );
  --glass-shadow:
    0 12px 32px rgba(235, 122, 165, 0.16),
    0 2px 8px rgba(255, 155, 192, 0.12),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.94),
    inset 0 -2px 10px rgba(255, 178, 206, 0.22);

  --safe-top: env(safe-area-inset-top, 12px);
  --safe-bottom: env(safe-area-inset-bottom, 16px);

  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: ui-rounded, 'PingFang SC', 'Hiragino Sans GB', 'SF Pro Rounded', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background: var(--bg-sakura-1);
  overscroll-behavior-y: contain;
  -webkit-font-smoothing: antialiased;
}

/* 流动浅粉光晕背景（让液态玻璃折射出真实柔和的粉白层次） */
.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 12%, rgba(255, 214, 231, 0.95) 0%, transparent 48%),
    radial-gradient(circle at 86% 24%, rgba(255, 229, 240, 0.9) 0%, transparent 46%),
    radial-gradient(circle at 22% 82%, rgba(255, 209, 228, 0.78) 0%, transparent 52%),
    radial-gradient(circle at 85% 88%, rgba(255, 236, 244, 0.95) 0%, transparent 50%),
    linear-gradient(170deg, #fff8fb 0%, #ffeaf2 52%, #ffdbe9 100%);
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(42px);
  opacity: 0.72;
  animation: floatOrb 12s ease-in-out infinite alternate;
}

.ambient-orb--1 {
  width: 240px;
  height: 240px;
  top: -40px;
  left: -50px;
  background: radial-gradient(circle, #ffc2d9, #ffe4ef);
}

.ambient-orb--2 {
  width: 280px;
  height: 280px;
  top: 26%;
  right: -80px;
  background: radial-gradient(circle, #ffd0e2, #fff1f6);
  animation-delay: -4s;
}

.ambient-orb--3 {
  width: 260px;
  height: 260px;
  bottom: -60px;
  left: 18%;
  background: radial-gradient(circle, #ffb8d2, #ffe7f0);
  animation-delay: -8s;
}

@keyframes floatOrb {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

/* 移动端壳体容器：手机上全屏，桌面预览居中显示 */
.app-shell {
  position: relative;
  z-index: 1;
  max-width: 460px;
  margin: 0 auto;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--safe-top) + 10px);
  padding-bottom: calc(var(--safe-bottom) + 96px);
}

/* ==========================================================================
   Apple Liquid Glass 核心材质
   ========================================================================== */
.liquid-glass {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(190%);
  -webkit-backdrop-filter: blur(24px) saturate(190%);
  border: 1px solid var(--pink-border);
  box-shadow: var(--glass-shadow);
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  top: 1px;
  left: 8%;
  right: 8%;
  height: 44%;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.14) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.liquid-glass > * {
  position: relative;
  z-index: 1;
}

.liquid-pill {
  position: relative;
  background: var(--glass-bg-strong);
  backdrop-filter: blur(22px) saturate(185%);
  -webkit-backdrop-filter: blur(22px) saturate(185%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 8px 20px rgba(235, 122, 165, 0.16),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.96),
    inset 0 -2px 6px rgba(255, 178, 206, 0.24);
  transition: transform 0.26s var(--spring), box-shadow 0.22s ease, background 0.22s ease;
}

.liquid-pill:active {
  transform: scale(0.94);
}

/* ==========================================================================
   顶部可爱店名导航栏
   ========================================================================== */
.top-header {
  position: sticky;
  top: calc(var(--safe-top) + 6px);
  z-index: 30;
  margin: 0 12px 10px;
  padding: 11px 12px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.brand-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.brand-title-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.brand-crown {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(255, 107, 157, 0.35));
}

.brand-title {
  margin: 0;
  font-family: 'ZCOOL KuaiLe', ui-rounded, 'PingFang SC', 'Hiragino Sans GB', cursive, sans-serif;
  font-size: clamp(15px, 4.1vw, 18.5px);
  line-height: 1.25;
  letter-spacing: 0.2px;
  background: linear-gradient(135deg, #e84682 0%, #ff6b9d 52%, #ff8cb4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.95));
  white-space: nowrap;
}

.brand-subtitle {
  margin: 2px 0 0 25px;
  font-size: 11px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.icon-chip-btn {
  height: 32px;
  padding: 0 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.85);
}

.icon-chip-btn.is-active {
  background: linear-gradient(135deg, rgba(255, 224, 236, 0.92), rgba(255, 255, 255, 0.82));
  color: var(--pink-deep);
}

.order-dot {
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-primary), var(--pink-deep));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(232, 74, 131, 0.4);
}

.order-dot.hidden {
  display: none;
}

/* ==========================================================================
   噜噜与噜妹欢迎氛围卡片（支持一键开关关闭）
   ========================================================================== */
body.lulu-off .lulu-element {
  display: none !important;
}

.lulu-banner {
  margin: 0 12px 12px;
  padding: 12px 14px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: opacity 0.28s ease, transform 0.28s var(--smooth);
}

.lulu-banner-img {
  width: 78px;
  height: 58px;
  border-radius: 16px;
  object-fit: cover;
  flex-shrink: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 14px rgba(232, 74, 131, 0.14);
}

.lulu-banner-text {
  flex: 1;
  min-width: 0;
}

.lulu-banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 107, 157, 0.14);
  color: var(--pink-deep);
  font-size: 10px;
  font-weight: 700;
  margin-bottom: 4px;
}

.lulu-banner-title {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.lulu-banner-desc {
  margin: 2px 0 0;
  font-size: 11px;
  color: var(--text-sub);
}

/* ==========================================================================
   外卖经典双栏主区域：左侧分类 + 右侧饮品流
   ========================================================================== */
.menu-layout {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 12px;
  flex: 1;
}

.category-rail {
  width: 82px;
  flex-shrink: 0;
  position: sticky;
  top: calc(var(--safe-top) + 84px);
  border-radius: 24px;
  padding: 8px 6px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cat-btn {
  width: 100%;
  border: none;
  background: transparent;
  border-radius: 18px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  color: var(--text-sub);
  font-family: inherit;
  transition: all 0.24s var(--spring);
}

.cat-btn-icon {
  font-size: 20px;
  line-height: 1;
}

.cat-btn-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
}

.cat-btn.is-active {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 224, 237, 0.78));
  color: var(--pink-deep);
  box-shadow:
    0 6px 14px rgba(235, 122, 165, 0.18),
    inset 0 1px 1px #ffffff;
  transform: scale(1.02);
}

.cat-lulu-mini {
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 158, 187, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cat-lulu-mini img {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.cat-lulu-mini span {
  font-size: 10px;
  color: var(--text-muted);
}

.drinks-column {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 4px;
}

.section-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
}

.section-heading span {
  font-size: 11px;
  color: var(--text-sub);
}

.drink-card {
  border-radius: 24px;
  padding: 11px;
  display: flex;
  gap: 11px;
  align-items: stretch;
  transition: transform 0.25s var(--spring);
  cursor: pointer;
}

.drink-card:active {
  transform: scale(0.98);
}

.drink-thumb-wrap {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 18px;
  overflow: hidden;
  flex-shrink: 0;
  background: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 14px rgba(235, 122, 165, 0.14);
}

.drink-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.drink-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  padding: 2px 6px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 107, 157, 0.92), rgba(232, 74, 131, 0.92));
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(232, 74, 131, 0.3);
}

.drink-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.drink-name {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.drink-desc {
  margin: 3px 0 6px;
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.drink-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.free-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 107, 157, 0.12);
  color: var(--pink-deep);
  font-size: 11px;
  font-weight: 700;
}

.select-spec-btn {
  position: relative;
  border: none;
  border-radius: 999px;
  padding: 7px 13px;
  min-height: 32px;
  background: linear-gradient(135deg, #ff7aa8 0%, #ff5793 100%);
  color: #fff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 6px 14px rgba(255, 87, 147, 0.28),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.55);
  transition: transform 0.22s var(--spring);
}

.select-spec-btn:active {
  transform: scale(0.92);
}

.spec-count-pill {
  position: absolute;
  top: -6px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--pink-deep);
  border: 1.5px solid var(--pink-primary);
  font-size: 10px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(232, 74, 131, 0.24);
}

/* ==========================================================================
   底部悬浮液态玻璃购物车胶囊栏
   ========================================================================== */
.floating-cart-wrap {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(var(--safe-bottom) + 12px);
  width: calc(100% - 24px);
  max-width: 436px;
  z-index: 40;
}

.floating-cart {
  border-radius: 999px;
  padding: 7px 8px 7px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.84) 0%,
    rgba(255, 236, 244, 0.72) 55%,
    rgba(255, 218, 233, 0.65) 100%
  );
}

.cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  cursor: pointer;
}

.cart-bag-bubble {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff82ae, #f2558f);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow:
    0 6px 14px rgba(242, 85, 143, 0.34),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 0.65);
}

.cart-lulu-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(235, 122, 165, 0.25);
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--pink-deep);
  border: 1.5px solid var(--pink-primary);
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-badge.hidden {
  display: none;
}

.cart-summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cart-main-line {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-sub-line {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-submit-btn {
  border: none;
  border-radius: 999px;
  padding: 0 18px;
  height: 42px;
  background: linear-gradient(135deg, #ff70a2 0%, #e8447f 100%);
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow:
    0 8px 18px rgba(232, 68, 127, 0.34),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.55);
  transition: transform 0.24s var(--spring), opacity 0.2s ease;
}

.cart-submit-btn:active {
  transform: scale(0.94);
}

.cart-submit-btn:disabled {
  background: rgba(255, 173, 203, 0.55);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
  cursor: default;
}

/* ==========================================================================
   底部玻璃弹出层（选规格、购物袋、订单进度、成功小票）
   ========================================================================== */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(66, 30, 44, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.sheet-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sheet-backdrop.is-center {
  align-items: center;
  padding: 18px;
}

.liquid-sheet {
  width: 100%;
  max-width: 460px;
  max-height: 86dvh;
  border-radius: 30px 30px 0 0;
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #fff6fa 55%,
    #ffedf4 100%
  );
  backdrop-filter: blur(32px) saturate(195%);
  -webkit-backdrop-filter: blur(32px) saturate(195%);
  border: 1px solid rgba(255, 255, 255, 0.94);
  box-shadow:
    0 -12px 40px rgba(235, 122, 165, 0.22),
    inset 0 2px 2px rgba(255, 255, 255, 0.96);
  display: flex;
  flex-direction: column;
  transform: translateY(36px);
  transition: transform 0.3s var(--smooth);
  overflow: hidden;
}

.sheet-backdrop.is-open .liquid-sheet {
  transform: translateY(0);
}

.sheet-backdrop.is-center .liquid-sheet {
  border-radius: 30px;
  max-height: 84dvh;
}

.sheet-grabber {
  width: 40px;
  height: 4px;
  border-radius: 999px;
  background: rgba(176, 140, 155, 0.35);
  margin: 10px auto 2px;
  flex-shrink: 0;
}

.sheet-head {
  padding: 10px 18px 12px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 182, 209, 0.28);
}

.sheet-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-sub);
  font-size: 18px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.sheet-body {
  padding: 14px 18px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.sheet-foot {
  padding: 12px 18px calc(var(--safe-bottom) + 12px);
  border-top: 1px solid rgba(255, 182, 209, 0.28);
  background: rgba(255, 247, 250, 0.72);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* 选规格弹窗细节 */
.spec-hero {
  display: flex;
  gap: 12px;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.spec-hero img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  object-fit: cover;
  border: 1.5px solid #fff;
  box-shadow: 0 6px 14px rgba(235, 122, 165, 0.16);
  flex-shrink: 0;
}

.spec-hero-title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
}

.spec-hero-selected {
  margin: 0;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

.spec-group {
  margin-bottom: 16px;
}

.spec-group-title {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.spec-group-hint {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
}

.spec-options-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.spec-option-btn {
  position: relative;
  border-radius: 16px;
  padding: 9px 14px;
  min-height: 40px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 200, 220, 0.65);
  box-shadow: 0 2px 6px rgba(235, 122, 165, 0.08);
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.22s var(--spring);
}

.spec-option-btn:active {
  transform: scale(0.95);
}

.spec-option-btn.is-selected {
  background: linear-gradient(145deg, rgba(255, 228, 239, 0.96), rgba(255, 245, 249, 0.96));
  color: var(--pink-deep);
  border: 1.5px solid var(--pink-primary);
  box-shadow:
    0 6px 14px rgba(255, 107, 157, 0.22),
    inset 0 1px 1px #ffffff;
}

.spec-option-badge {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--pink-primary);
  margin-top: 2px;
}

.tip-box {
  margin-bottom: 14px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px dashed rgba(255, 138, 179, 0.55);
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--text-sub);
}

.note-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 190, 214, 0.7);
  background: rgba(255, 255, 255, 0.85);
  font-family: inherit;
  font-size: 13px;
  color: var(--text-main);
  outline: none;
}

.note-input:focus {
  border-color: var(--pink-primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 157, 0.16);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 194, 217, 0.7);
}

.qty-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #ffe3ee, #ffd2e3);
  color: var(--pink-deep);
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-btn.is-plus {
  background: linear-gradient(135deg, #ff7aa8, #f24b88);
  color: #fff;
}

.qty-val {
  min-width: 18px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.primary-cta-btn {
  flex: 1;
  height: 46px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff74a4 0%, #e8447f 100%);
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow:
    0 10px 22px rgba(232, 68, 127, 0.34),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.58);
  transition: transform 0.22s var(--spring);
}

.primary-cta-btn:active {
  transform: scale(0.96);
}

.secondary-cta-btn {
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 158, 187, 0.65);
  background: rgba(255, 255, 255, 0.82);
  color: var(--pink-deep);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* 购物袋与订单列表项 */
.cart-item-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.9);
  margin-bottom: 10px;
}

.cart-item-row img {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-meta {
  flex: 1;
  min-width: 0;
}

.cart-item-meta h4 {
  margin: 0 0 3px;
  font-size: 14px;
  color: var(--text-main);
}

.cart-item-meta p {
  margin: 0;
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.35;
}

/* 成功粉色玻璃小票 */
.receipt-card {
  border-radius: 24px;
  padding: 16px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.92), rgba(255, 236, 244, 0.85));
  border: 1.5px solid #ffffff;
  box-shadow: 0 10px 26px rgba(232, 74, 131, 0.16);
}

.receipt-lulu-hero {
  width: 110px;
  height: 82px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
  margin: 0 auto 10px;
  border: 2px solid #fff;
  box-shadow: 0 6px 16px rgba(232, 74, 131, 0.18);
}

.receipt-title {
  text-align: center;
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 800;
  color: var(--pink-deep);
}

.receipt-sub {
  text-align: center;
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--text-sub);
}

.receipt-divider {
  border: none;
  border-top: 1.5px dashed rgba(255, 138, 179, 0.5);
  margin: 10px 0;
}

.receipt-drink-line {
  margin-bottom: 8px;
  font-size: 13px;
}

.receipt-drink-line strong {
  color: var(--text-main);
}

.receipt-drink-specs {
  font-size: 11.5px;
  color: var(--text-sub);
  margin-top: 2px;
}

/* 订单状态徽章 */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.status-pending {
  background: rgba(255, 107, 157, 0.15);
  color: var(--pink-deep);
}

.status-preparing {
  background: rgba(255, 174, 82, 0.18);
  color: #c26a0a;
}

.status-delivering {
  background: rgba(114, 174, 255, 0.18);
  color: #2166c2;
}

.status-done {
  background: rgba(82, 196, 138, 0.18);
  color: #1f8a52;
}

/* ==========================================================================
   男友接单台 (boss.html) 专属扩展样式
   ========================================================================== */
.boss-shell {
  padding-bottom: calc(var(--safe-bottom) + 28px);
}

.boss-toolbar {
  margin: 0 12px 12px;
  padding: 10px 14px;
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sync-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 5px;
}

.sync-status-dot.is-cloud {
  background: #38c97a;
  box-shadow: 0 0 8px rgba(56, 201, 122, 0.7);
}

.sync-status-dot.is-local {
  background: #ff9c47;
  box-shadow: 0 0 8px rgba(255, 156, 71, 0.65);
}

.boss-orders-list {
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.boss-order-card {
  border-radius: 24px;
  padding: 14px;
}

.boss-order-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.boss-order-time {
  font-size: 12px;
  color: var(--text-sub);
  font-weight: 600;
}

.boss-spec-chip {
  display: inline-block;
  padding: 3px 8px;
  margin: 3px 4px 0 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 180, 208, 0.65);
  font-size: 11px;
  color: var(--pink-deep);
  font-weight: 600;
}

.boss-actions-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  margin-top: 12px;
}

.boss-stage-btn {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  padding: 9px 6px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-main);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s var(--spring);
}

.boss-stage-btn:active {
  transform: scale(0.95);
}

.boss-stage-btn.is-current {
  background: linear-gradient(135deg, #ff74a4, #e8447f);
  color: #fff;
  box-shadow: 0 6px 14px rgba(232, 68, 127, 0.28);
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--text-main);
}

.form-field small {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 4px;
  line-height: 1.4;
}

.toast-banner {
  position: fixed;
  top: calc(var(--safe-top) + 18px);
  left: 50%;
  transform: translate(-50%, -20px);
  z-index: 90;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(74, 44, 56, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s var(--smooth);
  box-shadow: 0 8px 20px rgba(74, 44, 56, 0.24);
}

.toast-banner.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.empty-state {
  text-align: center;
  padding: 28px 16px;
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}
