/* OnShopee Mobile E-Commerce Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: #f4f5f7;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Pixel-Perfect Split Add Button (Exact OnShopee UI) */
.btn-add-split {
  display: inline-flex;
  align-items: center;
  border: 1px solid #f24e1e;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  height: 32px;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 1px 3px rgba(242, 78, 30, 0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.btn-add-split:active {
  transform: scale(0.95);
}

.btn-add-split .add-text {
  padding: 0 10px;
  color: #1f2937;
  font-weight: 700;
  font-size: 0.8rem;
}

.btn-add-split .add-plus {
  background: #f24e1e;
  color: #ffffff;
  padding: 0 10px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 900;
  border-left: 1px solid #f24e1e;
}

/* Pixel-Perfect Stepper Box */
.stepper-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid #0ba360;
  border-radius: 6px;
  overflow: hidden;
  height: 32px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(11, 163, 96, 0.12);
}

.stepper-btn {
  background: #e8f7f0;
  color: #077946;
  border: none;
  width: 28px;
  height: 100%;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease;
}

.stepper-btn:active {
  background: #0ba360;
  color: #ffffff;
}

.stepper-val {
  padding: 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #111827;
}

/* Variation Dropdown Pill */
.unit-dropdown-btn {
  width: 100%;
  padding: 5px 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.unit-dropdown-btn:hover, .unit-dropdown-btn:focus {
  border-color: #f24e1e;
  box-shadow: 0 0 0 2px rgba(242, 78, 30, 0.1);
}

/* Bottom Strip Animation */
@keyframes slideUpCart {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.animate-slide-up {
  animation: slideUpCart 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
