:root {
  --ink: #111827;
  --muted: #5f6877;
  --soft: #f5f6f8;
  --line: #e4e7ec;
  --white: #ffffff;
  --blue: #2f55d4;
  --orange: #c7662b;
  --navy: #111827;
  --shadow: 0 18px 42px rgb(17 24 39 / 14%);
  color-scheme: light;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.content,
.hero-inner,
.masthead,
.nav-links,
.top-strip {
  margin: 0 auto;
  max-width: 1480px;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 40;
}

.top-strip {
  align-items: center;
  background: var(--navy);
  color: var(--white);
  display: grid;
  font-size: 0.86rem;
  font-weight: 700;
  grid-template-columns: 1fr auto 1fr;
  max-width: none;
  min-height: 38px;
  padding: 0 1rem;
  width: 100%;
}

.top-strip span:nth-child(2) {
  text-align: center;
}

.top-strip span:last-child {
  text-align: right;
}

.masthead {
  align-items: center;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: 280px minmax(260px, 1fr) 210px;
  min-height: 86px;
  padding: 0 1rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.7rem;
  font-weight: 900;
  gap: 0.55rem;
  letter-spacing: 0;
  min-width: 0;
}

.brand img {
  height: 54px;
  object-fit: contain;
  width: 54px;
}

.search-shell {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #8b94a3;
  display: flex;
  font-size: 1rem;
  gap: 0.75rem;
  height: 48px;
  padding: 0 1.1rem;
}

.search-shell:focus-within,
.search-page-form:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgb(48 83 210 / 12%);
}

.search-shell input,
.search-page-form input {
  background: transparent;
  border: 0;
  color: #222936;
  flex: 1;
  font: inherit;
  font-weight: 650;
  min-width: 0;
  outline: 0;
  width: 100%;
}

.search-shell input::placeholder,
.search-page-form input::placeholder {
  color: #8b94a3;
}

.search-submit {
  align-items: center;
  background: transparent;
  border: 0;
  color: #8b94a3;
  display: inline-flex;
  flex: 0 0 auto;
  height: 28px;
  justify-content: center;
  padding: 0;
  width: 28px;
}

.search-icon {
  border: 2px solid #9aa3b2;
  border-radius: 50%;
  display: inline-block;
  height: 15px;
  position: relative;
  width: 15px;
}

.search-icon::after {
  background: #9aa3b2;
  bottom: -5px;
  content: "";
  height: 8px;
  position: absolute;
  right: -4px;
  transform: rotate(-45deg);
  width: 2px;
}

.utility-links {
  align-items: center;
  display: flex;
  font-size: 0.98rem;
  font-weight: 750;
  gap: 1.2rem;
  justify-content: end;
  white-space: nowrap;
}

.cart-pill {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.cart-icon {
  height: 22px;
  width: 22px;
}

.nav {
  border-top: 1px solid var(--line);
  position: relative;
  z-index: 30;
}

.nav-links {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.6rem);
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1080px;
  min-height: 66px;
  overflow: visible;
  padding: 0 1rem;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-item {
  align-items: center;
  display: flex;
}

.nav-link {
  align-items: center;
  display: flex;
  font-weight: 850;
  height: 66px;
  position: relative;
  white-space: nowrap;
}

.nav-link[aria-current="page"],
.nav-item:hover > .nav-link {
  color: var(--blue);
}

.nav-link[aria-current="page"]::after,
.nav-item:hover > .nav-link::after {
  background: var(--blue);
  bottom: 0;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  right: 0;
}

.mega-menu {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  left: max(1rem, calc((100vw - 1480px) / 2 + 1rem));
  max-width: 980px;
  padding: 2.25rem 2.8rem;
  position: absolute;
  top: calc(100% - 1px);
  width: min(980px, calc(100vw - 2rem));
  z-index: 40;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  display: block;
}

.mega-grid {
  display: grid;
  gap: 3.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mega-grid h3 {
  font-size: 1.05rem;
  margin: 0 0 1rem;
}

.mega-grid ul {
  display: grid;
  gap: 0.6rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.mega-grid a {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.2;
}

.mega-grid a:hover {
  color: var(--blue);
}

.retail-hero {
  background:
    linear-gradient(90deg, rgb(17 24 39 / 72%), rgb(17 24 39 / 8%)),
    var(--hero-image);
  background-position: center 24%;
  background-size: cover;
  min-height: 360px;
}

.hero-inner {
  padding: 4.5rem 1rem;
}

.hero-copy {
  color: var(--white);
  max-width: 560px;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.98;
  margin: 0;
}

.hero-copy p {
  font-size: 1.12rem;
  line-height: 1.55;
  margin: 1rem 0 0;
}

.eyebrow {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  color: #ffd18b;
}

.hero-actions,
.promo-grid,
.chip-row,
.price-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-actions {
  margin-top: 1.6rem;
}

.button {
  align-items: center;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 44px;
  padding: 0.78rem 1rem;
}

.button-primary {
  background: var(--blue);
  color: var(--white);
}

.button-secondary {
  background: var(--orange);
  color: var(--white);
}

.promo-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 1rem;
}

.promo-grid {
  justify-content: stretch;
}

.promo-grid a {
  background: #fff7e7;
  border: 1px solid #f3d794;
  border-radius: 8px;
  color: #9a4b20;
  flex: 1 1 250px;
  font-size: 1.08rem;
  font-weight: 900;
  padding: 1.1rem;
  text-align: center;
}

.section {
  padding: 3rem 1rem;
}

.section-header {
  align-items: end;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-bottom: 1.3rem;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1;
  margin: 0;
}

.muted {
  color: var(--muted);
}

.category-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 145px;
  padding: 1.1rem;
}

.category-tile:hover,
.product-card:hover {
  border-color: #ccd2db;
  box-shadow: 0 10px 30px rgb(17 24 39 / 8%);
}

.category-tile h3 {
  font-size: 1.28rem;
  margin: 0 0 0.65rem;
}

.product-grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 4 / 4.2;
  background: var(--soft);
  object-fit: cover;
  width: 100%;
}

