/* Import after tokens.css. These are component patterns, not a complete app. */
.vibo-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 20px; border: 1px solid transparent;
  border-radius: var(--vibo-radius-button); background: var(--vibo-ink); color: var(--vibo-white);
  font: 600 15px/1.3 var(--vibo-font); text-align: center; text-decoration: none;
  cursor: pointer; transition: transform var(--vibo-duration-fast) var(--vibo-ease), background-color var(--vibo-duration-fast) var(--vibo-ease), box-shadow var(--vibo-duration-fast) var(--vibo-ease);
}
.vibo-button--secondary { background: var(--vibo-white); color: var(--vibo-ink); border-color: var(--vibo-ink); }
.vibo-button--green { background: var(--vibo-green); color: var(--vibo-ink); }
.vibo-button:active:not(:disabled):not([aria-disabled='true']) { transform: scale(.98); transition-duration: var(--vibo-duration-press); }
.vibo-button:disabled, .vibo-button[aria-disabled='true'] { background: #e4e8e2; color: var(--vibo-muted); border-color: #e4e8e2; cursor: not-allowed; transform: none; }
/* aria-disabled on an anchor also requires the app to prevent activation. */
.vibo-button[aria-busy='true'] { cursor: progress; }
.vibo-link { color: var(--vibo-ink); text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.vibo-card { border: 1px solid var(--vibo-border); border-radius: var(--vibo-radius-card); padding: 24px; background: var(--vibo-surface); box-shadow: var(--vibo-shadow); }
.vibo-card--interactive { transition: transform var(--vibo-duration-normal) var(--vibo-ease), box-shadow var(--vibo-duration-normal) var(--vibo-ease); }
.vibo-product-image { display: block; width: 100%; aspect-ratio: 1; height: auto; object-fit: contain; border-radius: 12px; background: white; }
.vibo-product-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
@media (min-width: 600px) { .vibo-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .vibo-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .vibo-product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.vibo-label { display: block; font-weight: 600; margin-bottom: 8px; }
.vibo-input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--vibo-control-border); border-radius: var(--vibo-radius-input); font: 400 16px/1.4 var(--vibo-font); background: var(--vibo-white); color: var(--vibo-ink); }
.vibo-input::placeholder { color: var(--vibo-muted); opacity: 1; }
.vibo-input[aria-invalid='true'] { border-color: var(--vibo-error); }
.vibo-error { color: var(--vibo-error); font-size: 14px; margin-top: 8px; }
.vibo-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--vibo-green-soft); color: var(--vibo-green-strong); border-radius: 999px; padding: 6px 10px; font-size: 13px; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .vibo-button:hover:not(:active):not(:disabled):not([aria-disabled='true']) { transform: translateY(-1px); box-shadow: var(--vibo-shadow-hover); }
  .vibo-button--secondary:hover:not(:disabled):not([aria-disabled='true']) { background: var(--vibo-green-soft); }
  .vibo-card--interactive:hover { transform: translateY(-3px); box-shadow: var(--vibo-shadow-hover); }
}
/* Add on intersection once. Do not apply hidden styles to waiting nodes. */
.vibo-enter { animation: vibo-enter var(--vibo-duration-enter) var(--vibo-ease) both; }
@keyframes vibo-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.vibo-menu-enter { animation: vibo-menu-enter 180ms var(--vibo-ease) both; }
@keyframes vibo-menu-enter { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html:focus-within { scroll-behavior: auto; }
  .vibo-page *, .vibo-page *::before, .vibo-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .vibo-button, .vibo-card--interactive, .vibo-enter, .vibo-menu-enter { transform: none !important; }
}
