/* Shop "lite" styles: only what the header and mini cart need on every page when WooCommerce is active. Tokens only. */

/* search panel */
.fixed4u-search-panel { border-bottom: 1px solid var(--wp--custom--color--line); background: var(--wp--preset--color--base); }
.fixed4u-search-panel[hidden] { display: none; }
.fixed4u-search-panel__inner { position: relative; width: 100%; max-width: calc(48rem + 2 * var(--wp--custom--space--gutter, 1.25rem)); margin-inline: auto; padding: 1rem var(--wp--custom--space--gutter, 1.25rem); }
.fixed4u-search-panel .wp-block-search__inside-wrapper { display: flex; gap: 0.5rem; }
.fixed4u-search-panel input[type="search"] { flex: 1; min-height: var(--wp--custom--touch, 2.75rem); padding: 0.4em 1em; border: 1px solid var(--wp--custom--color--line); border-radius: var(--wp--custom--radius--s); background: var(--wp--preset--color--base); color: var(--wp--preset--color--contrast); font: inherit; }
.fixed4u-search-panel .wp-block-search__button { min-height: var(--wp--custom--touch, 2.75rem); border-radius: var(--wp--custom--radius--s); }
.fixed4u-suggest { position: absolute; z-index: 40; left: var(--wp--custom--space--gutter, 1.25rem); right: var(--wp--custom--space--gutter, 1.25rem); top: calc(100% - 0.5rem); margin: 0; padding: 0.4rem; list-style: none; border-radius: var(--wp--custom--radius--m); background: var(--wp--preset--color--base); box-shadow: 0 12px 32px var(--wp--custom--color--line); }
.fixed4u-suggest[hidden] { display: none; }
.fixed4u-suggest__item a, .fixed4u-suggest__all a { display: flex; align-items: center; gap: 0.75rem; min-height: var(--wp--custom--touch, 2.75rem); padding: 0.4rem 0.6rem; border-radius: var(--wp--custom--radius--s); color: var(--wp--preset--color--contrast); text-decoration: none; }
.fixed4u-suggest__item img, .fixed4u-suggest__noimg { width: 3rem; height: 3rem; border-radius: var(--wp--custom--radius--s); object-fit: cover; background: var(--wp--preset--color--surface); flex: none; }
.fixed4u-suggest__text { display: flex; flex-direction: column; min-width: 0; }
.fixed4u-suggest__title { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fixed4u-suggest__price { color: var(--wp--preset--color--muted); font-size: var(--wp--preset--font-size--small); }
.fixed4u-suggest__price ins { text-decoration: none; }
.fixed4u-suggest__item:hover a, .fixed4u-suggest__item.is-active a, .fixed4u-suggest__all a:hover { background: var(--wp--preset--color--surface); }
.fixed4u-suggest__all a { justify-content: center; font-weight: 600; color: var(--wp--custom--color--link, var(--wp--preset--color--accent)); }
.fixed4u-suggest__empty { padding: 0.9rem; color: var(--wp--preset--color--muted); }
.fixed4u-search-toggle[aria-expanded="true"] { background: var(--wp--preset--color--surface); }

/* free-shipping progress bar */
.fixed4u-shipbar { padding: 0.75rem 1rem; margin: 0.5rem 0; border-radius: var(--wp--custom--radius--s); background: var(--wp--preset--color--surface); }
.fixed4u-shipbar[hidden] { display: none; }
.fixed4u-shipbar__text { margin: 0 0 0.5rem; font-size: var(--wp--preset--font-size--small); font-weight: 600; color: var(--wp--preset--color--contrast); }
.fixed4u-shipbar__track { height: 0.5rem; border-radius: 999px; background: var(--wp--custom--color--line); overflow: hidden; }
.fixed4u-shipbar__fill { display: block; height: 100%; border-radius: inherit; background: var(--wp--preset--color--accent); transform-origin: left; transition: transform 450ms ease-out; }
.fixed4u-shipbar__fill.is-done { background: var(--wp--preset--color--contrast); }
.fixed4u-shipbar--page { margin-block: 0 1.5rem; }
@media (prefers-reduced-motion: reduce) { .fixed4u-shipbar__fill { transition: none; } }

/* controls that need JavaScript stay hidden until the shop script runs (so they never appear as dead buttons) */
html:not(.fixed4u-shop-js) :is(.fixed4u-qv-open, .fixed4u-wish, .fixed4u-search-toggle, [data-sticky-atc]) { display: none !important; }

/* wishlist link and count in the header */
.fixed4u-wish-link { position: relative; }
.fixed4u-wish-count { position: absolute; top: 0.2rem; right: 0.1rem; min-width: 1.15rem; height: 1.15rem; padding: 0 0.3rem; border-radius: 999px; background: var(--wp--preset--color--accent); color: var(--wp--custom--color--on-accent); font-size: 0.7rem; font-weight: 700; line-height: 1.15rem; text-align: center; }
.fixed4u-wish-count[hidden] { display: none; }
