.hw-theme .hw-header {
  box-shadow: inset 0 -1px 0 rgba(199, 164, 94, .22);
}
@media (min-width: 1101px) {
  .hw-theme .hw-header-inner { gap: clamp(12px, 1.6vw, 28px); }
  .hw-theme #hw-nav { align-items: center; gap: clamp(12px, 1.3vw, 22px); }
  .hw-theme #hw-nav a { white-space: nowrap; }
  .hw-theme .hw-header .hw-search { min-width: 115px; }
}
@media (min-width: 1101px) and (max-width: 1230px) {
  .hw-theme .hw-header .hw-logo { flex-basis: 186px; }
  .hw-theme #hw-nav { font-size: 13px; }
}
@media (max-width: 1100px) {
  .hw-theme #hw-nav { max-height: calc(100vh - 7rem); max-height: calc(100dvh - 7rem); overflow-y: auto; }
  .hw-theme .hw-header.is-open #hw-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 18px;
    padding-top: 8px;
    padding-bottom: 14px;
  }
  .hw-theme #hw-nav a { min-height: 44px; display: flex; align-items: center; }
}
.hw-theme .hw-market-footer {
  --footer-paper: #f4ecdc;
  border-top: 3px solid #a88a4d;
  color: var(--footer-paper);
  background-color: #172821;
  background-image: linear-gradient(105deg, rgba(23,40,33,.28), rgba(23,40,33,.64)),
    url('/wp-content/uploads/hw-display/20261125-1/fast-fish-field-6e616fa31b.webp');
  background-size: 100% 100%, 610px auto;
  padding: clamp(36px, 5vw, 68px) max(20px, 4vw) 24px;
  text-align: left;
}
.hw-market-footer-inner {
  max-width: 1240px; margin: auto; display: grid; align-items: start;
  grid-template-columns: minmax(0,1.35fr) minmax(0,1.2fr) minmax(0,.8fr);
  gap: 24px clamp(20px, 5vw, 88px);
}
.hw-market-footer .hw-market-footer-logo { display: inline-block; color: var(--footer-paper); }
.hw-market-footer .hw-market-footer-logo img { display: block; width: 236px; max-width: 100%; height: auto; }
.hw-market-footer .hw-market-footer-brand p {
  max-width: 31ch; color: #d3d8c9; line-height: 1.55; margin: 16px 0 0;
}
.hw-market-footer nav h2 {
  font: 600 1.26rem/1.25 var(--serif, Georgia, serif);
  color: var(--footer-paper); margin: 0 0 12px;
}
.hw-market-footer nav h2 span { font: 500 .85em/1 system-ui,sans-serif; color: #dac185; }
.hw-market-footer .hw-market-footer-links {
  display: grid; justify-items: start; align-items: start; column-gap: 18px;
}
.hw-market-footer-shop .hw-market-footer-links { grid-template-columns: repeat(2, minmax(0,1fr)); }
.hw-market-footer nav a { color: var(--footer-paper); text-decoration: none; }
.hw-market-footer .hw-market-footer-links a { font-size: 14px; padding: 4px 0; line-height: 1.45; }
.hw-market-footer nav a:is(:hover,:focus-visible,[aria-current]) { color: #f1d594; text-decoration: underline; text-underline-offset: .22em; }
.hw-market-footer .hw-market-footer-copy {
  grid-column: 1/-1; color: #c2cabf; margin: 4px 0 0; padding-top: 17px;
  border-top: 1px solid rgba(231,224,199,.22); font-size: 12px;
}
@media (max-width: 760px) {
  .hw-market-footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .hw-market-footer .hw-market-footer-brand p { max-width: 35ch; margin-top: 10px; }
  .hw-market-footer .hw-market-footer-links a { min-height: 40px; padding-block: 8px; }
  .hw-market-footer-info .hw-market-footer-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
.home.hw-theme footer.hw-market-footer { margin-top: 0; }

/* Collection pages keep WooCommerce's native results, sort controls and shirt framing. */
body.hw-market-archive .woocommerce-products-header {
  margin: 0 0 clamp(18px, 2vw, 28px);
}
body.hw-market-archive .woocommerce-products-header .page-title {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(2.25rem, 4.5vw, 4.15rem);
  line-height: 1.02;
  letter-spacing: -.035em;
  color: var(--hw-ink, #15201c);
  margin: 0;
}
body.hw-market-archive .hw-market-archive-lead {
  max-width: 65ch;
  margin: 12px 0 0;
  font-size: clamp(.98rem, 1.3vw, 1.1rem);
  line-height: 1.5;
  color: var(--hw-river, #1f3a35);
}
.hw-market-categories {
  margin-top: 18px;
  padding: 8px 0;
  border-block: 1px solid rgba(31,58,53,.22);
}
.hw-market-categories ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 5px;
}
.hw-market-categories li { list-style: none; margin: 0; }
body.hw-market-archive .hw-market-categories a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 2px 11px;
  font-size: .91rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--hw-river, #1f3a35);
  text-decoration: none;
  border-radius: 3px;
}
body.hw-market-archive .hw-market-categories a[aria-current] {
  color: var(--hw-paper, #fbf7ef);
  background: var(--hw-river, #1f3a35);
}
body.hw-market-archive .hw-market-categories a:hover { text-decoration: underline; }
body.hw-market-archive .hw-market-categories a:focus-visible {
  outline: 2px solid var(--hw-rust, #c4532b);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  body.hw-market-archive .hw-market-archive-lead { margin-top: 8px; }
  .hw-market-categories { margin-top: 12px; padding: 5px 0; }
  .hw-market-categories ul { gap: 0 3px; }
  body.hw-market-archive .hw-market-categories a { min-height: 32px; padding-inline: 7px; font-size: .84rem; }
}

/* Holding Waters collection index and field-guide spread. */
.hw-home-index {
  background-color: var(--hw-paper, #fbf7ef);
  background-image: linear-gradient(rgba(251,247,239,.1),rgba(251,247,239,.1)),url("/wp-content/uploads/hw-display/20261125-1/fast-fish-field-6e616fa31b.webp");
  background-position: center, 50% 22px;
  background-size: auto, 620px 494px;
  border-bottom: 1px solid rgba(43,62,54,.19);
}
.hw-home-index .hw-section {padding-bottom:clamp(40px,6vw,84px)}
.hw-home .hw-collection-plates {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px)}
.hw-collection-plate {
  display:flex; flex-direction:column; min-width:0; background:#f6f0e3;
  border:1px solid #ccc2ab; border-radius:2px; padding:clamp(12px,1.7vw,23px);
  text-decoration:none; color:var(--hw-ink);
}
.hw-home .hw-collection-plate:hover {border-color:#a56d3e;background:#f3ead8}
.hw-home .hw-collection-plate:focus-visible {outline:3px solid var(--hw-rust);outline-offset:3px}
.hw-home .hw-collection-plate img {width:100%;height:clamp(96px,12vw,160px);object-fit:contain;display:block;padding:2px 8px 10px}
.hw-plate-caption {position:relative;border-top:1px solid #c8b995;margin-top:auto;padding-top:10px;padding-right:21px}
.hw-home .hw-plate-caption h3 {margin:0;color:var(--hw-ink);font:700 clamp(17px,1.6vw,23px)/1.15 var(--serif)}
.hw-home .hw-plate-caption p {font-size:clamp(12px,.95vw,14px);margin:4px 0 0;color:#514c41;line-height:1.35}
.hw-plate-arrow {position:absolute;top:9px;right:0;font-size:19px;color:#87501e}
.hw-home .hw-home-picks {padding-bottom:clamp(48px,7vw,90px)}
.hw-home .hw-fly-spread {
  max-width:1280px;margin:0 auto clamp(42px,6vw,80px);width:93.2%;
  display:grid;grid-template-columns:1.15fr 1fr;background:var(--hw-ink);color:var(--hw-cream);
}
.hw-fly-spread img {width:100%;display:block;height:100%;min-height:240px;max-height:340px;object-fit:cover}
.hw-fly-spread-copy {align-self:center;padding:clamp(24px,4vw,58px)}
.hw-home .hw-fly-spread h2 {font:700 clamp(30px,3.2vw,48px)/1.05 var(--serif);color:var(--hw-cream);margin:0}
.hw-home .hw-fly-spread p {max-width:39ch;margin:15px 0 22px;color:#e3dac9;line-height:1.55}
.hw-home .hw-fly-spread a:focus-visible {outline:2px solid var(--hw-gold);outline-offset:4px}
@media(max-width:760px){
  .hw-home-index {background-size:auto,452px 360px;scroll-margin-top:75px}
  .hw-home .hw-collection-plates {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hw-home .hw-collection-plate {padding:12px}
  .hw-home .hw-collection-plate img {height:96px}
  .hw-home .hw-plate-caption {padding-right:0}
  .hw-plate-arrow {display:none}
  .hw-home .hw-fly-spread {width:calc(100% - 32px);grid-template-columns:1fr}
  .hw-home .hw-fly-spread img {min-height:0;height:auto;max-height:none;aspect-ratio:1.9;object-fit:cover}
  .hw-home .hw-tees .hw-tee {order:0}
}
/* Match the shirt framing used on collection and shop cards. */
.hw-shirt-display.hw-theme .hw-home-picks .hw-card .hw-card-media {
  --hw-card-scale:scale(1.3);
  display:grid;place-items:center;aspect-ratio:19 / 24;overflow:hidden;
}
.hw-shirt-display.hw-theme .hw-home-picks .hw-card .hw-card-media img {
  transform:scale(1.3);transform-origin:center;
}

.hw-theme.page-id-305 .entry-title { font-family: var(--serif, Georgia, serif); letter-spacing: -.035em; }
.hw-theme.page-id-305 .hw-market-about {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .83fr);
  align-items: center; gap: clamp(24px, 5vw, 64px);
}
.hw-market-about p { max-width: 58ch; }
.hw-theme .hw-market-about figure { margin: 0; }
.hw-theme .hw-market-about figure img {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block;
}
.hw-market-about .hw-market-about-shop { font-weight: 700; color: #25473c; text-underline-offset: .22em; }
@media (max-width: 700px) {
  .hw-theme.page-id-305 .hw-market-about { grid-template-columns: minmax(0,1fr); }
  .hw-theme .hw-market-about figure img { aspect-ratio: 3 / 2; }
}

.hw-home .hw-lake-picture { position:absolute; inset:0; width:100%; height:100%; max-width:none; object-fit:cover; object-position:62% 58%; }
@media(max-width:760px) { .hw-home .hw-lake-picture { object-position:70% 30%; } }
