/* Artmarket header price visibility — outside Works gallery.
   Scoped to the new global-search prices wrapper. Never change Works filters.
   CSS has its own mtime asset version to avoid Cloudflare's cached style.css.
 */
.site-header .am-header-search-wrap--prices {
  box-sizing: border-box;
}
.site-header .am-header-search-wrap--prices .am-header-search-tools--global {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  justify-content: center;
  min-width: 0;
}
.site-header .am-header-search-wrap--prices .am-header-search-tools--global .am-show-prices-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  white-space: nowrap;
  min-height: 36px;
  min-width: 108px;
  padding: 0 13px;
  margin: 0;
  border: 1px solid #bfbab3;
  border-radius: 4px;
  background: transparent;
  color: #2c2a27;
  font: 400 12px/1.2 "Rubik", sans-serif;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-header .am-header-search-wrap--prices .am-show-prices-control::before {
  display: none !important;
}
.site-header .am-header-search-wrap--prices .am-show-prices-control:hover {
  background: #eae7e2;
  border-color: #aaa59e;
}
.site-header .am-header-search-wrap--prices .am-show-prices-control[aria-pressed="true"] {
  background: #eeebe7;
  border-color: #aaa59e;
  color: #222;
}
.site-header .am-header-search-wrap--prices .am-show-prices-control:focus-visible {
  outline: 2px solid #75716b;
  outline-offset: 3px;
}
@media (min-width: 1201px) {
  .site-header.am-gallery-search-open .am-header-search-wrap--prices {
    flex-basis: 475px;
    max-width: 475px;
    height: 44px;
    overflow: hidden;
    gap: 12px;
  }
  .site-header .am-header-search-wrap--prices .am-header-search-field { flex: 1 1 auto; min-width: 100px; }
  .site-header .am-header-search-wrap--prices .am-header-search-tools--global {
    margin-left: 0;
  }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .site-header .am-header-search-wrap--prices { position: relative; overflow: visible; }
  .site-header .am-header-search-wrap--prices .am-header-search-tools--global {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    padding: 8px 10px;
    border: 1px solid #e4e0dc;
    background: #f4f3f1;
    box-shadow: 0 8px 20px rgba(20,19,17,.08);
    z-index: 10;
  }
}
@media (max-width: 900px) {
  .site-header.am-gallery-search-open .container.header-inner:has(.am-header-search-wrap--prices) {
    padding-bottom: 113px;
  }
  .site-header .am-header-search-wrap--prices {
    flex-wrap: wrap;
    align-content: start;
    gap: 0;
    overflow: hidden;
  }
  .site-header.am-gallery-search-open .am-header-search-wrap--prices {
    height: 96px;
  }
  .site-header .am-header-search-wrap--prices .am-header-search-field {
    flex: 0 0 calc(100% - 30px);
    width: calc(100% - 30px);
    min-width: 0;
  }
  .site-header .am-header-search-wrap--prices .am-header-search-close {
    flex: 0 0 30px;
    width: 30px;
    margin: 0;
  }
  .site-header .am-header-search-wrap--prices .am-header-search-tools--global {
    flex: 1 1 100%;
    height: 40px;
    justify-content: flex-start;
    padding: 0;
    margin-top: 8px;
  }
  .site-header .am-header-search-wrap--prices .am-header-search-tools--global .am-show-prices-control {
    min-height: 35px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .am-header-search-wrap--prices .am-show-prices-control { transition: none; }
}
