:root {
  font:100%/1.45 "Segoe UI",Arial,sans-serif;
  color:#192327;
  background:#f4f5f3;
  --green:#006d60;
  --edge:#d5dbd7;
}
* {
  box-sizing:border-box;
}
body {
  margin:0;
}
header {
  background:#132123;
  color:white;
  border-bottom:3px solid #65c3a9;
}
.bar,main {
  max-width:1400px;
  margin:auto;
  padding-inline:clamp(16px,4vw,64px);
}
.bar {
  min-height:64px;
  display:flex;
  align-items:center;
  gap:18px;
}
.brand {
  font:bold italic 23px/1 Arial,sans-serif;
  letter-spacing:-1.4px;
  display:flex;
  gap:9px;
  align-items:center;
}
.brand i {
  display:inline-block;
  width:22px;
  height:18px;
  transform:skew(-19deg);
  background:repeating-linear-gradient(90deg,#7ad8ba 0 5px,transparent 5px 8px);
}
.division {
  border-left:1px solid #50605d;
  padding-left:18px;
  color:#cdd6d3;
  font-size:.9rem;
}
.bar a {
  margin-left:auto;
  color:#fff;
  text-decoration:none;
  font-size:.9rem;
}
.bar a:hover {
  text-decoration:underline;
}
.hero {
  margin-top:28px;
  border-radius:12px;
  min-height:238px;
  display:flex;
  align-items:center;
  color:white;
  background-color:#192927;
  background-image:linear-gradient(90deg,#192927 26%,rgba(25,41,39,.94) 38%,transparent 69%),var(--hero-photo, url('450mt.jpg'));
  background-repeat:no-repeat;
  background-size:cover,65% auto;
  background-position:center,right 61%;
}
.hero-copy {
  padding:32px clamp(24px,4vw,58px);
}
small {
  font-weight:700;
  letter-spacing:.15em;
  font-size:.78rem;
  color:#91dfc7;
}
.hero h1 {
  margin:7px 0;
  font-size:clamp(2.65rem,5.5vw,5rem);
  letter-spacing:-.065em;
  line-height:1.1;
}
.hero p {
  margin:8px 0 0;
  color:#e2e9e6;
}
.filters {
  margin:20px 0 28px;
  background:white;
  border:1px solid var(--edge);
  padding:20px 24px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:18px;
  border-radius:10px;
}
label {
  display:grid;
  gap:7px;
  font-size:.875rem;
  font-weight:650;
}
.field,select {
  height:45px;
  border:1px solid #acb7b1;
  border-radius:6px;
  background:#fff;
  min-width:0;
}
.field {
  display:flex;
  align-items:center;
}
.magnifier {
  position:relative;
  flex:0 0 15px;
  width:15px;
  height:15px;
  border:2px solid var(--green);
  border-radius:50%;
  margin:0 14px;
}
.magnifier::after {
  content:"";
  position:absolute;
  width:7px;
  height:2px;
  background:var(--green);
  bottom:-3px;
  right:-5px;
  transform:rotate(45deg);
}
.field input {
  width:100%;
  min-width:0;
  border:0;
  background:transparent;
  height:100%;
  font:inherit;
  font-weight:400;
  padding:0 10px 0 0;
}
.field input:focus-visible {
  outline: none;
}
.field:focus-within {
  outline:2px solid var(--green);
}
select {
  appearance:none;
  padding:0 34px 0 12px;
  background:linear-gradient(45deg,transparent 50%,#54645d 50%) calc(100% - 17px) 52%/6px 6px no-repeat,linear-gradient(135deg,#54645d 50%,transparent 50%) calc(100% - 11px) 52%/6px 6px no-repeat;
  font:inherit;
  font-weight:400;
}
.heading {
  display:flex;
  align-items:center;
  gap:12px;
  margin-bottom:16px;
}
.heading h2 {
  margin:0;
  font-size:1.7rem;
  letter-spacing:-.045em;
}
#count {
  color:#586661;
  font-size:.9rem;
}
button {
  font:inherit;
  cursor:pointer;
}
.heading button,#close {
  border:1px solid var(--edge);
  border-radius:5px;
  background:white;
  padding:7px 12px;
  margin-left:auto;
}
.heading button:hover,#close:hover {
  border-color:var(--green);
}
#cards {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,235px),1fr));
  gap:16px;
}
.card {
  border:1px solid var(--edge);
  border-radius:9px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  text-align:left;
  background:white;
  padding:0;
  color:inherit;
}
.card:hover {
  border-color:var(--green);
  box-shadow:0 4px 16px #10261c10;
}
.photo {
  height:154px;
  width:100%;
  padding:12px;
  object-fit:contain;
  background:white;
  border-bottom:1px solid #eef0ed;
}
.info {
  padding:15px 17px 18px;
  display:grid;
  gap:6px;
}
.type {
  font-size:.76rem;
  color:var(--green);
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.title {
  font-size:1.08rem;
  line-height:1.25;
}
.sku,.fit {
  font-size:.875rem;
  color:#4d5e57;
}
.sku {
  font-family:Consolas,monospace;
}
.fit {
  margin-top:4px;
}
footer {
  margin:32px 0 24px;
  padding-top:14px;
  border-top:1px solid var(--edge);
  color:#57635d;
  font-size:.875rem;
}
footer a,dialog a {
  color:var(--green);
}
dialog {
  border:1px solid var(--edge);
  border-radius:12px;
  max-width:min(560px,92vw);
  width:100%;
  padding:24px;
  color:inherit;
}
dialog::backdrop {
  background:#0d1e21a8;
}
#close {
  display:block;
}
dialog img {
  width:100%;
  height:190px;
  object-fit:contain;
}
dialog h2 {
  letter-spacing:-.035em;
  margin:8px 0;
}
dialog dt {
  font-weight:650;
}
dialog dd {
  margin:0 0 12px;
}
#empty {
  padding:32px;
  background:white;
  border:1px solid var(--edge);
  border-radius:8px;
}
:focus-visible {
  outline:3px solid #147c70;
  outline-offset:2px;
}
@media(max-width:760px) {
  .filters {
    grid-template-columns:1fr 1fr;
    padding:16px;
    gap:12px;
  }
  .filters label:first-child {
    grid-column:1/-1;
  }
  .hero {
    min-height:200px;
    background-size:cover,90% auto;
    background-image:linear-gradient(90deg,#192927 0%,#192927df 35%,#19292732 90%),var(--hero-photo, url('450mt.jpg'));
  }
  .division {
    display:none;
  }
}
@media(max-width:480px) {
  .hero {
    margin-top:16px;
    min-height:175px;
  }
  .hero-copy {
    padding:20px;
  }
  .hero p {
    max-width:200px;
  }
  .filters {
    margin:14px 0 20px;
  }
  .bar {
    min-height:52px;
  }
  #cards {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .photo {
    height:110px;
  }
  .info {
    padding:11px;
  }
  .title {
    font-size:.97rem;
  }
  .fit,.sku {
    font-size:.8rem;
    overflow-wrap:anywhere;
  }
  .heading {
    gap:8px;
  }
  .heading button {
    font-size:.85rem;
  }
}