.product-card-body {
  padding: 1rem;
}

.brand-name,
.product-brand {
  color: #687386;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 1.02rem;
  line-height: 1.25;
  margin: 0.42rem 0 0.72rem;
}

.price-row {
  align-items: baseline;
}

.price {
  font-size: 1.02rem;
  font-weight: 950;
}

.compare {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: line-through;
}

.tag-row {
  margin-top: 0.78rem;
}

.tag {
  background: #f1f3f6;
  border-radius: 999px;
  color: #4b5565;
  font-size: 0.76rem;
  font-weight: 780;
  padding: 0.28rem 0.52rem;
}

.breadcrumb {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.category-page {
  background: var(--white);
  padding: 2rem 1rem 4rem;
}

.category-page h1 {
  font-size: clamp(2.2rem, 5vw, 3rem);
  line-height: 1;
  margin: 0;
}

.result-count {
  color: #848c99;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0.45rem 0 1.45rem;
}

.chip-row {
  margin-bottom: 1.5rem;
}

.chip-row a {
  background: #f1f3f6;
  border-radius: 999px;
  color: #4b5565;
  font-weight: 800;
  padding: 0.72rem 1rem;
}

.chip-row a[aria-current="page"],
.facet-sidebar a[aria-current="page"] {
  color: var(--blue);
}

.listing-layout {
  display: grid;
  gap: 2.2rem;
  grid-template-columns: 300px minmax(0, 1fr);
}

.facet-sidebar {
  align-self: start;
}

.sort-button {
  align-items: center;
  background: var(--white);
  border: 1px solid #cfd5de;
  border-radius: 8px;
  color: #586273;
  display: flex;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 1rem;
  width: 100%;
}

.sort-button span {
  border-bottom: 2px solid #8d96a5;
  border-right: 2px solid #8d96a5;
  height: 8px;
  transform: rotate(45deg) translateY(-2px);
  width: 8px;
}

.facet-sidebar h2 {
  font-size: 1rem;
  margin: 2rem 0 1rem;
  text-transform: uppercase;
}

.facet-sidebar ul {
  display: grid;
  gap: 0.88rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.facet-sidebar a {
  color: #404a5b;
  display: flex;
  font-weight: 650;
  justify-content: space-between;
}

.facet-sidebar a span {
  color: #9aa3b2;
  font-weight: 800;
}

.listing-results {
  background: #fafbfc;
  border-radius: 8px;
  padding: 1.8rem;
}

.listing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.search-page-form {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  display: flex;
  gap: 0.65rem;
  max-width: 680px;
  min-height: 52px;
  padding: 0 1rem;
  margin-bottom: 1.5rem;
}

.search-results {
  min-height: 280px;
}

.empty-search {
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 750;
  margin: 1rem 0 0;
}

.product-layout {
  display: grid;
  gap: 2.6rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  padding-top: 0.5rem;
}

.product-media {
  position: sticky;
  top: 214px;
}

.product-media img {
  aspect-ratio: 1 / 1.08;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.product-info {
  align-self: start;
}

.product-info h1 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1;
  margin: 0.35rem 0 0.8rem;
}

.rating-summary {
  color: var(--blue);
  display: inline-flex;
  font-weight: 850;
  margin-bottom: 0.7rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.summary {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.58;
}

.thumbnail-row {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0.75rem;
}

.thumbnail-row button {
  aspect-ratio: 1;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
}

.thumbnail-row button.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(48 83 210 / 18%);
}

.thumbnail-row img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.product-option-group {
  border: 0;
  margin: 1.1rem 0;
  padding: 0;
}

.product-option-group legend {
  color: #222936;
  font-weight: 900;
  margin-bottom: 0.6rem;
}

.swatch-row,
.size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.swatch,
.size-choice {
  background: var(--white);
  border: 1px solid #cfd5de;
  border-radius: 999px;
  color: #384354;
  font-weight: 850;
  min-height: 42px;
  padding: 0 0.95rem;
}

.swatch.selected,
.size-choice.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(48 83 210 / 18%);
}

.buy-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 1.35rem 0;
  padding: 1.2rem;
}

