.ah-shop {
  background: #fff;
  color: var(--ink);
}
.ah-shop-hero {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.55fr);
  gap: 34px;
  align-items: end;
  padding: 58px;
  background: radial-gradient(
      circle at 82% 16%,
      rgba(213, 162, 44, 0.18),
      transparent 30%
    ),
    linear-gradient(180deg, #fffdf8, #f7f1e6);
}
.ah-shop-hero .ah-title {
  max-width: 760px;
  margin-bottom: 22px;
  text-wrap: balance;
}
.ah-shop-search {
  display: grid;
  gap: 10px;
  align-self: end;
  padding: 22px;
  border: 1px solid rgba(234, 223, 206, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 45px rgba(23, 32, 42, 0.08);
}
.ah-shop-search label {
  color: var(--g950);
  font-weight: 850;
}
.ah-shop-search div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.ah-shop-search input {
  min-width: 0;
  height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(8, 61, 28, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
}
.ah-shop-search button {
  height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: var(--g800);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}
.ah-shop-search input:focus-visible,
.ah-shop-search button:focus-visible,
.ah-shop a:focus-visible,
.ah-shop select:focus-visible {
  outline: 3px solid rgba(213, 162, 44, 0.55);
  outline-offset: 3px;
}
.ah-shop-search button:hover,
.ah-shop-search button:active {
  background: var(--g950);
}
.ah-shop-shell {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 28px;
  padding: 42px 58px 72px;
  background: #fff;
}
.ah-shop-sidebar {
  display: grid;
  align-content: start;
  gap: 18px;
}
.ah-shop-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
.ah-shop-panel h2 {
  margin-bottom: 16px;
  color: var(--g950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.05;
  text-wrap: balance;
}
.ah-shop-cats {
  display: grid;
  gap: 8px;
}
.ah-shop-cats a {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  color: #27313d;
  font-weight: 750;
}
.ah-shop-cats a:hover,
.ah-shop-cats a.is-active {
  border-color: rgba(25, 114, 56, 0.26);
  background: var(--g100);
  color: var(--g900);
}
.ah-shop-cats span {
  display: grid;
  place-items: center;
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  color: var(--g800);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
}
.ah-shop-promise ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #47515d;
  font-weight: 650;
}
.ah-shop-promise li {
  position: relative;
  padding-left: 22px;
  line-height: 1.45;
}
.ah-shop-promise li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}
.ah-shop-results {
  min-width: 0;
}
.ah-shop-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 22px;
}
.ah-shop-toolbar .ah-eyebrow {
  margin-bottom: 7px;
}
.ah-shop-toolbar .woocommerce-result-count {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}
.ah-shop-toolbar .woocommerce-ordering {
  margin: 0;
}
.ah-shop-toolbar select {
  height: 46px;
  min-width: 230px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(8, 61, 28, 0.16);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}
.ah-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.ah-shop-card {
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(234, 223, 206, 0.95);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.06);
}
.ah-shop-card:hover {
  border-color: rgba(25, 114, 56, 0.34);
  box-shadow: 0 20px 46px rgba(23, 32, 42, 0.1);
}
.ah-shop-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 275px;
  padding: 20px;
  background: linear-gradient(180deg, #fffdf8, #f8f3e8);
}
.ah-shop-media img {
  width: auto;
  max-width: 86%;
  height: auto;
  max-height: 235px;
  object-fit: contain;
  transition: transform 0.18s ease;
}
.ah-shop-card:hover .ah-shop-media img {
  transform: translateY(-3px);
}
.ah-shop-info {
  display: grid;
  padding: 18px;
}
.ah-shop-category {
  display: block;
  min-height: 18px;
  margin-bottom: 8px;
  color: var(--g800);
  font-size: 13px;
  font-weight: 850;
}
.ah-shop-info h2 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
  text-wrap: balance;
}
.ah-shop-info p {
  min-height: 42px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.ah-shop-buy {
  display: grid;
  gap: 14px;
  margin-top: auto;
}
.ah-shop-buy .ah-price {
  margin: 0;
}
.ah-shop .woocommerce-pagination {
  margin-top: 30px;
}
.ah-shop .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ah-shop .page-numbers a,
.ah-shop .page-numbers span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font-weight: 800;
}
.ah-shop .page-numbers .current,
.ah-shop .page-numbers a:hover {
  border-color: var(--g800);
  background: var(--g800);
  color: #fff;
}
.ah-shop-empty {
  display: grid;
  place-items: start;
  gap: 12px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fffdf8;
}
.ah-shop-empty h2 {
  margin: 0;
  color: var(--g950);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
}
.ah-shop-empty p {
  margin: 0 0 10px;
  color: var(--muted);
}
@media (max-width: 1180px) {
  .ah-shop-hero,
  .ah-shop-shell {
    padding-left: 28px;
    padding-right: 28px;
  }
  .ah-shop-shell {
    grid-template-columns: 1fr;
  }
  .ah-shop-sidebar {
    grid-template-columns: 1fr 1fr;
  }
  .ah-shop-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 760px) {
  html,
  body,
  .ah-site {
    max-width: 100%;
    overflow-x: hidden;
  }
  .ah-header {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 100vw;
    overflow: hidden;
  }
  .ah-header > * {
    min-width: 0 !important;
  }
  .ah-logo,
  .ah-nav,
  .ah-actions {
    justify-self: stretch;
    max-width: calc(100vw - 56px) !important;
    min-width: 0;
    width: auto !important;
  }
  .ah-logo img {
    max-width: 100%;
    margin-left: -40px;
  }
  .ah-nav ul {
    max-width: 100%;
    min-width: 0;
  }
  .ah-shop {
    overflow-x: hidden;
  }
  .ah-shop-hero {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 28px;
  }
  .ah-shop-search div {
    grid-template-columns: 1fr;
  }
  .ah-shop-shell {
    gap: 24px;
    padding: 28px 28px 54px;
  }
  .ah-shop-sidebar {
    grid-template-columns: 1fr;
  }
  .ah-shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .ah-shop-toolbar select {
    width: 100%;
    min-width: 0;
  }
  .ah-shop-grid {
    grid-template-columns: 1fr;
  }
  .ah-shop-media {
    min-height: 235px;
  }
  .ah-shop-info p {
    min-height: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ah-shop-media img {
    transition: none;
  }
  .ah-shop-card:hover .ah-shop-media img {
    transform: none;
  }
}
