/**
 * Smart Kiosk Store - every page: tokens, header, footer, posts and pages.
 * Same palette, shapes and motion as the Smart Kiosk interface.
 *
 * Copyright (C) 2026 Pixelorigin. GPLv2 or later (license.txt).
 */

/* ---------- tokens ---------- */
:root {
  --sks-accent: #FF5A36;
  --sks-accent-text: #FFFFFF;
  --sks-radius: 22px;
  --sks-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sks-card-min: 220px;
  --sks-bg-light: #F3EFE8;
  --sks-bg: var(--sks-bg-light);
  --sks-bg-2: color-mix(in srgb, var(--sks-bg-light) 88%, #5A4630);
  --sks-surface: #FFFFFF;
  --sks-ink: #17161C;
  --sks-muted: #6F6A73;
  --sks-line: rgba(23, 22, 28, .09);
  --sks-shadow: 0 1px 2px rgba(23, 22, 28, .06), 0 8px 24px rgba(23, 22, 28, .07);
  --sks-shadow-lift: 0 2px 4px rgba(23, 22, 28, .08), 0 18px 40px rgba(23, 22, 28, .14);
  --sks-ease: cubic-bezier(.2, .8, .2, 1);
  --sks-gutter: clamp(16px, 3vw, 36px);
  --sks-max: 1400px;
  --sks-header-h: 88px;
  --sks-r-sm: max(6px, calc(var(--sks-radius) * .6));
}
.sks-scheme-dark {
  --sks-bg: #111216;
  --sks-bg-2: #1A1B21;
  --sks-surface: #1E1F26;
  --sks-ink: #F4F2EE;
  --sks-muted: #A19DA6;
  --sks-line: rgba(255, 255, 255, .09);
  --sks-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
  --sks-shadow-lift: 0 2px 6px rgba(0, 0, 0, .35), 0 20px 44px rgba(0, 0, 0, .5);
}
@media (prefers-color-scheme: dark) {
  .sks-scheme-auto {
    --sks-bg: #111216;
    --sks-bg-2: #1A1B21;
    --sks-surface: #1E1F26;
    --sks-ink: #F4F2EE;
    --sks-muted: #A19DA6;
    --sks-line: rgba(255, 255, 255, .09);
    --sks-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
    --sks-shadow-lift: 0 2px 6px rgba(0, 0, 0, .35), 0 20px 44px rgba(0, 0, 0, .5);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--sks-header-h) + 16px); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--sks-bg);
  background-image: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--sks-accent) 9%, transparent), transparent 60%);
  background-attachment: fixed;
  color: var(--sks-ink);
  font-family: var(--sks-font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--sks-accent) 60%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--sks-accent); }
:focus-visible { outline: 3px solid var(--sks-accent); outline-offset: 3px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.15; letter-spacing: -.015em; font-weight: 800; margin: 1.4em 0 .5em; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--sks-line); margin: 2em 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--sks-line); text-align: left; }
blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--sks-accent); font-size: 1.1em; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { padding: 16px; overflow: auto; background: var(--sks-bg-2); border-radius: var(--sks-r-sm); }
.sks-i { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: middle; }

.screen-reader-text {
  border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
  height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
  clip: auto; clip-path: none; width: auto; height: auto; margin: 0;
  top: 10px; left: 10px; z-index: 100000; padding: 14px 22px;
  background: var(--sks-ink); color: var(--sks-surface); border-radius: 999px; text-decoration: none;
}

/* WordPress core classes */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .wp-block-image figcaption, .wp-caption-text { font-size: 14px; color: var(--sks-muted); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.gallery-caption { font-size: 14px; color: var(--sks-muted); }
.sticky, .bypostauthor { position: relative; }

/* ---------- forms and buttons ---------- */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  border: 2px solid var(--sks-line);
  border-radius: var(--sks-r-sm);
  background: var(--sks-surface);
  color: var(--sks-ink);
  font: inherit;
  font-size: 17px;
  transition: border-color .2s, box-shadow .2s;
}
textarea { min-height: 120px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sks-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sks-accent) 18%, transparent); }
label { font-weight: 700; }

