/* Urban collection — rebuilt from the supplied reference composition. */
body.term-urban {
  --urban-ink: #111214;
  --urban-red: #f31329;
  --urban-paper: #efefec;
  overflow-x: clip;
  background: var(--urban-paper);
}

body.term-urban .shop-main {
  padding-top: 0;
  padding-bottom: 26px;
  overflow-x: clip;
  background: var(--urban-paper);
}

body.term-urban .shop-main > .container {
  max-width: 1520px;
  padding: 0 34px 18px;
}

body.term-urban .shop-main > .container > .woocommerce-breadcrumb,
body.term-urban .woocommerce-products-header,
body.term-urban .shop-category-description-accordion {
  display: none;
}

body.term-urban .urban-landing,
body.term-urban .urban-reference-categories {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

body.term-urban .urban-reference-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 475;
  min-height: 340px;
  overflow: hidden;
  background: #101216 url('../images/urban-reference-hero.webp') center / cover no-repeat;
}

body.term-urban .urban-reference-hero__cta {
  position: absolute;
  z-index: 2;
  bottom: 13.8%;
  left: 5%;
  display: block;
  width: 18.1%;
  height: 13.5%;
  color: transparent;
  border-radius: 18px;
  outline: 0;
  text-indent: -9999px;
}

body.term-urban .urban-reference-hero__cta:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

body.term-urban .urban-reference-hero__mobile-copy {
  display: none;
}

body.term-urban .urban-reference-categories {
  position: relative;
  background: var(--urban-paper);
}

body.term-urban .urban-reference-categories__desktop {
  position: relative;
  width: 100%;
  aspect-ratio: 1672 / 466;
  background: url('../images/urban-reference-categories.webp') center / 100% 100% no-repeat;
}

body.term-urban .urban-reference-categories__hit {
  position: absolute;
  top: 24%;
  bottom: 6.8%;
  display: block;
  border-radius: 16px;
  outline: 0;
}

body.term-urban .urban-reference-categories__hit:hover {
  background: rgb(255 255 255 / 5%);
}

body.term-urban .urban-reference-categories__hit:focus-visible {
  outline: 3px solid var(--urban-red);
  outline-offset: 3px;
}

body.term-urban .urban-reference-categories__hit--all { left: 4.1%; width: 17.6%; }
body.term-urban .urban-reference-categories__hit--t-shirts { left: 22.7%; width: 17.6%; }
body.term-urban .urban-reference-categories__hit--hoodies { left: 41.3%; width: 17.6%; }
body.term-urban .urban-reference-categories__hit--sweatshirts { left: 60%; width: 17.4%; }
body.term-urban .urban-reference-categories__hit--long-sleeves { left: 78.6%; width: 17.7%; }

body.term-urban .urban-reference-categories__mobile {
  display: none;
}

body.term-urban.woocommerce .woocommerce-result-count {
  margin: 16px 0 12px;
  color: #60666d;
  font-size: 12px;
}

body.term-urban.woocommerce .woocommerce-ordering {
  margin-bottom: 12px;
}

body.term-urban.woocommerce ul.products {
  margin-top: 0;
}

@media (max-width: 760px) {
  body.term-urban .shop-main > .container {
    padding: 0 12px 18px;
  }

  body.term-urban .urban-reference-hero {
    min-height: 540px;
    aspect-ratio: auto;
    background-size: auto 540px;
    background-position: 73% center;
  }

  body.term-urban .urban-reference-hero::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgb(7 9 12 / 88%) 0%, rgb(7 9 12 / 42%) 58%, rgb(7 9 12 / 4%) 100%);
  }

  body.term-urban .urban-reference-hero__cta {
    z-index: 3;
    bottom: 29px;
    left: 16px;
    width: 190px;
    height: 48px;
    border-radius: 10px;
  }

  body.term-urban .urban-reference-hero__mobile-copy {
    position: absolute;
    z-index: 3;
    top: 34px;
    left: 18px;
    display: flex;
    width: 70%;
    flex-direction: column;
    color: #fff;
  }

  body.term-urban .urban-reference-hero__mobile-brand {
    margin-bottom: 24px;
    font-size: 31px;
    font-weight: 850;
    letter-spacing: -.08em;
    line-height: .9;
  }

  body.term-urban .urban-reference-hero__mobile-brand span { color: var(--urban-red); }

  body.term-urban .urban-reference-hero__mobile-eyebrow {
    margin-bottom: 9px;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .25em;
    text-transform: uppercase;
  }

  body.term-urban .urban-reference-hero__mobile-copy strong {
    margin-left: -3px;
    font-size: clamp(4.2rem, 21vw, 6.5rem);
    font-weight: 950;
    letter-spacing: -.09em;
    line-height: .82;
  }

  body.term-urban .urban-reference-hero__mobile-copy b {
    margin-top: 12px;
    font-size: 19px;
    line-height: 1.03;
    text-transform: uppercase;
  }

  body.term-urban .urban-reference-hero__mobile-copy > span:last-child {
    margin-top: 31px;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .2em;
  }

  body.term-urban .urban-reference-categories__desktop {
    display: none;
  }

  body.term-urban .urban-reference-categories__mobile {
    display: block;
    padding: 30px 12px 8px;
  }

  body.term-urban .urban-reference-categories__mobile-heading > span {
    display: block;
    margin-bottom: 8px;
    color: #17191d;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .3em;
  }

  body.term-urban .urban-reference-categories__mobile-heading > span::before {
    display: inline-block;
    width: 25px;
    height: 3px;
    margin: 0 12px 3px 0;
    content: '';
    background: var(--urban-red);
  }

  body.term-urban .urban-reference-categories__mobile-heading h2 {
    margin: 0;
    color: var(--urban-ink);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: -.05em;
    line-height: .98;
  }

  body.term-urban .urban-reference-categories__mobile-heading p {
    margin: 12px 0 20px;
    color: #555b61;
    font-size: 11px;
    line-height: 1.4;
  }

  body.term-urban .urban-reference-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  body.term-urban .urban-reference-card {
    position: relative;
    display: flex;
    min-height: 222px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    overflow: hidden;
    padding: 13px;
    color: #fff;
    background: #1a1b1d var(--urban-card-image) center top / cover no-repeat;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgb(18 22 25 / 14%);
  }

  body.term-urban .urban-reference-card::after {
    position: absolute;
    inset: 0;
    content: '';
    background: linear-gradient(180deg, rgb(0 0 0 / 0%) 31%, rgb(0 0 0 / 82%) 100%);
  }

  body.term-urban .urban-reference-card__title,
  body.term-urban .urban-reference-card small,
  body.term-urban .urban-reference-card b { position: relative; z-index: 1; }

  body.term-urban .urban-reference-card__title {
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
  }

  body.term-urban .urban-reference-card small {
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.35;
  }

  body.term-urban .urban-reference-card b {
    position: absolute;
    right: 9px;
    bottom: 9px;
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    color: #161719;
    background: #fff;
    border-radius: 50%;
    font-size: 18px;
    font-weight: 400;
  }

  body.term-urban .urban-reference-card--all b {
    color: #fff;
    background: var(--urban-red);
  }

  body.term-urban.woocommerce .woocommerce-result-count {
    margin: 10px 0;
  }

  body.term-urban.woocommerce .woocommerce-ordering {
    width: 100%;
  }

  body.term-urban.woocommerce .woocommerce-ordering select {
    width: 100%;
    min-width: 0;
  }

  body.term-urban.woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.term-urban * { scroll-behavior: auto !important; }
}
