/* Search is available on every viewport, with native form submission. */
.aw-modern .awm-search-form { display: block; }
.awm-search-fields { display: flex; gap: 8px; align-items: stretch; }
.awm-search-fields input { flex: 1 1 auto; }
.awm-search-fields button { flex: 0 0 auto; }
.awm-search-scope { display: flex; align-items: center; gap: 12px; margin-top: 14px; color: var(--awm-muted); font-size: 13px; }
.aw-modern .awm-search-scope select { min-width: 130px; min-height: 44px; padding: 8px 32px 8px 12px; border: 1px solid var(--awm-line); border-radius: 8px; background: var(--awm-paper); color: var(--awm-ink); font-size: 14px; }
.aw-modern .awm-search-heading { margin: 0 0 14px; color: var(--awm-deep); font-family: var(--awm-serif); font-size: 25px; line-height: 1.2; }
.awm-search-page .awm-archive-header > .awm-search-form { max-width: 650px; margin-top: 26px; }
.awm-search-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px; }
.awm-search-tabs a { display: grid; place-items: center; min-width: 74px; min-height: 44px; padding: 8px 20px; border: 1px solid var(--awm-line); border-radius: 999px; background: var(--awm-paper); color: var(--awm-forest); font-size: 14px; text-decoration: none; }
.awm-search-tabs a[aria-current="page"] { color: #fff; border-color: var(--awm-forest); background: var(--awm-forest); }
.aw-modern .awm-search-total { margin: 18px 0 0; font-size: 14px; color: var(--awm-muted); }
.awm-search-product-image { display: block; padding: 18px; background: var(--awm-cream); }
.awm-search-product-image img { width: 100%; height: 290px; object-fit: contain; }
.awm-search-product-price { color: var(--awm-deep); font-size: 19px; font-weight: 650; margin-bottom: 14px; }
.awm-search-product-price del { color: var(--awm-muted); font-size: 15px; font-weight: 400; }
.awm-search-product-price ins { background: none; text-decoration: none; }
.awm-cart-link { position: relative; display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; color: var(--awm-forest); border-radius: 50%; text-decoration: none; }
.awm-cart-link:hover { background: var(--awm-sage); }
.awm-cart-count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; color: #fff; background: var(--awm-forest); border-radius: 999px; font-size: 11px; font-family: var(--awm-sans); line-height: 1; font-weight: 650; }
.awm-cart-link .awm-cart-count { position: absolute; right: -1px; top: -1px; }
.awm-mobile-shop-actions { border-top: 1px solid var(--awm-line); padding-top: 16px; margin-top: 24px; }
.awm-mobile-cart-link { display: flex; justify-content: space-between; align-items: center; min-height: 48px; color: var(--awm-forest); font-size: 17px; text-decoration: none; }
@media (min-width: 1000px) and (max-width: 1199px) {
  .awm-header-tools { gap: 5px; }
  .awm-menu { gap: 0 2px; }
  .aw-modern .awm-menu > li > a { padding-inline: 6px; font-size: 13px; }
}
@media (max-width: 999px) {
  .awm-header-tools { display: contents; }
  .awm-brand { grid-row: 1; }
  .awm-header-search { display: block; position: static; grid-column: 1; grid-row: 1; justify-self: start; }
  .aw-modern .awm-menu-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
  .awm-header-tools > .awm-cart-link { display: none; }
  .awm-search-popover { left: 20px; right: 20px; top: calc(100% + 8px); width: auto; max-width: none; padding: 20px; }
}
@media (max-width: 479px) {
  .awm-search-popover { padding: 16px; }
  .aw-modern .awm-search-form button { padding-inline: 14px; }
  .awm-search-product-image img { height: 250px; }
}
@media print { .awm-search-tabs, .awm-search-form { display: none; } }