.sks-btn, .wp-element-button, .wp-block-button__link,
input[type="submit"], button[type="submit"]:not(.sks-search__go):not(.sks-icon-btn) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border: 0; border-radius: 999px;
  background: var(--sks-accent); color: var(--sks-accent-text);
  font: inherit; font-size: 17px; font-weight: 800; line-height: 1.1;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform .15s var(--sks-ease), box-shadow .2s, background .2s, filter .2s;
}
.sks-btn:hover, .wp-element-button:hover, .wp-block-button__link:hover, input[type="submit"]:hover { color: var(--sks-accent-text); filter: brightness(1.05); }
.sks-btn:active, .wp-element-button:active, input[type="submit"]:active { transform: scale(.96); }
.sks-btn--primary { box-shadow: 0 10px 26px color-mix(in srgb, var(--sks-accent) 40%, transparent); }
.sks-btn--primary.is-wait { background: color-mix(in srgb, var(--sks-accent) 45%, var(--sks-bg-2)); box-shadow: none; cursor: default; }
.sks-btn--ghost, .sks-btn--ghost:hover { background: var(--sks-bg-2); color: var(--sks-ink); box-shadow: none; }
.sks-btn--xl { min-height: 72px; padding: 0 36px; font-size: 20px; }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--sks-ink); box-shadow: inset 0 0 0 2px currentColor; }

.sks-icon-btn {
  flex: none;
  width: 52px; height: 52px;
  display: inline-grid; place-items: center;
  padding: 0; border: 0; border-radius: 50%;
  background: var(--sks-bg-2); color: var(--sks-ink);
  cursor: pointer; text-decoration: none;
  transition: transform .15s var(--sks-ease), background .2s;
}
.sks-icon-btn:hover { color: var(--sks-ink); background: color-mix(in srgb, var(--sks-accent) 14%, var(--sks-bg-2)); }
.sks-icon-btn:active { transform: scale(.92); }

.sks-chip { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; background: var(--sks-bg-2); font-size: 14px; font-weight: 700; }
.sks-chip--accent { background: var(--sks-accent); color: var(--sks-accent-text); }

/* ---------- header ---------- */
.sks-header {
  position: relative;
  z-index: 50;
  background: color-mix(in srgb, var(--sks-surface) 82%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--sks-line);
}
.sks-sticky-header .sks-header { position: sticky; top: 0; }
.admin-bar.sks-sticky-header .sks-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.sks-sticky-header .sks-header { top: 0; } }
.sks-header__bar {
  max-width: var(--sks-max); margin: 0 auto;
  display: flex; align-items: center; gap: 18px;
  padding: 14px var(--sks-gutter);
  min-height: 80px;
}
.sks-brand { flex: none; display: flex; align-items: center; min-width: 0; }
.sks-brand .custom-logo { display: block; max-height: 56px; width: auto; }
.sks-brand__name { margin: 0; font-size: 24px; font-weight: 900; letter-spacing: -.02em; line-height: 1.1; }
.sks-brand__name a { text-decoration: none; }

.sks-menu-toggle { display: none; }
.sks-nav { flex: none; }
.sks-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.sks-menu li { position: relative; }
.sks-menu a {
  display: flex; align-items: center; min-height: 44px; padding: 0 14px;
  border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; white-space: nowrap;
}
.sks-menu a:hover { background: var(--sks-bg-2); color: var(--sks-ink); }
.sks-menu .current-menu-item > a, .sks-menu .current_page_item > a, .sks-menu .current-menu-ancestor > a { background: var(--sks-ink); color: var(--sks-surface); }
.sks-menu .sub-menu, .sks-menu .children {
  position: absolute; top: 100%; left: 0; min-width: 220px; margin: 6px 0 0; padding: 8px; list-style: none;
  background: var(--sks-surface); border-radius: var(--sks-r-sm); box-shadow: var(--sks-shadow-lift);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s var(--sks-ease), visibility .2s;
}
.sks-menu li:hover > .sub-menu, .sks-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sks-menu .sub-menu a { border-radius: calc(var(--sks-r-sm) * .7); }

