/**
 * website/src/styles/wokcart-web.css
 * Clean Editorial Web Presentation Layer for WokCart (www.wokcart.com)
 * Inspired by NYT Cooking, Apple HIG & Instacart Multi-Store Workspace.
 */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  font-family: var(--font-sans, -apple-system, BlinkMacSystemFont, "Inter", "PingFang SC", "Microsoft YaHei", sans-serif);
  background-color: var(--bg-main, #FAF8F5);
  color: var(--text-main, #111827);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

/* ========================================================= */
/* 1. STICKY HEADER & QUICK-JUMP SUB-NAVIGATION BAR          */
/* ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

.brand-icon {
  font-size: 24px;
  line-height: 1;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111827;
}

.brand-title span {
  color: #059669;
}

.brand-sub {
  font-size: 11px;
  color: #6B7280;
  font-weight: 500;
}

.nav-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-app-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F3F4F6;
  color: #374151;
  border: 1px solid #E5E7EB;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #059669;
  border-radius: 50%;
}

.view-basket-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #059669;
  color: #FFFFFF;
  border: none;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease;
}

.view-basket-btn:hover {
  background: #047857;
}

/* Sticky 1-2-3-4 Sub-Nav Bar */
.sticky-subnav {
  border-top: 1px solid #F3F4F6;
  background: #FFFFFF;
}

.subnav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.subnav-inner::-webkit-scrollbar {
  display: none;
}

.subnav-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #4B5563;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.subnav-tab:hover,
.subnav-tab.active {
  color: #059669;
  border-bottom-color: #059669;
}

.subnav-badge {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 1px 8px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

/* ========================================================= */
/* 2. MAIN CONTAINER & COMPACT EDITORIAL HERO                */
/* ========================================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 16px 20px 40px;
}

.hero {
  padding: 12px 0 20px;
  border-bottom: 1px solid #E5E7EB;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #111827;
  margin-bottom: 4px;
}

.hero p {
  font-size: 14px;
  color: #4B5563;
  max-width: 820px;
}

.step-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #059669;
  margin-bottom: 2px;
}

.section-title {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}

/* ========================================================= */
/* 3. STEP 1: TOP-LEVEL 4-RETAILER STORE SELECTOR GRID       */
/* ========================================================= */
.step-store-section {
  margin-bottom: 24px;
}

.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 12px;
}

.active-store-indicator {
  font-size: 12px;
  color: #374151;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 5px 12px;
  border-radius: 9999px;
}

.store-selector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.store-selector-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.store-selector-card:hover {
  border-color: #059669;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.08);
}

.store-selector-card.active {
  background: #F0FDF4;
  border: 2px solid #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

.store-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.store-card-icon {
  font-size: 24px;
  line-height: 1;
}

.store-card-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #059669;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-card-radio {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #D1D5DB;
  background: #FFFFFF;
}

.store-card-name {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.store-card-desc {
  font-size: 12px;
  color: #4B5563;
  font-weight: 500;
}

/* ========================================================= */
/* 4. 2-COLUMN SPLIT WORKSPACE (STEP 2 LEFT | STEP 3 RIGHT)  */
/* ========================================================= */
.workspace-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr);
  gap: 24px;
  align-items: start;
}

.workspace-primary-column {
  min-width: 0;
}

/* Left Column: Step 2 Weekly Dinner Plan */
.planner-controls-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.planner-header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

/* Segmented Mon-Sun Pill Bar */
.day-pills-bar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  background: #F3F4F6;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid #E5E7EB;
  margin-bottom: 14px;
}