#listed-filter { grid-column: 1 / -1; display: flex; align-items: center; gap: .5rem; }
#listed-filter[hidden] { display: none; }
#listed { accent-color: var(--green); width: 1rem; height: 1rem; }
.assortments { display:flex; flex-wrap:wrap; gap:.5rem; margin:1.3rem 0 -.5rem; }
.assortments button, #open-cart, .add-item { border:1px solid var(--edge); border-radius:.4rem; padding:.55rem .9rem; font-weight:600; }
.assortments button { background:#fff; color:var(--green); }
.assortments button[aria-pressed=true], .add-item { background:var(--green); color:white; border-color:var(--green); }
#open-cart { background:#ddf4eb; color:#143a32; }
.card-details { display:flex; flex-direction:column; align-items:stretch; width:100%; background:white; border:0; padding:0; text-align:left; color:inherit; }
.card-details:hover .title { color:var(--green); text-decoration:underline; }
.card-details:focus-visible { outline-offset:-3px; }
.price-info { display:grid; gap:.2rem; margin: auto 1rem .65rem; }
.price-label,.internal-price { color:#43564c; font-size:.825rem; }
.internal-price { border-top:1px solid #e3ebe6; padding-top:.28rem; }
.card > .add-item { margin:0 1rem 1rem; }
.add-item:hover { background:#00564b; }
#detail-body .price-info { margin:1rem 0; }
.internal-switch { display:flex; align-items:center; gap:.45rem; margin-left:auto; cursor:pointer; }
.internal-switch input { accent-color:var(--green); width:1.05rem; height:1.05rem; }
.heading { flex-wrap:wrap; }
.heading #clear { margin-left:0; }
@media(max-width:520px) {
 .bar a { display:none; }
 #open-cart { margin-left:auto; }
 .internal-switch { font-size:.8rem; }
 .card > .add-item { margin:0 .6rem .65rem; padding:.55rem .15rem; }
 .price-info { margin:auto .65rem .5rem; }
 .hero h1 { font-size:2.4rem; }
}

.filters.merch-only { grid-template-columns:1fr; }
.filters.merch-only label:has(select) { display:none; }


.brands { display:flex; gap:1.6rem; margin:1rem 0 0; border-bottom:1px solid var(--edge); }
.brands a { padding:.55rem .25rem; color:#44504b; font-weight:700; text-decoration:none; border-bottom:3px solid transparent; }
.brands a[aria-current=page] { border-bottom-color:var(--green); color:var(--green); }
.brands + .hero { margin-top:16px; }
.goes { --hero-photo:url('goes-terrox.jpg'); --green:#38552f; }

.bar .division { display:block; border:0; padding:0; font-weight:650; color:white; }
#private-access { max-width:min(26rem,92vw); }
#private-access input { width:100%; height:2.75rem; padding:0 .7rem; font:inherit; border:1px solid var(--edge); border-radius:5px; }
#private-access form>div { display:flex; justify-content:flex-end; gap:.5rem; }
#private-access button { padding:.55rem .9rem; border-radius:5px; border:1px solid var(--edge); }
#private-access button[type=submit] { background:var(--green); color:white; }