.sks-header__search { flex: 1 1 auto; min-width: 180px; max-width: 560px; margin-left: auto; }
.sks-search {
  position: relative; display: flex; align-items: center;
  height: 52px; padding: 0 6px 0 18px;
  border-radius: 999px; background: var(--sks-bg-2);
  transition: box-shadow .2s, background .2s;
}
.sks-search:focus-within { background: var(--sks-surface); box-shadow: 0 0 0 3px var(--sks-accent); }
.sks-search > .sks-i { color: var(--sks-muted); }
.sks-search input.sks-search__field {
  flex: 1; min-width: 0; min-height: 0; height: 100%;
  padding: 0 10px; border: 0; background: transparent; box-shadow: none; font-size: 17px;
}
.sks-search input.sks-search__field:focus { box-shadow: none; }
.sks-search__field::-webkit-search-cancel-button { cursor: pointer; }
.sks-search__go {
  flex: none; height: 40px; padding: 0 16px; border: 0; border-radius: 999px;
  background: var(--sks-ink); color: var(--sks-surface); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}

.sks-actions { flex: none; display: flex; align-items: center; gap: 10px; }

.sks-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(10, 10, 14, .5); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: sks-fade .2s both; }

/* ---------- menu panel (burger): outside the header so nothing blurs it ---------- */
.sks-panel {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 100;
  width: min(400px, 90vw); padding: 16px 16px calc(24px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; gap: 18px;
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--sks-bg); box-shadow: var(--sks-shadow-lift);
  transform: translateX(-105%); visibility: hidden;
  transition: transform .32s var(--sks-ease), visibility .32s;
}
.sks-panel.is-open { transform: none; visibility: visible; }
.admin-bar .sks-panel { top: 32px; }
@media (max-width: 782px) { .admin-bar .sks-panel { top: 46px; } }
.sks-panel__head { display: flex; align-items: center; justify-content: space-between; }
.sks-panel__title { font-size: 26px; font-weight: 900; letter-spacing: -.02em; }
.sks-menu--panel { flex-direction: column; align-items: stretch; gap: 6px; }
.sks-menu--panel a { min-height: 56px; padding: 0 18px; font-size: 18px; font-weight: 800; border-radius: var(--sks-r-sm); background: var(--sks-surface); box-shadow: var(--sks-shadow); }
.sks-menu--panel .sub-menu, .sks-menu--panel .children { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: none; padding: 6px 0 0 14px; min-width: 0; margin: 0; }

/* ---------- layout ---------- */
.sks-content { flex: 1 0 auto; }
.sks-wrap { max-width: var(--sks-max); margin: 0 auto; padding: 16px var(--sks-gutter) 64px; }
.sks-layout { display: grid; grid-template-columns: minmax(0, 820px); justify-content: center; gap: 48px; }
.has-sidebar .sks-layout { grid-template-columns: minmax(0, 1fr) 320px; max-width: 1240px; }
.sks-wrap--wide .sks-main { max-width: none; }

.sks-head { margin: 0 0 18px; }
.sks-title { margin: 0; font-size: 22px; line-height: 1.15; font-weight: 850; letter-spacing: -.015em; text-align: left; }
.sks-subtitle { margin: 10px 0 0; font-size: clamp(16px, 1.5vw, 20px); color: var(--sks-muted); max-width: 70ch; }
.sks-subtitle p:last-child { margin: 0; }
.sks-card { background: var(--sks-surface); border-radius: var(--sks-radius); box-shadow: var(--sks-shadow); padding: clamp(20px, 3vw, 36px); }

/* posts */
.sks-posts { display: grid; gap: 22px; }
.sks-post-card {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  background: var(--sks-surface); border-radius: var(--sks-radius); box-shadow: var(--sks-shadow); overflow: hidden;
  animation: sks-card-in .45s var(--sks-ease) both;
}
.sks-post-card:not(.has-post-thumbnail) { grid-template-columns: 1fr; }
.sks-post-card__media { display: block; background: var(--sks-bg-2); }
.sks-post-card__media img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; transition: transform .4s var(--sks-ease); }
.sks-post-card:hover .sks-post-card__media img { transform: scale(1.03); }
.sks-post-card__body { padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.sks-post-card__title { margin: 4px 0 0; font-size: clamp(21px, 2vw, 27px); }
.sks-post-card__title a { text-decoration: none; }
.sks-post-card__excerpt { color: var(--sks-muted); }
.sks-post-card__excerpt p { margin: 0; }
.sks-link-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--sks-accent); text-decoration: none; }
.sks-meta { margin: 0; font-size: 14px; color: var(--sks-muted); }
.sks-meta a { color: inherit; }

