/* Arco Core – live search panel */
.arco-search-form { position: relative; }
.arco-search-panel { position: absolute; top: calc(100% + 10px); right: 0; z-index: 1000; width: min(560px, calc(100vw - 32px)); max-height: min(75vh, 640px); overflow: auto; padding: 8px; background: #fff; color: var(--wp--preset--color--ink, #1b2a22); border: 1px solid var(--wp--preset--color--line, #e3e7e4); border-radius: 16px; box-shadow: 0 24px 48px -16px rgba(1, 33, 4, .28); text-align: left; }
.arco-search-panel[hidden] { display: none; }
.arco-search-form.is-loading input[type="search"] { background-image: linear-gradient(90deg, transparent, rgba(61, 122, 31, .12), transparent); background-size: 200% 100%; animation: as-load 1s linear infinite; }
@keyframes as-load { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.as-group { padding: 6px 4px; }
.as-group + .as-group { border-top: 1px solid var(--wp--preset--color--line, #eef1ef); }
.as-title { margin: 4px 8px 6px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--wp--preset--color--muted, #5f6b63); }
.as-title span { margin-left: 4px; color: var(--wp--preset--color--accent, #3d7a1f); }
.as-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 6px 4px; }
.as-chip { display: inline-flex; gap: 6px; align-items: center; min-height: 34px; padding: 0 12px; border: 1px solid var(--wp--preset--color--line, #e3e7e4); border-radius: 999px; color: inherit; font-size: .875rem; font-weight: 500; text-decoration: none; }
.as-chip small { font-weight: 400; color: var(--wp--preset--color--muted, #5f6b63); }
.as-chip span { font-size: .75rem; color: var(--wp--preset--color--muted, #5f6b63); }
.as-chip:hover, .as-chip.is-active { border-color: var(--wp--preset--color--accent, #3d7a1f); background: var(--wp--preset--color--mint, #eef6e8); }
.as-products { margin: 0; padding: 0; list-style: none; }
.as-products a { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; color: inherit; text-decoration: none; }
.as-products a:hover, .as-products a.is-active { background: var(--wp--preset--color--surface, #f2f5f3); }
.as-products img { width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: var(--wp--preset--color--surface, #f2f5f3); mix-blend-mode: multiply; }
.as-name { display: grid; gap: 2px; font-weight: 600; font-size: .9375rem; line-height: 1.3; min-width: 0; }
.as-name small { font-weight: 400; font-size: .8125rem; color: var(--wp--preset--color--muted, #5f6b63); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-meta { display: grid; justify-items: end; gap: 2px; font-size: .875rem; white-space: nowrap; }
.as-price del { opacity: .55; font-size: .8125rem; }
.as-price ins { text-decoration: none; font-weight: 600; }
.as-stock { font-size: .75rem; font-weight: 600; }
.as-stock--in { color: #1f7a33; }
.as-stock--back { color: #8a6100; }
.as-stock--out { color: #9a3412; }
.as-page { display: block; padding: 8px 10px; border-radius: 8px; color: inherit; font-weight: 500; text-decoration: none; }
.as-page:hover, .as-page.is-active { background: var(--wp--preset--color--surface, #f2f5f3); }
.as-more { display: block; margin: 4px; padding: 12px; border-radius: 10px; background: var(--wp--preset--color--mint, #eef6e8); color: var(--wp--preset--color--accent, #3d7a1f); font-weight: 600; text-align: center; text-decoration: none; }
.as-more:hover, .as-more.is-active { background: var(--wp--preset--color--accent, #3d7a1f); color: #fff; }
.as-empty { margin: 0; padding: 16px; color: var(--wp--preset--color--muted, #5f6b63); }
@media (max-width: 700px) {
	.site-header .arco-search-panel { position: fixed; top: 64px; left: 16px; right: 16px; width: auto; }
	.as-products a { grid-template-columns: 48px minmax(0, 1fr); }
	.as-products img { width: 48px; height: 48px; }
	.as-meta { grid-column: 2; justify-items: start; grid-auto-flow: column; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) { .arco-search-form.is-loading input[type="search"] { animation: none; } }