.promo-callout,
.payment-callout {
  color: #4b5565;
  font-weight: 750;
  line-height: 1.45;
  margin: 0.75rem 0 0;
}

.quantity-control {
  color: #384354;
  display: grid;
  font-weight: 850;
  gap: 0.45rem;
  margin-top: 1rem;
}

.quantity-control select {
  border: 1px solid #cfd5de;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 0.75rem;
}

.add-button {
  background: var(--blue);
  color: var(--white);
  margin-top: 1rem;
  width: 100%;
}

.add-button.is-added {
  background: var(--orange);
}

.pdp-content-sections {
  margin-top: 1.4rem;
}

.standalone-reviews {
  border-top: 1px solid var(--line);
  padding-bottom: 1.5rem;
  padding-top: 2rem;
}

.standalone-reviews .eyebrow {
  color: var(--orange);
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-detail-section,
.review {
  border-top: 1px solid var(--line);
}

.product-detail-section:last-child {
  border-bottom: 1px solid var(--line);
}

.product-detail-section summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 1.12rem;
  font-weight: 900;
  justify-content: space-between;
  list-style: none;
  min-height: 60px;
}

.product-detail-section summary::-webkit-details-marker {
  display: none;
}

.product-detail-section summary::after {
  border-bottom: 2px solid #8d96a5;
  border-right: 2px solid #8d96a5;
  content: "";
  height: 9px;
  margin-left: 1rem;
  transform: rotate(45deg) translateY(-3px);
  width: 9px;
}

.product-detail-section[open] summary::after {
  transform: rotate(225deg) translateY(-1px);
}

.detail-panel {
  color: var(--muted);
  line-height: 1.58;
  padding: 0 0 1.2rem;
}

.detail-panel p,
.detail-panel ul,
.detail-panel dl {
  margin: 0;
}

.detail-panel ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
}

.detail-panel dl {
  display: grid;
  gap: 0.65rem;
}

.detail-panel dl div {
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 150px 1fr;
}

.detail-panel dt {
  color: #222936;
  font-weight: 900;
}

.review-summary {
  align-items: baseline;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.review {
  padding: 1rem 0;
}

.review h3 {
  font-size: 1.18rem;
  line-height: 1.2;
  margin: 0 0 0.55rem;
}

.review p {
  color: var(--muted);
  line-height: 1.58;
  margin: 0;
}

.stars {
  color: var(--orange);
  font-weight: 900;
}

.related-products {
  padding-bottom: 3rem;
  padding-top: 1rem;
}

.section-heading-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.section-heading-row h2 {
  font-size: 1.8rem;
  margin: 0;
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-controls button {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #384354;
  font-weight: 850;
  min-height: 38px;
  padding: 0 1rem;
}

.carousel-track {
  display: grid;
  gap: 1rem;
  grid-auto-columns: minmax(260px, 320px);
  grid-auto-flow: column;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 0.2rem 0 1rem;
  scroll-snap-type: inline mandatory;
}

.carousel-track .product-card {
  scroll-snap-align: start;
}

.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 2.4rem 1rem;
}

.footer-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr auto;
  margin: 0 auto;
  max-width: 1480px;
}

.footer-grid p {
  color: rgb(255 255 255 / 72%);
  margin: 0.5rem 0 0;
}

@media (max-width: 1100px) {
  .masthead {
    grid-template-columns: 240px 1fr;
  }

  .utility-links {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .listing-layout {
    grid-template-columns: 1fr;
  }

  .facet-sidebar {
    display: none;
  }

  .listing-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .top-strip {
    display: none;
  }

  .masthead {
    gap: 0.9rem;
    grid-template-columns: 1fr;
    padding: 0.8rem 1rem;
  }

  .brand img {
    height: 46px;
    width: 46px;
  }

  .search-shell {
    height: 44px;
  }

  .utility-links {
    font-size: 0.9rem;
  }

  .nav-links {
    gap: 1.2rem;
    min-height: 54px;
    overflow-x: auto;
    overflow-y: hidden;
  }

  .nav-link {
    height: 54px;
  }

  .mega-menu {
    display: none;
  }

  .hero-inner,
  .section,
  .category-page {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .category-grid,
  .listing-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .listing-results {
    padding: 1rem;
  }

  .product-layout {
    grid-template-columns: 1fr;
  }

  .review-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    position: static;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