.sks-article { background: var(--sks-surface); border-radius: var(--sks-radius); box-shadow: var(--sks-shadow); padding: clamp(22px, 4vw, 52px); }
.sks-article__head { margin-bottom: 18px; text-align: left; }
.sks-article__head .sks-meta { margin-top: 12px; }
.sks-article__media { margin: 0 calc(-1 * clamp(22px, 4vw, 52px)) 30px; }
.sks-article__media img { width: 100%; display: block; }
.sks-article__foot { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--sks-line); }
.sks-tags a { display: inline-flex; margin: 0 6px 6px 0; padding: 4px 12px; border-radius: 999px; background: var(--sks-bg-2); font-size: 14px; font-weight: 700; text-decoration: none; }
.sks-entry > *:first-child { margin-top: 0; }
.sks-entry > *:last-child { margin-bottom: 0; }
.sks-entry .alignwide { margin-left: calc(-1 * clamp(0px, 4vw, 52px)); margin-right: calc(-1 * clamp(0px, 4vw, 52px)); }
.sks-entry .alignfull { margin-left: calc(-1 * clamp(22px, 4vw, 52px)); margin-right: calc(-1 * clamp(22px, 4vw, 52px)); max-width: none; }
.sks-entry img { border-radius: var(--sks-r-sm); }
.sks-page-links { margin-top: 24px; font-weight: 700; }

.post-navigation .nav-links, .posts-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.post-navigation a { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; height: 100%; background: var(--sks-surface); border-radius: var(--sks-radius); box-shadow: var(--sks-shadow); text-decoration: none; }
.post-navigation .nav-next a { text-align: right; }
.sks-postnav__label { font-size: 12px; font-weight: 800; color: var(--sks-muted); text-transform: uppercase; letter-spacing: .1em; }
.sks-postnav__title { font-weight: 800; }

.pagination .nav-links, .sks nav.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 36px 0 0; padding: 0; list-style: none; border: 0; }
.sks nav.woocommerce-pagination ul li { float: none; border: 0; margin: 0; overflow: visible; }
.pagination .page-numbers, .sks nav.woocommerce-pagination ul li > .page-numbers {
  display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 12px;
  border-radius: 999px; background: var(--sks-surface); box-shadow: var(--sks-shadow); font-weight: 800; text-decoration: none;
}
.pagination .page-numbers.current, .sks nav.woocommerce-pagination ul li > .page-numbers.current { background: var(--sks-ink); color: var(--sks-surface); }

/* sidebar and widgets */
.sks-sidebar { display: flex; flex-direction: column; gap: 20px; }
.widget { background: var(--sks-surface); border-radius: var(--sks-radius); box-shadow: var(--sks-shadow); padding: 22px; }
.widget-title, .widget .wp-block-heading { margin: 0 0 12px; font-size: 13px; font-weight: 800; color: var(--sks-muted); text-transform: uppercase; letter-spacing: .1em; }
.widget ul { margin: 0; padding: 0; list-style: none; }
.widget li { padding: 7px 0; border-bottom: 1px solid var(--sks-line); }
.widget li:last-child { border-bottom: 0; }
.widget a { text-decoration: none; font-weight: 600; }