.day-tab-pill {
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 7px 4px;
  font-size: 13px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.day-tab-pill:hover {
  color: #111827;
}

.day-tab-pill.active {
  background: #059669;
  color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.active-day-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
}

.active-day-info {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.active-day-info strong {
  font-size: 15px;
  color: #111827;
}

.active-day-count {
  font-size: 12px;
  color: #6B7280;
}

.heading-actions {
  display: flex;
  gap: 8px;
}

.btn-add-dish {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-add-dish:hover {
  background: #059669;
  color: #FFFFFF;
}

.btn-reset-plan {
  background: #F9FAFB;
  color: #4B5563;
  border: 1px solid #E5E7EB;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

/* Switch Toggle (Little Wok Baby Split-Pot) */
.switch-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  user-select: none;
}

.switch-label input {
  display: none;
}

.slider {
  position: relative;
  width: 38px;
  height: 22px;
  background-color: #D1D5DB;
  border-radius: 9999px;
  transition: 0.2s;
  flex-shrink: 0;
}

.slider::before {
  content: "";
  position: absolute;
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: #FFFFFF;
  border-radius: 50%;
  transition: 0.2s;
}

.switch-label input:checked + .slider {
  background-color: #059669;
}

.switch-label input:checked + .slider::before {
  transform: translateX(16px);
}

/* ========================================================= */
/* 5. DECLUTTERED EDITORIAL RECIPE CARDS                     */
/* ========================================================= */
.active-dishes-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recipe-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.recipe-card:hover {
  border-color: #D1D5DB;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.recipe-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.recipe-meta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.cuisine-badge {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #ECFDF5;
  color: #065F46;
}

.prep-time {
  font-size: 11px;
  color: #6B7280;
  font-weight: 600;
}

.recipe-title {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
  line-height: 1.3;
}

.recipe-title-zh {
  font-weight: 700;
  color: #374151;
  margin-left: 4px;
}

.recipe-top-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-swap-dish {
  background: #F3F4F6;
  color: #111827;
  border: 1px solid #E5E7EB;
  padding: 5px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-swap-dish:hover {
  background: #ECFDF5;
  color: #059669;
  border-color: #059669;
}

.btn-remove-dish {
  background: transparent;
  color: #9CA3AF;
  border: 1px solid transparent;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-remove-dish:hover {
  background: #FEE2E2;
  color: #DC2626;
}

.recipe-subtitle {
  font-size: 13px;
  color: #4B5563;
  margin-bottom: 12px;
  line-height: 1.45;
}

/* Baby Split-Pot Note (Only visible when toggled ON) */
.split-pot-badge {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: #92400E;
  margin-bottom: 12px;
}

.split-pot-disclaimer {
  display: block;
  font-size: 10px;
  color: #B45309;
  margin-top: 2px;
}

/* Clickable Ingredient Pills (Dynamically Linked to Active Store) */
.ingredient-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.ing-link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  color: #1F2937;
  text-decoration: none;
  transition: all 0.15s ease;
}

.ing-link-pill:hover {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}

.ing-pill-name {
  font-weight: 700;
}

.ing-pill-price {
  color: #4B5563;
  font-weight: 600;
}

.ing-pill-store {
  color: #059669;
  font-weight: 800;
}

/* Dish Card Primary Store CTA Button */
.recipe-card-footer {
  padding-top: 4px;
}

.dish-store-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid #D1D5DB;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dish-store-cta-btn:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

/* ========================================================= */
/* 6. STEP 3: STICKY INLINE WEEKLY GROCERY CHECKLIST CARD    */
/* ========================================================= */
.step-checklist-column {
  position: sticky;
  top: 96px;
}

.inline-grocery-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.inline-grocery-header {
  margin-bottom: 12px;
}

.inline-grocery-title {
  font-size: 19px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 2px;
}

.inline-grocery-subtitle {
  font-size: 13px;
  color: #4B5563;
}

.inline-subtotal-price {
  color: #059669;
  font-size: 15px;
}

/* Synced 4-Store Switcher Pills inside Checklist */
.inline-store-pills-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  background: #F3F4F6;
  padding: 5px;
  border-radius: 12px;
  margin-bottom: 12px;
}

.inline-store-pill {
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 7px 4px;
  font-size: 11.5px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  white-space: nowrap;
  text-align: center;
  transition: all 0.15s ease;
}

.inline-store-pill:hover {
  color: #111827;
}

.inline-store-pill.active {
  background: #FFFFFF;
  color: #059669;
  border-color: #059669;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.inline-store-notice {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 11px;
  color: #065F46;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* Consolidated Ingredients List */
.inline-items-scroll {
  max-height: 360px;
  overflow-y: auto;
  border-top: 1px solid #F3F4F6;
  border-bottom: 1px solid #F3F4F6;
  padding: 6px 0;
  margin-bottom: 14px;
}

.checklist-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 9px 6px;
  border-bottom: 1px solid #F9FAFB;
}

.checklist-item-row:last-child {
  border-bottom: none;
}

.checklist-item-row.is-bundle-row {
  background: #FFFBEB;
  border-radius: 8px;
  padding: 10px 8px;
  margin-bottom: 4px;
}

.checklist-item-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.checklist-item-checkbox {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #059669;
  cursor: pointer;
  flex-shrink: 0;
}

.checklist-item-info {
  min-width: 0;
}

.checklist-item-title {
  font-size: 13px;
  color: #111827;
  line-height: 1.3;
}

.checklist-item-en {
  color: #4B5563;
  font-size: 12px;
}

.bundle-pill {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  margin-left: 4px;
}

.checklist-item-sub {
  font-size: 11px;
  color: #6B7280;
  margin-top: 2px;
}

.checklist-item-price {
  font-weight: 700;
  color: #111827;
}

.checklist-item-store-link {
  flex-shrink: 0;
  background: #ECFDF5;
  color: #059669;
  border: 1px solid #A7F3D0;
  padding: 4px 9px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.checklist-item-store-link:hover {
  background: #059669;
  color: #FFFFFF;
}

/* Multi-Store Checkout Footer */
.compact-affiliate-disclosure {
  font-size: 11px;
  color: #6B7280;
  line-height: 1.35;
  margin-bottom: 10px;
}

.btn-primary-store-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.22);
  margin-bottom: 10px;
  transition: background 0.15s ease;
}

.btn-primary-store-checkout:hover {
  background: #047857;
}

.multi-store-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

.btn-quick-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F9FAFB;
  color: #374151;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-quick-store:hover,
.btn-quick-store.is-selected {
  background: #ECFDF5;
  color: #065F46;
  border-color: #059669;
}

.btn-wechat-export-full {
  width: 100%;
  background: #FFFFFF;
  color: #111827;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-wechat-export-full:hover {
  background: #F3F4F6;
}

/* Mobile Sticky Bottom Bar (Hidden on Desktop >= 960px) */
.mobile-sticky-checkout-bar {
  display: none;
}

/* ========================================================= */
/* 7. CURATED MENUS, TRUST CARDS & WAITLIST                  */
/* ========================================================= */
.menus-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #E5E7EB;
}

.menus-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 18px;
}

.menus-header h2 {
  font-size: 20px;
  font-weight: 800;
  color: #111827;
}

.menus-header p {
  font-size: 13px;
  color: #4B5563;
}

.menu-tab-bar {
  display: flex;
  gap: 8px;
}

.menu-tab-btn {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
}

