/* 迁移时新增的组件样式：Cookie 横幅、轻提示、SKU 选择器、表单反馈
   基于主题已有 CSS 变量与工具类，不覆盖原样式 */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  padding: 14px 0;
  background: #111;
  color: #fff;
  font-size: 14px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; }
.cookie-banner .cookie-actions { gap: 10px; }
.cookie-banner .btn { padding: 8px 18px; font-size: 13px; }

.site-toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  z-index: 950;
  max-width: 88vw;
  padding: 12px 20px;
  border-radius: 6px;
  background: #222;
  color: #fff;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}
.site-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.site-toast[data-type="error"] { background: #c0392b; }
.site-toast[data-type="success"] { background: #1e8e3e; }

/* SKU 选择 */
.sku-selector { margin: 16px 0; }
.sku-selector .sku-group { margin-bottom: 12px; }
.sku-selector .sku-label { font-size: 13px; color: #666; margin-bottom: 6px; }
.sku-selector .sku-values { display: flex; flex-wrap: wrap; gap: 8px; }
.sku-selector .sku-value {
  border: 1px solid #ddd;
  background: #fff;
  padding: 8px 14px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
}
.sku-selector .sku-value.is-active { border-color: #111; background: #111; color: #fff; }
.sku-selector .sku-value.is-disabled { opacity: .35; cursor: not-allowed; }

/* 通用表单反馈 */
.form-error { color: #c0392b; font-size: 13px; margin-top: 8px; }
.auth-tip { font-size: 13px; color: #666; }

/* 账户页小工具 */
.account-empty { padding: 40px 0; text-align: center; color: #666; }
.site-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 24px; }
.site-pagination button {
  min-width: 36px;
  height: 36px;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
}
.site-pagination button.is-active { background: #111; color: #fff; border-color: #111; }
.site-pagination button:disabled { opacity: .4; cursor: not-allowed; }