.oppo-commerce .oppo-foundation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; min-width: 0; }
.oppo-commerce .oppo-foundation-grid > *, .oppo-commerce .oppo-foundation-sample { min-width: 0; }
.oppo-commerce .oppo-foundation-sample { display: grid; align-content: start; justify-items: start; gap: 12px; }
.oppo-commerce .oppo-foundation-caption { color: var(--oppo-muted); font-size: 12px; line-height: 1.5; }
.oppo-commerce .oppo-foundation-hover { background: #303030; }
.oppo-commerce .oppo-foundation-focus { outline: 2px solid var(--oppo-green-dark); outline-offset: 3px; box-shadow: var(--oppo-focus); }
.oppo-commerce .oppo-foundation-sample .oppo-button[aria-pressed="true"] { background: var(--oppo-ink); border-color: var(--oppo-ink); color: var(--oppo-white); }
.oppo-commerce .oppo-foundation-result { display: inline-flex; gap: 10px; align-items: center; min-height: var(--oppo-control-md); color: var(--oppo-green-dark); font-size: 14px; }
.oppo-commerce .oppo-foundation-input--success { border-color: var(--oppo-green-dark); }
.oppo-commerce .oppo-foundation-success { color: var(--oppo-green-dark); }
.oppo-commerce .oppo-foundation-progress { display: block; width: 100%; height: 10px; accent-color: var(--oppo-green-dark); border: 0; border-radius: 99px; overflow: hidden; }
.oppo-commerce .oppo-foundation-progress::-webkit-progress-bar { background: var(--oppo-gray-100); border-radius: 99px; }
.oppo-commerce .oppo-foundation-progress::-webkit-progress-value { background: var(--oppo-green-dark); border-radius: 99px; }
.oppo-commerce .oppo-foundation-progress::-moz-progress-bar { background: var(--oppo-green-dark); border-radius: 99px; }
.oppo-commerce .oppo-foundation-skeleton { display: grid; gap: 24px; padding: 24px; border: 1px solid var(--oppo-border); border-radius: 16px; }
.oppo-commerce .oppo-foundation-skeleton__image { height: 160px; border-radius: 12px; }
.oppo-commerce .oppo-foundation-width-70 { width: 70%; }
.oppo-commerce .oppo-foundation-width-45 { width: 45%; }
.oppo-commerce .oppo-foundation-wait { display: flex; align-items: flex-start; gap: 16px; padding: 24px; border: 1px solid var(--oppo-border); border-radius: 16px; }
.oppo-commerce .oppo-foundation-wait > .oppo-spinner { flex-shrink: 0; margin-top: 3px; }
.oppo-commerce .oppo-foundation-wait p { margin: 8px 0 0; }
.oppo-commerce .oppo-foundation-type { display: grid; gap: 24px; min-width: 0; }
.oppo-commerce .oppo-foundation-type__display { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; overflow-wrap: anywhere; }
.oppo-commerce .oppo-foundation-type__title { font-size: 24px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
.oppo-commerce .oppo-foundation-type__body { font-size: 16px; line-height: 1.6; max-width: 55ch; }
.oppo-commerce .oppo-foundation-type__caption { font-size: 12px; line-height: 1.5; color: var(--oppo-muted); }
.oppo-commerce .oppo-foundation-palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.oppo-commerce .oppo-foundation-palette > div { display: grid; gap: 8px; font-size: 12px; min-width: 0; }
.oppo-commerce .oppo-foundation-palette > div > span { display: block; height: 64px; background: var(--foundation-color); border-radius: 12px; border: 1px solid var(--oppo-border); }
.oppo-commerce .oppo-foundation-spacing { display: grid; gap: 20px; }
.oppo-commerce .oppo-foundation-spacing > div { display: grid; grid-template-columns: 64px 64px minmax(0, 1fr); align-items: center; gap: 16px; }
.oppo-commerce .oppo-foundation-spacing > div > span { display: block; width: var(--foundation-space); height: 12px; background: var(--oppo-green-dark); border-radius: 3px; }
.oppo-commerce .oppo-foundation-spacing code { color: var(--oppo-text); font-size: 12px; }
.oppo-commerce .oppo-foundation-surface { display: grid; gap: 16px; background: var(--oppo-gray-100); border-radius: 16px; padding: 24px; }
.oppo-commerce .oppo-foundation-surface > p { margin: 0; }
.oppo-commerce .oppo-foundation-surface__inner { display: grid; gap: 8px; padding: 20px; background: var(--oppo-surface); border: 1px solid var(--oppo-border); border-radius: 12px; font-size: 14px; }
.oppo-commerce .oppo-foundation-surface__accent { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--oppo-success-soft); color: var(--oppo-green-dark); border-radius: 12px; font-size: 14px; }
.oppo-commerce .oppo-foundation-input-group { display: flex; align-items: center; gap: 12px; border: 1px solid var(--oppo-border); border-radius: var(--oppo-radius-sm); padding-inline: 14px; min-width: 0; background: var(--oppo-surface); }
.oppo-commerce .oppo-foundation-input-group:focus-within { border-color: var(--oppo-ink); outline: 2px solid var(--oppo-green-dark); outline-offset: 3px; box-shadow: var(--oppo-focus); }
.oppo-commerce .oppo-foundation-input-group > .oppo-input { min-width: 0; border: 0; border-radius: 0; padding-inline: 0; outline: 0; box-shadow: none; background: transparent; }
.oppo-commerce .oppo-foundation-input-group > span { color: var(--oppo-muted); flex-shrink: 0; font-size: 14px; }
.oppo-commerce .oppo-foundation-input-group > .oppo-icon-button { width: 32px; height: 32px; border: 0; flex-shrink: 0; }
.oppo-commerce .oppo-foundation-counter { color: var(--oppo-muted); text-align: right; font-size: 12px; }
.oppo-commerce .oppo-foundation-counter output { display: inline; }
.oppo-commerce .oppo-foundation-file { font-size: 13px; padding: 12px; }
.oppo-commerce .oppo-foundation-file::file-selector-button { font: inherit; border: 1px solid var(--oppo-border); border-radius: 8px; background: var(--oppo-surface); color: var(--oppo-text); padding: 8px 12px; margin-right: 12px; cursor: pointer; }
.oppo-commerce .oppo-foundation-grid .oppo-field, .oppo-commerce .oppo-foundation-sample .oppo-field { width: 100%; }
.oppo-commerce .oppo-foundation-grid .oppo-input { min-width: 0; }
.oppo-commerce .oppo-foundation-grid .oppo-button { max-width: 100%; }
@media (max-width: 1000px) {
  .oppo-commerce .oppo-foundation-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .oppo-commerce .oppo-foundation-palette { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .oppo-commerce .oppo-foundation-spacing > div { grid-template-columns: 48px 48px minmax(0, 1fr); gap: 12px; }
  .oppo-commerce .oppo-foundation-surface, .oppo-commerce .oppo-foundation-skeleton, .oppo-commerce .oppo-foundation-wait { padding: 16px; }
}
@media (forced-colors: active) {
  .oppo-commerce .oppo-foundation-palette > div > span { forced-color-adjust: none; }
  .oppo-commerce .oppo-foundation-focus { outline-color: Highlight; }
}