.menu-tab-btn.active {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.curated-menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.curated-menu-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.curated-menu-card h3 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.curated-menu-card p {
  font-size: 13px;
  color: #4B5563;
}

.menu-load-btn {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.menu-load-btn:hover {
  background: #059669;
  color: #FFFFFF;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.trust-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 18px;
}

.trust-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 6px;
}

.trust-card p {
  font-size: 12.5px;
  color: #4B5563;
}

.trust-card p.trust-card-fineprint {
  font-size: 11px;
  color: #6B7280;
  margin-top: 6px;
}

.trust-card-fineprint a { color: #059669; font-weight: 600; }

/* Compact home-page affiliate notice (full text lives on /disclosures.html) */
.footer-affiliate-notice {
  font-size: 11px;
  line-height: 1.45;
  color: #6B7280;
  max-width: 760px;
  margin: 16px auto 0;
  text-align: center;
}

.footer-affiliate-notice strong { color: #4B5563; }

.footer-affiliate-notice a {
  color: #059669;
  font-weight: 600;
  white-space: nowrap;
}

/* Full multi-retailer disclosure box (previously unstyled) */
.footer-compliance-box { font-size: 12px; color: #4B5563; }
.footer-compliance-box h4 { font-size: 13px; font-weight: 800; color: #111827; margin-bottom: 8px; }
.footer-disclosure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.footer-disclosure-col h5 { font-size: 12px; font-weight: 700; color: #111827; margin-bottom: 4px; }
.footer-compliance-box .fine-print { font-size: 11px; color: #6B7280; }

.waitlist-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 20px;
  margin-top: 24px;
}

.waitlist-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.waitlist-input,
.waitlist-select {
  flex: 1;
  min-width: 200px;
  padding: 9px 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  font-size: 13px;
}

.waitlist-submit {
  background: #059669;
  color: #FFFFFF;
  border: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

/* ========================================================= */
/* 8. DISH SWAP MODAL DIALOG & SLIDE-OVER DRAWER FALLBACK    */
/* ========================================================= */
.wokcart-dialog-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.wokcart-dialog-backdrop.open {
  display: flex;
}

.wokcart-dialog {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border: none;
  margin: auto;
  overflow: hidden;
}

.dialog-inner {
  display: flex;
  flex-direction: column;
  max-height: 85vh;
}

.dialog-header {
  padding: 16px 20px;
  border-bottom: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.dialog-title {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
}

.dialog-subtitle {
  font-size: 12px;
  color: #4B5563;
  margin-top: 2px;
}

.dialog-close-btn {
  background: none;
  border: none;
  font-size: 20px;
  color: #9CA3AF;
  cursor: pointer;
  padding: 4px;
}

.dialog-search-row {
  padding: 12px 20px 6px;
}

.dialog-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  font-size: 13px;
}

.dialog-cuisine-pills {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 6px 20px 12px;
  border-bottom: 1px solid #F3F4F6;
}

.cuisine-pill {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #4B5563;
  cursor: pointer;
  white-space: nowrap;
}

.cuisine-pill.active {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.dialog-dish-list {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.swap-dish-card {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.swap-dish-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.swap-dish-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
}

.swap-dish-desc {
  font-size: 12px;
  color: #4B5563;
}

.btn-select-swap {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

/* Fallback Drawer Styles */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 900;
  display: none;
}

.cart-drawer-backdrop.open {
  display: block;
}

.cart-drawer-aside {
  position: fixed;
  top: 0;
  right: -460px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 950;
  transition: right 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer-aside.open {
  right: 0 !important;
}

/* ========================================================= */
/* 9. GLOBAL FOOTER, COMPLIANCE CARD & TOAST                 */
/* ========================================================= */
.compliance-disclosure-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 20px;
  margin-top: 24px;
  font-size: 12px;
  color: #4B5563;
}

.compliance-disclosure-card h3 {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 10px;
}

.compliance-disclosure-card ul {
  list-style: disc;
  padding-left: 18px;
}

.compliance-disclosure-card li {
  margin-bottom: 6px;
}

footer {
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  padding: 28px 20px 60px;
  color: #4B5563;
  font-size: 12px;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.footer-links a {
  color: #059669;
  font-weight: 700;
  text-decoration: none;
}

.wechat-toast {
  position: fixed;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #111827;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 1200;
  opacity: 0;
  transition: all 0.25s ease;
  pointer-events: none;
}

.wechat-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ========================================================= */
/* 10. RESPONSIVE BREAKPOINTS (TABLET & MOBILE PIXEL 4)      */
/* ========================================================= */
@media (max-width: 960px) {
  .workspace-split-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .workspace-primary-column,
  .discover-workspace-section,
  .discover-workspace-card,
  .step-menu-column,
  .step-checklist-column {
    min-width: 0;
    max-width: 100%;
  }

  .step-checklist-column {
    position: static;
  }

  .mobile-sticky-checkout-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #D1D5DB;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 300;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
  }

  .mobile-bar-info {
    display: flex;
    flex-direction: column;
  }

  .mobile-bar-info strong {
    font-size: 13px;
    color: #111827;
  }

  .mobile-bar-sub {
    font-size: 11px;
    color: #6B7280;
  }

  .btn-mobile-scroll-checkout {
    background: #059669;
    color: #FFFFFF;
    border: none;
    border-radius: 9999px;
    padding: 9px 16px;
    font-size: 12.5px;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .nav-container {
    padding: 8px 14px;
  }

  .brand-sub {
    display: none;
  }

  .nav-app-status {
    font-size: 11px;
    padding: 4px 9px;
  }

  .view-basket-btn {
    display: none;
  }

  .subnav-inner {
    padding: 0 12px;
  }

  .subnav-tab {
    padding: 8px 10px;
    font-size: 12px;
  }

  .container {
    padding: 12px 14px 40px;
  }

  /* 2x2 Tactile Store Selector Grid on Mobile */
  .store-selector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .store-selector-card {
    padding: 12px;
  }

  .store-card-name {
    font-size: 15px;
  }

  .store-card-desc {
    font-size: 11px;
  }

  .section-heading-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .planner-controls-card {
    padding: 14px;
  }

  .recipe-card {
    padding: 14px 16px;
  }

  .recipe-title {
    font-size: 15.5px;
  }

  .inline-grocery-card {
    padding: 16px;
  }

  .inline-store-pills-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ========================================================= */
/* 11. BUG-FIX RELEASE 2026-09-30 (dialogs, toast, reset,    */
/*     stay-tuned badge, cart drawer <dialog>, manual copy)  */
/* ========================================================= */

/* Closed <dialog>s must stay hidden (author display:flex was overriding UA dialog:not([open])) */
dialog.wokcart-dialog:not([open]),
dialog.cart-drawer-dialog:not([open]) {
  display: none !important;
}
dialog.wokcart-dialog[open] {
  display: flex;
}
dialog.wokcart-dialog::backdrop,
dialog.cart-drawer-dialog::backdrop {
  background: rgba(15, 23, 42, 0.5);
}
.dialog-content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  width: 100%;
}
.dialog-search-row {
  display: flex;
  gap: 8px;
  align-items: center;
}
.dialog-search-row .dialog-search-input {
  flex: 1;
  min-width: 0;
}
.btn-surprise-me {
  flex-shrink: 0;
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.btn-surprise-me:hover,
.btn-surprise-me:focus-visible {
  background: #D1FAE5;
  outline: 2px solid #059669;
  outline-offset: 1px;
}

/* BUG-1: Cart drawer as a native modal <dialog> styled as a right slide-over panel */
dialog.cart-drawer-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  margin: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  max-height: 100%;
  padding: 0;
  border: none;
  background: #FFFFFF;
  box-shadow: -12px 0 32px rgba(15, 23, 42, 0.18);
  overflow: hidden;
}
dialog.cart-drawer-dialog[open] {
  display: flex;
  flex-direction: column;
  animation: wokcartDrawerIn 0.22s ease-out;
}
@keyframes wokcartDrawerIn {
  from { transform: translateX(40px); opacity: 0.4; }
  to { transform: translateX(0); opacity: 1; }
}
dialog.cart-drawer-dialog .cart-drawer-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}
dialog.cart-drawer-dialog .drawer-items-list {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
}
dialog.cart-drawer-dialog .store-tabs-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}
dialog.cart-drawer-dialog .store-tab {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
dialog.cart-drawer-dialog .drawer-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}
dialog.cart-drawer-dialog .drawer-wechat-btn {
  width: 100%;
  margin-top: 8px;
}
body.drawer-open {
  overflow: hidden;
}

/* BUG-7: toast (class names now match wechatExport.js) */
.wokcart-toast-notification {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(24px);
  max-width: min(92vw, 520px);
  background: #111827;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  z-index: 2147483000;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}
.wokcart-toast-notification.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.wokcart-toast-notification.is-error {
  background: #B91C1C;
}

/* BUG-7 fallback: manual copy panel */
.manual-copy-panel {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  width: min(94vw, 560px);
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  padding: 12px;
  z-index: 2147482000;
}
.manual-copy-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}
.manual-copy-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
}
.manual-copy-textarea {
  width: 100%;
  height: 180px;
  font-size: 12px;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 8px;
  resize: vertical;
}

/* BUG-4: inline reset confirmation */
.reset-confirm-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: 10px;
  padding: 4px 6px 4px 10px;
}
.reset-confirm-text {
  font-size: 12px;
  font-weight: 700;
  color: #92400E;
  white-space: nowrap;
}
.btn-reset-confirm {
  background: #B45309;
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.btn-reset-cancel {
  background: transparent;
  border: none;
  color: #92400E;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  padding: 4px 6px;
}

/* BUG-8: Stay Tuned is now a real link to the beta waitlist */
a.nav-app-status {
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
a.nav-app-status:hover,
a.nav-app-status:focus-visible {
  background: #ECFDF5;
  border-color: #6EE7B7;
  color: #065F46;
  outline: none;
}
a.nav-app-status:focus-visible {
  box-shadow: 0 0 0 2px #059669;
}

/* Checklist polish */
.checklist-item-row.is-unchecked .checklist-item-info {
  opacity: 0.55;
}
.checkout-hint {
  font-size: 11.5px;
  color: #6B7280;
  margin: 6px 0 0;
  line-height: 1.45;
}
#inline-primary-checkout-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* BUG-1 on phones: header basket button stays visible in compact form */
@media (max-width: 640px) {
  .view-basket-btn {
    display: inline-flex !important;
    padding: 6px 10px;
    font-size: 12px;
  }
  .nav-right-actions {
    gap: 6px;
  }
  dialog.cart-drawer-dialog {
    max-width: 100%;
  }
  .reset-confirm-text {
    display: none;
  }
}

/* NEW-14: phone header overflow (Pixel 4 XL, 411px). Two-row header:
   row 1 = brand + 🧺 Grocery List, row 2 = full-width "Stay Tuned" pill. Nothing hidden. */
@media (max-width: 640px) {
  .nav-container {
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .nav-right-actions {
    display: contents;
  }
  .brand { order: 1; min-width: 0; }
  .view-basket-btn { order: 2; margin-left: auto; }
  .nav-app-status {
    order: 3;
    flex: 1 0 100%;
    justify-content: center;
  }
  html, body { max-width: 100%; overflow-x: clip; }
}

/* Cart drawer visual polish (was unstyled: raw buttons / oversized text). Reuses checklist tokens. */
dialog.cart-drawer-dialog { color: #111827; font-family: inherit; }
dialog.cart-drawer-dialog .cart-drawer-header {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 16px 18px 12px; border-bottom: 1px solid #F3F4F6;
}
dialog.cart-drawer-dialog .drawer-title { font-size: 17px; font-weight: 800; line-height: 1.3; margin: 0; color: #111827; }
dialog.cart-drawer-dialog .drawer-subtitle { font-size: 12.5px; color: #6B7280; margin: 2px 0 0; }
dialog.cart-drawer-dialog .drawer-close-btn {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 9999px; border: 1px solid #E5E7EB;
  background: #F9FAFB; color: #374151; font-size: 16px; line-height: 1; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
dialog.cart-drawer-dialog .drawer-close-btn:hover,
dialog.cart-drawer-dialog .drawer-close-btn:focus-visible { background: #F3F4F6; outline: 2px solid #059669; outline-offset: 1px; }
dialog.cart-drawer-dialog .store-tabs-wrapper { padding: 12px 18px 0; }
dialog.cart-drawer-dialog .store-tabs-bar { margin-bottom: 10px; }
dialog.cart-drawer-dialog .drawer-store-notice { margin: 0 18px 8px; }
dialog.cart-drawer-dialog .drawer-store-notice:empty { display: none; }
dialog.cart-drawer-dialog .drawer-items-list { padding: 0 12px; border-top: 1px solid #F3F4F6; }
dialog.cart-drawer-dialog .drawer-footer {
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #E5E7EB; background: #FFFFFF; box-shadow: 0 -4px 12px rgba(0,0,0,0.04);
}
dialog.cart-drawer-dialog .drawer-subtotal-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 8px;
}
dialog.cart-drawer-dialog .drawer-subtotal-row .subtotal-amount { font-size: 17px; font-weight: 800; }
dialog.cart-drawer-dialog .pre-cta-disclosure {
  display: flex; gap: 8px; align-items: flex-start; font-size: 10.5px; line-height: 1.4; color: #6B7280;
  background: #F9FAFB; border: 1px solid #F3F4F6; border-radius: 10px; padding: 8px 10px;
  max-height: 96px; overflow-y: auto;
}
dialog.cart-drawer-dialog .pre-cta-disclosure-icon { font-size: 14px; line-height: 1; }
dialog.cart-drawer-dialog .pre-cta-disclosure strong { color: #374151; }
dialog.cart-drawer-dialog .drawer-cta-actions .btn-primary-store-checkout { margin-bottom: 0; }
dialog.cart-drawer-dialog .checkout-hint { font-size: 11px; color: #6B7280; margin: 2px 0 0; line-height: 1.4; }
dialog.cart-drawer-dialog .drawer-empty { padding: 24px 8px; text-align: center; color: #6B7280; font-size: 13px; }

/* Swap/Add picker polish: filter chips were squashed by the flex column; cards cramped on phones */
dialog.wokcart-dialog .dialog-header,
dialog.wokcart-dialog .dialog-search-row,
dialog.wokcart-dialog .dialog-cuisine-pills { flex-shrink: 0; }
dialog.wokcart-dialog .dialog-cuisine-pills { scrollbar-width: none; }
dialog.wokcart-dialog .dialog-cuisine-pills::-webkit-scrollbar { display: none; }
dialog.wokcart-dialog .cuisine-pill { flex-shrink: 0; line-height: 1.3; }
dialog.wokcart-dialog .dialog-dish-list { min-height: 0; }
dialog.wokcart-dialog .swap-dish-info { min-width: 0; flex: 1; }
dialog.wokcart-dialog .swap-dish-meta { font-size: 11.5px; color: #6B7280; font-weight: 600; }
dialog.wokcart-dialog .swap-dish-ingredients { font-size: 11.5px; color: #4B5563; margin-top: 4px; line-height: 1.45; }
dialog.wokcart-dialog .dialog-close-btn { width: 36px; height: 36px; border-radius: 9999px; flex-shrink: 0; }
dialog.wokcart-dialog .dialog-close-btn:hover { background: #F3F4F6; color: #374151; }
@media (max-width: 640px) {
  dialog.wokcart-dialog { max-width: 100%; max-height: 92vh; border-radius: 16px 16px 0 0; margin: auto 0 0; }
  dialog.wokcart-dialog .dialog-header { padding: 14px 16px; }
  dialog.wokcart-dialog .dialog-search-row { padding: 10px 16px 4px; }
  dialog.wokcart-dialog .dialog-cuisine-pills { padding: 6px 16px 10px; }
  dialog.wokcart-dialog .dialog-dish-list { padding: 12px 16px calc(16px + env(safe-area-inset-bottom, 0px)); }
  dialog.wokcart-dialog .swap-dish-card { flex-direction: column; align-items: stretch; gap: 10px; }
  dialog.wokcart-dialog .swap-dish-action, dialog.wokcart-dialog .btn-select-swap { width: 100%; }
  dialog.wokcart-dialog .btn-select-swap { padding: 10px 12px; font-size: 13px; }
}

/* ========================================================= */
/* 12. MOBILE-WEB PARITY UPGRADE (2026-10-18)                */
/*     Workspace Switcher, Discover & AI Chef, Smart Split,  */
/*     Pantry Manager, Cloud Sync, Little Wok & Video Modals */
/* ========================================================= */

.workspace-parity-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 12px 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.workspace-tabs-group {
  display: inline-flex;
  background: #F3F4F6;
  padding: 4px;
  border-radius: 12px;
  gap: 4px;
}

.workspace-tab-btn {
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: #4B5563;
  cursor: pointer;
  transition: all 0.15s ease;
}

.workspace-tab-btn.active {
  background: #059669;
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.25);
}

.workspace-tools-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.workspace-tool-pill {
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.workspace-tool-pill:hover {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}

.btn-cloud-account-pill {
  background: #ECFDF5;
  border-color: #6EE7B7;
  color: #047857;
}

.btn-cloud-account-pill.is-authed {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

/* 3-Store Grid (Smart Split + Weee! + Amazon Fresh) */
.store-selector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-header-right-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-regenerate-week {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-regenerate-week:hover {
  background: #FDE68A;
}

.chef-cookability-banner {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #065F46;
  margin-bottom: 12px;
}

.btn-split-pot-chip,
.btn-video-chip {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
}

.btn-split-pot-chip:hover,
.btn-video-chip:hover {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}

.btn-card-love {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 13px;
  cursor: pointer;
}

/* Smart Split & Weee! $35 Free-Shipping Progress Card */
.smart-split-progress-card {
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.smart-split-progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 800;
  color: #92400E;
  margin-bottom: 6px;
}

.smart-split-progress-track {
  width: 100%;
  height: 8px;
  background: #FDE68A;
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.smart-split-progress-fill {
  height: 100%;
  background: #D97706;
  border-radius: 9999px;
  transition: width 0.25s ease;
}

.smart-split-progress-fill.is-unlocked {
  background: #059669;
}

.smart-split-buckets-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.split-bucket-pill {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  color: #374151;
}

.weee-builder-chips-wrap {
  margin-top: 6px;
}

.weee-builder-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #78350F;
  margin-bottom: 4px;
}

.weee-builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-builder-chip {
  background: #FFFFFF;
  border: 1px solid #F59E0B;
  border-radius: 9999px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #92400E;
  cursor: pointer;
}

.btn-builder-chip:hover {
  background: #FEF3C7;
}

/* Checklist Pantry Bar & OOS Substitute Row */
.checklist-pantry-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 8px 10px;
  margin-bottom: 10px;
  font-size: 11.5px;
  color: #374151;
}

.checklist-pantry-actions {
  display: flex;
  gap: 6px;
}

.btn-pantry-deduct,
.btn-pantry-manage {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  color: #065F46;
  cursor: pointer;
}

.checklist-oos-sub-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.badge-oos-weee {
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 9999px;
}

.btn-swap-oos-sub {
  background: #ECFDF5;
  border: 1px solid #6EE7B7;
  color: #047857;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  cursor: pointer;
}

.pantry-pill-tag {
  background: #F3F4F6;
  color: #4B5563;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 9999px;
}

/* Discover & Gemini 2.5 Flash AI Chef Workspace */
.discover-workspace-card {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 24px;
}

.discover-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 16px;
}

.discover-header-actions {
  display: flex;
  gap: 8px;
}

.btn-Action-pill {
  background: #F9FAFB;
  border: 1px solid #D1D5DB;
  border-radius: 9999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 800;
  color: #1F2937;
  cursor: pointer;
}

.discover-ai-chef-banner {
  background: linear-gradient(135deg, #ECFDF5 0%, #FFFBEB 100%);
  border: 1.5px solid #6EE7B7;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
}

.discover-ai-input-group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.discover-ai-input {
  flex: 1;
  min-width: 220px;
  padding: 10px 14px;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  font-size: 13px;
  background: #FFFFFF;
}

.btn-ai-chef-primary,
.btn-ai-chef-generate {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.discover-ai-status,
.swap-ai-status {
  font-size: 11.5px;
  color: #065F46;
  margin-top: 6px;
  font-weight: 600;
}

.dialog-ai-chef-row {
  display: flex;
  gap: 8px;
  padding: 4px 20px 6px;
}

.discover-toolbar-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.discover-search-input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  font-size: 13px;
}

.discover-filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.discover-filter-chip {
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
}

.discover-filter-chip.active {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.discover-masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.discover-masonry-card {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.discover-masonry-card:hover {
  transform: translateY(-2px);
  border-color: #A7F3D0;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.1);
}

.discover-masonry-card.is-ai-custom-card {
  background: #F0FDF4;
  border-color: #6EE7B7;
}

.discover-card-cover {
  position: relative;
  width: 100%;
  height: 168px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 50%, #FCD34D 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discover-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.25s ease;
}

.discover-masonry-card:hover .discover-cover-img {
  transform: scale(1.03);
}

.discover-cover-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 0;
}

.discover-cover-fallback-emoji {
  font-size: 52px;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

.discover-cover-scrim-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.55) 0%, rgba(17, 24, 39, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  z-index: 2;
}

.discover-cover-scrim-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 12px 8px;
  background: linear-gradient(0deg, rgba(17, 24, 39, 0.62) 0%, rgba(17, 24, 39, 0) 100%);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.discover-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  gap: 10px;
}

.discover-cuisine-badge,
.discover-baby-badge,
.discover-ai-badge,
.discover-social-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  color: #111827;
  border: 1px solid rgba(229, 231, 235, 0.9);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.discover-social-badge {
  background: rgba(17, 24, 39, 0.78);
  color: #FEF3C7;
  border-color: rgba(252, 211, 77, 0.45);
}

.discover-taste-btns {
  display: flex;
  gap: 4px;
}

.btn-taste-dna {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(209, 213, 219, 0.9);
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  color: #1F2937;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.btn-taste-love.active {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #B91C1C;
}

.discover-card-hero {
  display: flex;
  align-items: center;
  gap: 8px;
}

.discover-dish-emoji {
  font-size: 22px;
  line-height: 1;
}

.discover-dish-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
}

.discover-dish-en {
  font-size: 12px;
  color: #4B5563;
}

.discover-dish-desc {
  font-size: 12px;
  color: #4B5563;
  line-height: 1.4;
}

.discover-ing-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.discover-ing-tag,
.discover-cost-tag {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 9999px;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  font-weight: 600;
}

.discover-cost-tag {
  color: #059669;
  font-weight: 800;
}

.discover-card-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.btn-discover-add-cart,
.btn-discover-add-plan,
.btn-discover-video {
  flex: 1;
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-discover-add-cart {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

/* Weekly Plan & Swap Modal AI Dish Cover Thumbnails */
.recipe-card-cover-thumb,
.swap-dish-cover-thumb {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swap-dish-cover-thumb {
  width: 56px;
  height: 56px;
  border-radius: 10px;
}

.recipe-cover-img,
.swap-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.recipe-cover-fallback-emoji {
  font-size: 26px;
  z-index: 0;
}

.recipe-title-group {
  flex: 1 1 200px;
  min-width: 0;
}

.recipe-card-top {
  flex-wrap: wrap;
}

.recipe-meta-line {
  flex-wrap: wrap;
  row-gap: 4px;
}

.btn-split-pot-chip,
.btn-video-chip {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .recipe-top-actions {
    width: 100%;
    justify-content: flex-end;
    padding-top: 4px;
    border-top: 1px dashed #F3F4F6;
  }
}

/* Modals: Pantry, Account, Household & Split-Pot */
.modal-section-card {
  padding: 14px 20px;
  border-bottom: 1px solid #F3F4F6;
  overflow-y: auto;
}

.modal-section-card h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111827;
}

.modal-auth-form {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-mode-tabs {
  display: flex;
  gap: 8px;
  padding: 12px 20px 0;
}

.modal-field-label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
}

.btn-primary-action {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.btn-secondary-action {
  background: #F3F4F6;
  color: #1F2937;
  border: 1px solid #D1D5DB;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}

.modal-action-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.modal-status-text {
  font-size: 12px;
  color: #059669;
  font-weight: 700;
  margin-top: 6px;
}

.pantry-staples-grid {
  padding: 14px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
  overflow-y: auto;
  max-height: 55vh;
}

.pantry-staple-card {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pantry-staple-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
}

.pantry-staple-meta {
  display: block;
  font-size: 11px;
  color: #6B7280;
}

.btn-pantry-toggle {
  border-radius: 9999px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  border: 1px solid #D1D5DB;
  white-space: nowrap;
}

.btn-pantry-toggle.stocked {
  background: #ECFDF5;
  color: #047857;
  border-color: #6EE7B7;
}

.btn-pantry-toggle.need-buy {
  background: #FEF3C7;
  color: #92400E;
  border-color: #FCD34D;
}

.modal-footer-bar {
  padding: 12px 20px;
  border-top: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.grandparent-bridge-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.grandparent-bridge-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 10px;
  padding: 10px;
  font-size: 11.5px;
}

.bridge-card-head {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.bridge-authority-tag {
  font-size: 10px;
  font-weight: 800;
  background: #FFFFFF;
  padding: 1px 6px;
  border-radius: 9999px;
}

.btn-copy-bridge {
  margin-top: 6px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #F59E0B;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.split-pot-invariants-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 10px 20px 0;
}

.safety-invariant-pill {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
  font-size: 11px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
}

.split-pot-steps-list {
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-y: auto;
}

.split-pot-step-card {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  gap: 10px;
}

.split-step-num {
  background: #059669;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 8px;
  height: fit-content;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .workspace-parity-bar {
    padding: 10px 12px;
  }
  .workspace-tabs-group {
    width: 100%;
  }
  .workspace-tab-btn {
    flex: 1;
    padding: 7px 8px;
    font-size: 12px;
  }
  .store-selector-grid {
    grid-template-columns: 1fr;
  }
}

/* Empty Default Cart State & Cost-Free Parity Badges */
.discover-ing-count-tag {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.empty-cart-title {
  font-size: 14px;
  font-weight: 800;
  color: #1F2937;
  margin-bottom: 6px;
}

.empty-cart-desc {
  font-size: 12px;
  color: #6B7280;
  line-height: 1.5;
  margin-bottom: 12px;
}

.btn-sync-weekly-plan-empty {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.btn-sync-weekly-plan-empty:hover {
  background: #047857;
}

.btn-sync-week-to-cart {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
}

.btn-clear-cart-inline {
  background: #F9FAFB;
  color: #6B7280;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

/* ========================================================= */
/* 12. AMAZON PRIME PANTRY STARTER KITS, 1-CLICK RECIPE      */
/*     PANTRY BUTTONS & POST-HANDOFF CHECK-IN BANNER         */
/* ========================================================= */

.amazon-post-handoff-banner {
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1.5px solid #F59E0B;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.12);
}

.amazon-checkin-copy {
  flex: 1 1 320px;
  font-size: 12.5px;
  font-weight: 700;
  color: #92400E;
  line-height: 1.45;
}

.amazon-checkin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.btn-checkin-confirmed {
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 7px 14px;
  font-size: 11.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.btn-checkin-confirmed:hover {
  background: #047857;
}

.btn-checkin-unavailable {
  background: #FFFFFF;
  color: #92400E;
  border: 1px solid #F59E0B;
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.btn-checkin-dismiss {
  background: transparent;
  color: #92400E;
  border: none;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 8px;
  cursor: pointer;
}

.recipe-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.recipe-card-footer .dish-store-cta-btn {
  flex: 1 1 200px;
}

.dish-amazon-pantry-cta-btn {
  flex: 1 1 180px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFBEB;
  color: #92400E;
  border: 1.5px solid #F59E0B;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.dish-amazon-pantry-cta-btn:hover {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
}

.btn-discover-amazon-pantry {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: all 0.15s ease;
}

.btn-discover-amazon-pantry:hover {
  background: #D97706;
  color: #FFFFFF;
  border-color: #D97706;
}

.prime-pantry-kits-section {
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 16px;
  padding: 22px 24px;
  margin-top: 22px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.prime-kits-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.prime-kits-subtitle {
  font-size: 13px;
  color: #4B5563;
  max-width: 720px;
  margin-top: 4px;
  line-height: 1.45;
}

.prime-kits-disclosure {
  font-size: 11px;
  color: #6B7280;
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 6px 10px;
  font-weight: 600;
}

.prime-kits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
  gap: 14px;
}

.prime-kit-card {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.prime-kit-card:hover {
  border-color: #F59E0B;
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.1);
}

.prime-kit-badge {
  display: inline-block;
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FDE68A;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 9999px;
  margin-bottom: 8px;
}

.prime-kit-title {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

.prime-kit-title-en {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #374151;
  margin-top: 2px;
}

.prime-kit-desc {
  font-size: 12px;
  color: #4B5563;
  margin-top: 6px;
  line-height: 1.45;
}

.prime-kit-items-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.prime-kit-item-pill {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 600;
  color: #1F2937;
}

.prime-kit-footer {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
  border-top: 1px dashed #E5E7EB;
}

.prime-kit-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11.5px;
  color: #4B5563;
}

.prime-kit-window-tag {
  background: #ECFDF5;
  color: #065F46;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
}

.btn-prime-kit-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #D97706;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  transition: background 0.15s ease;
}

.btn-prime-kit-cta:hover {
  background: #B45309;
}

/* ========================================================= */
/* 13. SIMPLIFIED DISCOVER MODE (WARM CERAMIC #FAF8F5)       */
/*     & WEEE! EXPRESS MULTI-SKU CART STAGER                 */
/* ========================================================= */

.header-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.header-pill-btn:hover {
  border-color: #059669;
  color: #059669;
  background: #F0FDF4;
}

@media (max-width: 640px) {
  .nav-container {
    padding: 8px 12px;
    flex-wrap: nowrap;
    gap: 6px;
  }
  .brand-sub {
    display: none;
  }
  .brand-title {
    font-size: 14.5px;
    white-space: nowrap;
  }
  .nav-actions,
  .nav-right-actions {
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
  }
  .header-pill-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
  .nav-cart-btn,
  .view-basket-btn {
    padding: 6px 10px;
    font-size: 11.5px;
    white-space: nowrap;
  }
  .main-container,
  .discover-main-container {
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

.workspace-split-grid.is-discover-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 1080px;
  margin: 0 auto;
}

.discover-workspace-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.discover-search-header-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.discover-unified-search-box {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #FFFFFF;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 5px 6px 5px 12px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.discover-unified-search-box:focus-within {
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.12);
}

.search-icon-prefix,
.search-icon {
  font-size: 14px;
  line-height: 1;
  flex-shrink: 0;
}

.discover-unified-search-box .discover-search-input,
.discover-search-input-clean {
  flex: 1 !important;
  width: auto !important;
  min-width: 0 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  padding: 4px 2px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #111827 !important;
}

.btn-inline-ai-chef {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-inline-ai-chef:hover {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
}

.btn-discover-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  color: #111827;
  border: 1.5px solid #E5E7EB;
  border-radius: 9999px;
  padding: 9px 13px;
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
  transition: all 0.15s ease;
}

.btn-discover-filter-trigger:hover,
.btn-discover-filter-trigger.has-active-filters {
  background: #ECFDF5;
  border-color: #059669;
  color: #065F46;
}

.filter-count-badge,
.filter-badge-count {
  background: #059669;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 9999px;
}

.discover-active-filters-bar,
.discover-active-filters-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  background: #FFFFFF;
  border: 1px solid #D1FAE5;
  border-radius: 12px;
  padding: 7px 12px;
}

.active-filter-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.active-filter-pill,
.active-filter-chip {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11.5px;
  font-weight: 700;
}

.btn-clear-discover-filters {
  background: transparent;
  color: #6B7280;
  border: none;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.discover-zero-match-card {
  background: #FFFFFF;
  border: 1.5px dashed #059669;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 14px;
  text-align: center;
}

.zero-match-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #1F2937;
  margin-bottom: 10px;
}

/* RedNote 2-Column Masonry Cards with Top-Right Corner Add Button */
.discover-masonry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 820px) {
  .discover-masonry-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

.discover-masonry-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  overflow: hidden;
  padding: 0 !important;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.discover-masonry-card:hover {
  transform: translateY(-2px);
  border-color: #059669;
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.1);
}

.discover-masonry-card.is-in-cart-card,
.discover-masonry-card.is-in-cart {
  border: 2px solid #059669;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.12);
}

.discover-card-cover {
  position: relative;
  width: 100%;
  height: 156px;
  margin: 0 !important;
  border-radius: 0 !important;
  border: none !important;
  border-bottom: 1px solid #F3F4F6 !important;
  overflow: hidden;
  background: #F3F4F6;
}

@media (min-width: 640px) {
  .discover-card-cover {
    height: 184px;
  }
}

.discover-cover-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.discover-cover-fallback {
  display: none !important;
}

.discover-card-cover.is-fallback-poster .discover-cover-fallback {
  display: flex !important;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  z-index: 1;
}

.discover-cover-scrim-top {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 6px;
  pointer-events: none;
}

.discover-cuisine-badge {
  pointer-events: auto;
  background: rgba(17, 24, 39, 0.72);
  color: #FFFFFF;
  font-size: 9.5px;
  font-weight: 800;
  padding: 3px 7px;
  border-radius: 9999px;
  letter-spacing: 0.02em;
  max-width: calc(100% - 42px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-discover-corner-add {
  pointer-events: auto;
  position: static;
  flex-shrink: 0;
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.96);
  color: #059669;
  border: 1.5px solid #059669;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(17, 24, 39, 0.18);
  transition: all 0.15s ease;
}

.btn-discover-corner-add:hover,
.btn-discover-corner-add.is-added {
  background: #059669;
  color: #FFFFFF;
  border-color: #059669;
  font-size: 12px;
}

.discover-cover-scrim-bottom {
  position: absolute;
  bottom: 8px;
  left: 8px;
  right: 8px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.discover-card-body {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
}

.discover-dish-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.28;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.discover-dish-en {
  font-size: 11.5px;
  color: #6B7280;
  font-weight: 600;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.discover-card-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 6px;
}

.discover-ing-count-tag {
  font-size: 11px;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 2px 7px;
  border-radius: 9999px;
  white-space: nowrap;
}

.discover-card-mini-tools {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.btn-card-mini-tool {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  width: 26px;
  height: 26px;
  padding: 0;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-card-mini-tool.active {
  background: #FEF2F2;
  border-color: #FECACA;
}

/* Unified Filter Bottom-Sheet Modal (#discover-filter-dialog) */
.modal-section-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.modal-section-card h4 {
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 10px;
}

.fridge-chips-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.fridge-ingredient-chip,
.fridge-ing-chip {
  background: #FAF8F5;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 7px 6px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.fridge-ingredient-chip.active,
.fridge-ing-chip.active {
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #059669;
}

.filter-store-pills-row,
.filter-store-pills {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.filter-store-mode-pill,
.filter-store-pill {
  background: #FAF8F5;
  color: #1F2937;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.filter-store-mode-pill.active,
.filter-store-pill.active {
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #059669;
}

.filter-tools-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #E5E7EB;
}

/* Dish Detail Sheet Modal (#dish-detail-dialog) */
.dish-detail-card {
  padding: 0 !important;
  overflow: hidden !important;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  background: #FAF8F5;
}

.detail-hero-cover {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
  overflow: hidden;
  flex-shrink: 0;
}

.detail-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-floating-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  background: rgba(255, 255, 255, 0.94) !important;
  border-radius: 9999px !important;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.detail-hero-badges {
  position: absolute;
  bottom: 10px;
  left: 14px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-cuisine-pill {
  background: rgba(17, 24, 39, 0.78);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
}

.detail-baby-pill {
  background: #FEF3C7;
  color: #92400E;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
}

.detail-body-scroll {
  padding: 16px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.detail-title-main {
  font-size: 18px;
  font-weight: 800;
  color: #111827;
  margin: 0;
}

.detail-title-sub {
  font-size: 13px;
  color: #6B7280;
  font-weight: 600;
  margin: 2px 0 0;
}

.detail-portion-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1.5px solid #059669;
  border-radius: 9999px;
  padding: 4px 8px;
  flex-shrink: 0;
}

.btn-detail-portion {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #D1D5DB;
  background: #FAF8F5;
  color: #111827;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.detail-portion-val {
  font-size: 12.5px;
  font-weight: 800;
  color: #059669;
  white-space: nowrap;
}

.detail-editorial-box {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 12px;
  padding: 10px 14px;
}

.detail-editorial-head {
  font-size: 12.5px;
  color: #065F46;
  margin-bottom: 4px;
}

.detail-editorial-text {
  font-size: 12.5px;
  color: #047857;
  line-height: 1.45;
  margin: 0;
}

.detail-media-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-detail-video-link,
.btn-detail-rednote-link,
.btn-detail-splitpot {
  flex: 1 1 135px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.btn-detail-video-link {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.btn-detail-rednote-link {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.btn-detail-splitpot {
  background: #FFFBEB;
  color: #92400E;
  border: 1px solid #FDE68A;
}

.detail-ingredients-section {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 12px 14px;
}

.detail-ingredients-section h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #065F46;
  margin: 0 0 8px;
}

.detail-ing-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-ing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px dashed #F3F4F6;
  font-size: 12.5px;
}

.detail-ing-row:last-child {
  border-bottom: none;
}

.detail-ing-en {
  color: #6B7280;
  font-size: 11.5px;
}

.detail-ing-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.detail-ing-qty {
  font-size: 11.5px;
  font-weight: 700;
  color: #374151;
}

.detail-ing-store-pill {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
}

.detail-basics-text {
  font-size: 12px;
  color: #6B7280;
  margin: 0;
}

.detail-sticky-footer {
  padding: 12px 18px;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.btn-detail-primary-cta {
  flex: 1;
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.btn-detail-remove-cart {
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

/* Cart Drawer Dish Portion Steppers & Weee! Express Multi-SKU Cart Stager */
.cart-selected-dishes-section {
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 8px 16px 4px;
}

.cart-selected-dishes-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #111827;
  margin-bottom: 8px;
}

.btn-clear-cart-inline {
  background: transparent;
  color: #B91C1C;
  border: none;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}

.cart-selected-dishes-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-selected-dish-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 6px 10px;
}

.cart-dish-chip-title {
  font-size: 12.5px;
  font-weight: 700;
  color: #111827;
}

.cart-dish-stepper {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FAF8F5;
  border: 1px solid #E5E7EB;
  border-radius: 9999px;
  padding: 2px 6px;
}

.btn-cart-dish-step {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #D1D5DB;
  background: #FFFFFF;
  color: #111827;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-dish-portions {
  font-size: 12px;
  font-weight: 800;
  color: #059669;
  min-width: 20px;
  text-align: center;
}

.weee-express-stager-card {
  background: linear-gradient(135deg, #ECFDF5 0%, #F0FDF4 100%);
  border: 1.5px solid #059669;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.weee-stager-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.weee-stager-title {
  font-size: 12.5px;
  font-weight: 800;
  color: #065F46;
  margin-right: 8px;
}

.weee-stager-count {
  display: inline-block;
  background: #059669;
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
}

.btn-weee-reset-queue {
  background: #FFFFFF;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.weee-stager-progress-track {
  width: 100%;
  height: 6px;
  background: #D1FAE5;
  border-radius: 9999px;
  overflow: hidden;
}

.weee-stager-progress-fill {
  height: 100%;
  background: #059669;
  transition: width 0.25s ease;
}

.weee-stager-instruction {
  font-size: 11.5px;
  color: #047857;
  margin: 0;
  line-height: 1.35;
}

.weee-stager-queue-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-height: 92px;
  overflow-y: auto;
}

.weee-queue-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #FFFFFF;
  color: #1F2937;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.weee-queue-chip.is-staged {
  background: #D1FAE5;
  color: #065F46;
  border-color: #059669;
}

.weee-stager-actions {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.btn-weee-stage-next {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #059669;
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 12.5px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.2);
}

.btn-weee-stage-next:hover {
  background: #047857;
}

.btn-weee-review-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #FFFFFF;
  color: #065F46;
  border: 1.5px solid #059669;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-align: center;
}

.bundle-discrete-skus-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 6px;
}

.bundle-comp-weee-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-decoration: none;
}

/* Discover Sticky Bottom Cart Bar: Warm Ceramic / Porcelain White Light Theme, only shown when items > 0 */
.mobile-sticky-checkout-bar.is-discover-sticky-bar {
  display: none !important;
}

.mobile-sticky-checkout-bar.is-discover-sticky-bar.has-items {
  display: flex !important;
  position: fixed;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100vw - 24px));
  z-index: 180;
  background: #FFFFFF;
  color: #111827;
  border: 2px solid #059669;
  border-radius: 16px;
  padding: 10px 14px;
  box-shadow: 0 10px 28px rgba(5, 150, 105, 0.18);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.mobile-sticky-checkout-bar.is-discover-sticky-bar .sticky-cart-label {
  color: #6B7280;
}

.mobile-sticky-checkout-bar.is-discover-sticky-bar .sticky-cart-summary {
  color: #111827;
}

.cart-drawer-inner {
  overflow-y: auto !important;
  display: block !important;
}

.drawer-items-list {
  max-height: none !important;
  overflow-y: visible !important;
}



