/* Χρώματα από το συμβόλαιο θέματος Store10 (--s10-*), με προεπιλογές για θέματα χωρίς αυτό. */
.s10as-root, .s10as-panel {
  --s10as-accent: var(--s10-accent, var(--mm-primary, #2563eb));
  --s10as-text: var(--s10-text, #111827);
  --s10as-muted: var(--s10-muted, #6b7280);
  --s10as-border: var(--s10-border, #e5e7eb);
  --s10as-surface: var(--s10-surface, #fff);
  --s10as-hover: var(--s10-hover, #f3f7ff);
  --s10as-radius: var(--s10-radius, 10px);
}
.s10as-root { position: relative; overflow: visible !important; }
.mm-mobile-unified-search.s10as-host-open { overflow: visible !important; }
.mm-sticky-header-shell.s10as-shell-open { z-index: 1600 !important; }
.s10as-panel { position: absolute; top: calc(100% + 8px); right: 0; left: 0; z-index: 1500; display: none; max-height: min(68vh, 460px); overflow-y: auto; border: 1px solid var(--s10as-border); border-radius: var(--s10as-radius); background: var(--s10as-surface); box-shadow: 0 22px 64px rgba(15, 23, 42, .23); text-align: left; }
.s10as-open .s10as-panel { display: block; }
.s10as-item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 86px; padding: 11px 14px; border-bottom: 1px solid var(--s10as-border); color: var(--s10as-text); text-decoration: none; }
.s10as-item:hover, .s10as-item:focus, .s10as-item.is-active { background: var(--s10as-hover); color: var(--s10as-text); text-decoration: none; }
.s10as-thumb { display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden; border: 1px solid var(--s10as-border); border-radius: calc(var(--s10as-radius) * .8); background: var(--s10as-surface); }
.s10as-thumb img { width: 100%; height: 100%; object-fit: contain; }
.s10as-copy { display: grid; min-width: 0; gap: 4px; }
.s10as-title { color: var(--s10as-text); font-size: 14px; line-height: 1.25; font-weight: 800; }
.s10as-model { color: var(--s10as-muted); font-size: 12px; line-height: 1.2; font-weight: 600; }
.s10as-price { display: inline-flex; flex-wrap: wrap; gap: 7px; align-items: baseline; color: var(--s10as-accent); font-size: 13px; line-height: 1.2; }
.s10as-price strong { font-weight: 800; }
.s10as-old-price { color: #9ca3af; text-decoration: line-through; }
.s10as-stock { justify-self: end; padding: 5px 8px; border-radius: 999px; font-size: 11px; line-height: 1; font-weight: 800; white-space: nowrap; }
.s10as-stock.is-in { background: #dcfce7; color: #166534; }
.s10as-stock.is-out { background: #fee2e2; color: #991b1b; }
.s10as-state, .s10as-all { display: flex; align-items: center; min-height: 46px; padding: 12px 14px; color: var(--s10as-muted); font-size: 13px; font-weight: 700; }
.s10as-all { justify-content: center; border-top: 1px solid var(--s10as-border); color: var(--s10as-accent); text-decoration: none; }
.s10as-all:hover, .s10as-all:focus, .s10as-all.is-active { background: var(--s10as-hover); color: var(--s10as-accent); }
.s10as-spinner { width: 16px; height: 16px; margin-right: 10px; border: 2px solid #dbeafe; border-top-color: var(--s10as-accent); border-radius: 50%; animation: s10as-spin .7s linear infinite; }
@keyframes s10as-spin { to { transform: rotate(360deg); } }
@media (max-width: 575.98px) { .s10as-panel { max-height: 64vh; } .s10as-item { grid-template-columns: 56px minmax(0, 1fr); min-height: 78px; padding: 10px 12px; } .s10as-thumb { width: 56px; height: 56px; } .s10as-stock { grid-column: 2; justify-self: start; } }
@media (prefers-reduced-motion: reduce) { .s10as-spinner { animation-duration: 1.4s; } }