/* comments */
.sks-comments { margin-top: 28px; }
.sks-comments__title { margin-top: 0; }
.sks-comments__list, .sks-comments__list .children { list-style: none; margin: 0; padding: 0; }
.sks-comments__list .children { margin-left: 28px; }
.comment-body { padding: 18px 0; border-bottom: 1px solid var(--sks-line); }
.comment-author { display: flex; align-items: center; gap: 12px; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { font-size: 13px; color: var(--sks-muted); margin: 4px 0 8px 60px; }
.comment-metadata a { color: inherit; }
.comment-content { margin-left: 60px; }
.reply { margin-left: 60px; font-weight: 800; }
.comment-form p { margin-bottom: 16px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* empty / 404 */
.sks-empty { text-align: center; max-width: 720px; margin: 0 auto; }
.sks-empty__code { margin: 0 0 8px; font-size: clamp(80px, 12vw, 150px); font-weight: 900; line-height: 1; color: var(--sks-accent); letter-spacing: -.04em; }
.sks-empty .sks-subtitle { margin: 12px auto 0; }
.sks-empty__search { max-width: 520px; margin: 28px auto; }
.sks-empty__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ---------- footer ---------- */
.sks-footer { margin-top: auto; background: var(--sks-surface); border-top: 1px solid var(--sks-line); }
.sks-footer__widgets { max-width: var(--sks-max); margin: 0 auto; padding: 40px var(--sks-gutter) 8px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.sks-footer__widgets .widget { background: none; box-shadow: none; padding: 0; }
.sks-footer__bottom { max-width: var(--sks-max); margin: 0 auto; padding: 22px var(--sks-gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--sks-muted); }
.sks-footer__bottom p { margin: 0; }
.sks-footer__menu { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.sks-footer__menu a { text-decoration: none; font-weight: 700; color: var(--sks-ink); }

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .sks-header__bar { flex-wrap: wrap; row-gap: 12px; }
  .sks-header__search { order: 10; flex-basis: 100%; max-width: none; margin: 0; }
  .sks-actions { margin-left: auto; }
}
@media (max-width: 960px) {
  .sks-menu-toggle { display: inline-grid; }
  .sks-nav { display: none; }
  .has-sidebar .sks-layout { grid-template-columns: minmax(0, 1fr); }
  .sks-footer__widgets { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sks-header__bar { gap: 10px; padding: 10px 14px; min-height: 0; }
  .sks-brand .custom-logo { max-height: 42px; }
  .sks-brand__name { font-size: 20px; }
  .sks-icon-btn { width: 46px; height: 46px; }
  .sks-search { height: 48px; }
  .sks-search__go { display: none; }
  .sks-post-card { grid-template-columns: 1fr; }
  .sks-post-card__media img { min-height: 0; aspect-ratio: 16 / 9; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .sks-btn--xl { min-height: 64px; font-size: 18px; }
}

/* ---------- motion ---------- */
@keyframes sks-fade { from { opacity: 0; } }
@keyframes sks-card-in { from { opacity: 0; transform: translateY(14px); } }
@keyframes sks-rise { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@keyframes sks-bump { 40% { transform: scale(1.12); } }
@keyframes sks-badge { from { transform: scale(0); } 70% { transform: scale(1.1); } }
@keyframes sks-draw { to { stroke-dashoffset: 0; } }
@keyframes sks-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- instant search ---------- */
.sks-suggest {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
  max-height: min(70vh, 560px); overflow-y: auto; overscroll-behavior: contain;
  padding: 8px; border-radius: var(--sks-radius);
  background: var(--sks-surface); box-shadow: var(--sks-shadow-lift);
  animation: sks-rise .2s var(--sks-ease) both;
}
.sks-suggest[hidden] { display: none; }
.sks-suggest__item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--sks-r-sm); text-decoration: none; color: var(--sks-ink); }
.sks-suggest__item:hover, .sks-suggest__item.is-active { background: var(--sks-bg-2); color: var(--sks-ink); }
.sks-suggest__img { width: 52px; height: 52px; flex: none; border-radius: calc(var(--sks-r-sm) * .75); background: var(--sks-bg-2); overflow: hidden; }
.sks-suggest__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sks-suggest__txt { display: flex; flex-direction: column; min-width: 0; }
.sks-suggest__title { font-weight: 800; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sks-suggest__price { font-size: 14px; font-weight: 700; color: var(--sks-muted); }
.sks-suggest__price ins { text-decoration: none; color: var(--sks-accent); }
.sks-suggest__price del { opacity: .7; }
.sks-suggest__none { margin: 0; padding: 14px 12px; color: var(--sks-muted); font-weight: 600; }
.sks-suggest__all {
  display: block; width: 100%; margin-top: 6px; min-height: 48px; padding: 0 14px;
  border: 0; border-radius: 999px; background: var(--sks-ink); color: var(--sks-surface);
  font: inherit; font-size: 15px; font-weight: 800; cursor: pointer;
}
.sks-search.is-searching > .sks-i { animation: sks-spin .8s linear infinite; }

/* Dark scheme: the search field stands out from the header. */
.sks-scheme-dark .sks-search { background: color-mix(in srgb, var(--sks-ink) 10%, var(--sks-surface)); }
@media (prefers-color-scheme: dark) { .sks-scheme-auto .sks-search { background: color-mix(in srgb, var(--sks-ink) 10%, var(--sks-surface)); } }
