.shell {
  width: min(1480px, calc(100vw - 48px));
  margin-inline: auto;
}

.shell.header {
  box-sizing: border-box;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-inline: 24px;
  padding-top: 12px;
  background: var(--color-cream);
  transform: translateY(0);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.shell.header[data-scroll-visible="false"] {
  pointer-events: none;
  transform: translateY(calc(-100% - 1px));
}

.shell.header:focus-within {
  pointer-events: auto;
  transform: translateY(0);
}

.headerTopRow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 38px;
}

.headerBrandCluster {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.wordmarkLink {
  display: inline-flex;
  align-items: center;
  color: inherit;
  flex: 0 0 auto;
}

.wordmark {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 32px;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.headerProfileLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 2px;
}

.headerProfileVisual {
  position: relative;
  width: 19px;
  height: 17px;
}

.headerProfileHead {
  position: absolute;
  left: 50%;
  top: 0;
  width: 7px;
  height: 7px;
  border: 1.25px solid #111;
  border-radius: 50%;
  transform: translateX(-50%);
}

.headerProfileBody {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 14px;
  height: 8px;
  border: 1.25px solid #111;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
  border-bottom: 0;
  transform: translateX(-50%);
}

.headerProfileLink[data-active="true"] .headerProfileHead,
.headerProfileLink[data-active="true"] .headerProfileBody {
  border-color: #000;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 10px;
  line-height: 1;
}

.navItemGroup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav a {
  color: #000;
  text-decoration-color: transparent;
  text-decoration-line: underline;
  text-decoration-thickness: 0.8px;
  text-underline-offset: 4px;
  transition: opacity 160ms ease;
}

.nav a[data-active="true"] {
  opacity: 1;
  text-decoration-color: currentColor;
}

.nav a[data-active="false"] {
  opacity: 0.86;
}

.navDivider {
  color: #b0a7a7;
}

.headerActions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  flex: 0 0 auto;
}

.headerPrice {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-weight: 500;
  color: #000;
  line-height: 0.9;
  white-space: nowrap;
  transform: translateY(-1px);
}

.headerPriceText {
  font-size: 14px;
  line-height: 1;
}

.headerCartButton,
.mobileMenuButton {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
}

.headerCartButton:focus-visible,
.headerProfileLink:focus-visible,
.mobileMenuButton:focus-visible {
  outline: 1px solid rgba(0, 0, 0, 0.7);
  outline-offset: 2px;
}

.headerCartVisual {
  width: 56px;
  height: 32px;
  overflow: hidden;
  border-radius: 2px;
}

.headerCartImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.mobileMenuButton {
  display: none;
  width: 28px;
  height: 28px;
}

.mobileMenuVisual {
  display: grid;
  gap: 4px;
  width: 18px;
}

.mobileMenuVisual span {
  display: block;
  height: 1.25px;
  background: #111;
  border-radius: 999px;
  transform-origin: center;
  transition:
    transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 150ms ease;
}

.mobileNavPanel {
  display: none;
}

.rule {
  margin: 8px -24px 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.2);
}

.categoriesSection {
  margin-top: 44px;
  padding-bottom: 18px;
}

.categoriesTitle {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.categoriesList {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  max-width: 784px;
}

.categoriesList li {
  border-top: 1px solid rgba(0, 0, 0, 0.28);
}

.categoriesList li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
}

.categoryLink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 4px 11px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1;
  color: #414141;
  transition: background-color 160ms ease, color 160ms ease;
}

.categoryLink[data-active="true"] {
  background: rgba(0, 0, 0, 0.04);
  color: #111;
}

.categoryLink[data-active="true"] .categoryCount {
  color: rgba(0, 0, 0, 0.72);
}

.categoryCount {
  color: rgba(0, 0, 0, 0.42);
  font-size: 12px;
}

.footer {
  margin-top: 18px;
  background: rgba(0, 0, 0, 0.91);
  color: #fff;
}

.footerInner {
  padding: 54px 34px 18px;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand social"
    "legal legal";
  gap: 20px 32px;
}

.footerBrandBlock {
  grid-area: brand;
  max-width: 430px;
}

.footerLogo {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(48px, 8vw, 92px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footerCopy {
  margin: 14px 0 0;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.92);
}

.footerSocialBlock {
  grid-area: social;
  align-self: center;
  justify-self: end;
  text-align: left;
}

.socialRow {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  gap: 0;
}

.socialLink {
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.instagramBlock {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
}

.facebookLink {
  align-self: flex-end;
  margin-left: -12px;
}

.badgeInstagram {
  width: 150px;
  height: auto;
}

.badgeFacebook {
  width: 216px;
  height: auto;
}

.socialHandle {
  margin: -1px 0 0;
  margin-left: 18px;
  font-family: var(--font-heading);
  font-size: 16px;
  line-height: 1;
}

.footerLegal {
  grid-area: legal;
  margin: 0;
  text-align: center;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.84);
}

.cartBackdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(2px);
  overscroll-behavior: contain;
  touch-action: none;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.cartBackdrop[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
}

.cartPanel {
  position: fixed;
  top: 56px;
  right: 18px;
  width: min(430px, calc(100vw - 24px));
  background: #fffef5;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
  z-index: 45;
  transform: translateY(-8px) scale(0.985);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.cartPanel[data-open="true"] {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.cartHeader {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.cartTitle {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
}

.cartHeaderActions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cartTotalText {
  font-family: var(--font-heading);
  font-size: 13px;
  white-space: nowrap;
}

.cartPanel:not(.cartPanelStatic) .cartTotalText {
  transform: translateY(4px);
}

.cartPanel:not(.cartPanelStatic) {
  border-radius: 10.8px;
}

.cartPanel:not(.cartPanelStatic) .cartBuyButton,
.cartPanel:not(.cartPanelStatic) .cartCloseButton {
  border-radius: 10.8px;
}

.cartPanel:not(.cartPanelStatic) .cartMessage,
.cartPanel:not(.cartPanelStatic) .cartItem {
  border-radius: 7.65px;
}

.cartPanel:not(.cartPanelStatic) .cartThumb {
  border-radius: 6.3px;
}

.cartBuyButton,
.cartCloseButton {
  appearance: none;
  border-radius: 12px;
  min-height: 28px;
  padding: 0 12px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cartBuyButton {
  border: 1px solid #000;
  background: #000;
  color: #fff;
}

.cartBuyButton:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cartCloseButton {
  border: 1px solid rgba(0, 0, 0, 0.22);
  background: transparent;
}

.cartBody {
  padding: 10px 12px 12px;
  max-height: min(60vh, 420px);
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

html.cart-drawer-open,
html.cart-drawer-open body {
  overflow: hidden;
  overscroll-behavior: none;
}

.cartEmpty {
  padding: 18px 8px 24px;
  color: #555;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
}

.cartMessage {
  margin: 0 0 10px;
  padding: 10px 12px;
  border-radius: 8.5px;
  background: rgba(164, 27, 27, 0.08);
  color: #7b1616;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.45;
}

.cartList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cartItem {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 8.5px;
  background: rgba(255, 255, 255, 0.45);
}

.cartItemLink {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
}

.cartItemLink:focus-visible {
  outline: 1px solid rgba(0, 0, 0, 0.72);
  outline-offset: 2px;
}

.cartThumb {
  width: 52px;
  height: 52px;
  border-radius: 7px;
  overflow: hidden;
  background: #ece9dd;
}

.cartThumbImage,
.cartThumbPlaceholder {
  width: 100%;
  height: 100%;
}

.cartThumbImage {
  object-fit: contain;
}

.cartThumbPlaceholder {
  background: linear-gradient(135deg, #ece8da, #d9d5c7);
}

.cartItemMeta {
  min-width: 0;
}

.cartItemName {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.2;
}

.cartItemSub {
  margin: 4px 0 0;
  font-family: var(--font-body);
  font-size: 11px;
  color: #666;
}

.cartRemove {
  appearance: none;
  border: 0;
  background: transparent;
  color: #000;
  font-family: var(--font-heading);
  font-size: 11px;
  cursor: pointer;
  opacity: 0.7;
}

.cartRemove:hover {
  opacity: 1;
}

.sortTrigger {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #111;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.sortBackdrop {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  position: fixed;
  inset: 0;
  z-index: 35;
  width: 100vw;
  height: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.18);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.sortBackdrop[data-open="true"] {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.sortDialog {
  display: none;
  position: fixed;
  z-index: 41;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.99);
  width: min(620px, calc(100vw - 28px));
  background: #f5f3e9;
  border: 2px solid rgba(0, 0, 0, 0.85);
  border-radius: 14px;
  padding: 28px 32px 22px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sortDialog[data-open="true"] {
  display: block;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.sortClose {
  position: absolute;
  right: 12px;
  top: 12px;
  appearance: none;
  border: 0;
  background: transparent;
  color: #111;
  font-family: var(--font-heading);
  font-size: 16px;
  cursor: pointer;
}

.sortHeading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 40px;
  line-height: 0.95;
  font-weight: 700;
  letter-spacing: 0;
}

.sortHeaderRow {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 20px;
  padding-right: 30px;
}

.sortClear {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: rgba(0, 0, 0, 0.48);
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 2px;
}

.sortClear:hover,
.sortClear:focus-visible {
  color: #111;
}

.sortSubheading {
  margin: 14px 0 6px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: #444;
}

.sortRange {
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sortRangeBound {
  width: 76px;
}

.sortRangeBound input {
  width: 100%;
  min-height: 26px;
  border: 1px solid rgba(0, 0, 0, 0.55);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0 7px;
  font-family: var(--font-body);
  font-size: 10px;
}

.sortRangeBound input::-webkit-outer-spin-button,
.sortRangeBound input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.sortRangeBound input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.sortSliderWrap {
  position: relative;
  width: 200px;
  height: 26px;
  display: flex;
  align-items: center;
}

.sortRangeLine {
  position: relative;
  width: 100%;
  height: 2px;
  background: rgba(0, 0, 0, 0.42);
}

.sortRangeActive {
  position: absolute;
  top: 0;
  height: 2px;
  background: #111;
}

.sortDot,
.sortDotAlt {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #000;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.sortDot { left: 0%; }
.sortDotAlt { left: 100%; }

.sortRangeInput {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
  pointer-events: none;
}

.sortRangeInputMin {
  z-index: 3;
}

.sortRangeInputMax {
  z-index: 2;
}

.sortRangeInput::-webkit-slider-runnable-track {
  height: 2px;
  background: transparent;
}

.sortRangeInput::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  margin-top: -6px;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

.sortRangeInput::-moz-range-track {
  height: 2px;
  background: transparent;
}

.sortRangeInput::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
}

.sortRangeLabels {
  margin-top: 5px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: 380px;
  font-family: var(--font-body);
  font-size: 9px;
  color: #414141;
}

.sortRangeTags {
  display: flex;
  gap: 8px;
}

.sortTag {
  border: 1px solid rgba(0, 0, 0, 0.4);
  padding: 2px 6px;
  font-family: var(--font-body);
  font-size: 9px;
  background: rgba(255, 255, 255, 0.5);
}

.sortSizeGrid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
  max-width: 220px;
}

.sortCheck {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(0, 0, 0, 0.52);
  cursor: pointer;
  transition: color 140ms ease, text-decoration-color 140ms ease;
}

.sortCheck[data-active="true"] {
  color: #111;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.sortOrderGrid {
  max-width: none;
  grid-template-columns: repeat(2, minmax(150px, 1fr));
}

.sortOrderCheck {
  white-space: nowrap;
}

.sortCheckBox {
  width: 14px;
  height: 14px;
  border: 1.2px solid rgba(0, 0, 0, 0.45);
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sortCheckBox[data-active="true"] {
  background: #111;
  border-color: #111;
}

.sortCheckBox[data-active="true"]::after {
  content: "";
  width: 7px;
  height: 7px;
  background: #f5f3e9;
  clip-path: polygon(14% 44%, 0 60%, 38% 100%, 100% 17%, 84% 2%, 36% 67%);
}

.sortBottom {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
}

.sortCategoryCols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  grid-column: 1 / 3;
}

.sortCategoryList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sortCategoryList li {
  border-top: 1px solid rgba(0, 0, 0, 0.75);
}

.sortCategoryList li:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.75);
}

.sortCategoryButton {
  width: 100%;
  appearance: none;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 6px 7px;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1;
  color: #444;
  border-radius: 2px;
}

.sortCategoryButton[data-active="true"] {
  background: #fff;
  color: #111;
}

.sortGoButton {
  justify-self: end;
  appearance: none;
  border: 2px solid rgba(0, 0, 0, 0.9);
  background: transparent;
  border-radius: 14px;
  min-width: 106px;
  min-height: 38px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.sizeChartDialog {
  position: fixed;
  z-index: 41;
  top: 84px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px) scale(0.99);
  width: min(860px, calc(100vw - 18px));
  background: var(--color-cream);
  border: 2px solid rgba(0, 0, 0, 0.85);
  border-radius: 12.6px;
  padding: 24px 24px 20px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.16);
  opacity: 0;
  pointer-events: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.sizeChartDialog[data-open="true"] {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

[data-size-dialog-chart][hidden] {
  display: none !important;
}

.sizeChartLayout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.sizeChartSidebar {
  display: grid;
  gap: 8px;
}

.sizeChartEyebrow {
  margin: 0;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.1;
  color: rgba(0, 0, 0, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sizeChartHeading {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 52px;
  line-height: 0.94;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sizeChartProduct {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1;
  font-weight: 500;
  color: #444;
}

.sizeChartSidebarCopy {
  margin: 6px 0 0;
  max-width: 220px;
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.5;
  color: #4b4b4b;
}

.sizeChartAddButton {
  appearance: none;
  border-radius: 10.8px;
  min-height: 48px;
  cursor: pointer;
}

.sizeChartAddButton {
  border: 1px solid #000;
  background: #000;
  color: #fff;
  padding: 0 16px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.04em;
  width: 100%;
  margin-top: 4px;
}

.sizeChartTableWrap {
  display: grid;
  gap: 10px;
}

.sizeChartTable {
  display: grid;
}

.sizeChartTableScroll {
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
}

.sizeChartHeaderRow,
.sizeChartRow {
  display: grid;
  grid-template-columns: 68px repeat(var(--size-chart-columns, 4), minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}

.sizeChartTable[data-column-count="5"] .sizeChartHeaderRow,
.sizeChartTable[data-column-count="5"] .sizeChartRow {
  grid-template-columns: 68px repeat(4, minmax(0, 1fr)) minmax(116px, 1.55fr);
}

.sizeChartHeaderRow {
  padding: 0 2px 9px;
}

.sizeChartRow {
  appearance: none;
  width: 100%;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.72);
  background: transparent;
  padding: 10px 2px;
  text-align: left;
  cursor: pointer;
}

.sizeChartRow:last-child {
  border-bottom: 1px solid rgba(0, 0, 0, 0.72);
}

.sizeChartRow[data-active="true"] {
  background: #fff;
}

.sizeChartHeaderSize,
.sizeChartHeaderCell {
  font-family: var(--font-heading);
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  color: rgba(0, 0, 0, 0.6);
}

.sizeChartHeaderCell {
  display: grid;
  gap: 5px;
}

.sizeChartHeaderCell small {
  font: inherit;
  font-size: 0.82em;
  color: rgba(0, 0, 0, 0.42);
}

.sizeChartRowSize {
  font-family: var(--font-heading);
  font-size: 20px;
  line-height: 1;
  font-weight: 600;
  color: #111;
}

.sizeChartCell {
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.25;
  color: #333;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.sizeChartFootnote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 11px;
  line-height: 1.3;
  color: #444;
}

.sizeChartToleranceNote {
  margin: 0;
  font-family: var(--font-body);
  font-size: 10px;
  line-height: 1.35;
  color: rgba(0, 0, 0, 0.58);
}

@media (min-width: 1500px) {
  .shell {
    width: min(1560px, calc(100vw - 40px));
  }
}

@media (min-width: 1025px) {
  .headerPrice,
  .headerCartButton {
    opacity: 0.9;
  }
}

@media (max-width: 1024px) {
  .shell {
    width: min(100vw, calc(100vw - 40px));
  }

  .shell.header {
    padding-inline: 20px;
  }

  .shell.header > .rule {
    margin-inline: -20px;
  }

  .headerTopRow {
    gap: 12px;
    min-height: 32px;
  }

  .headerBrandCluster {
    gap: 14px;
  }

  .wordmark {
    font-size: 24px;
  }

  .navItemGroup {
    gap: 5px;
  }

  .nav {
    font-size: 8.5px;
  }

  .headerActions {
    gap: 5px;
  }

  .headerProfileLink {
    width: 26px;
    height: 26px;
  }

  .headerProfileVisual {
    width: 17px;
    height: 15px;
  }

  .headerProfileHead {
    width: 6px;
    height: 6px;
    border-width: 1px;
  }

  .headerProfileBody {
    width: 12px;
    height: 7px;
    border-width: 1px;
  }

  .headerPriceText {
    font-size: 10px;
  }

  .headerCartVisual {
    width: 48px;
    height: 27px;
  }

  .categoriesTitle {
    font-size: 18px;
  }

  .categoriesList {
    max-width: 532px;
  }

  .categoryLink {
    font-size: 10px;
    padding-block: 8px;
  }

  .categoryCount {
    font-size: 9px;
  }

  .footerInner {
    padding: 44px 24px 14px;
  }

  .badgeInstagram {
    width: 92px;
  }

  .badgeFacebook {
    width: 124px;
  }

  .socialHandle {
    font-size: 11px;
    margin-top: 0;
  }

  .footerCopy {
    font-size: 10px;
    line-height: 1.35;
  }

  .socialHandle {
    margin-left: 12px;
  }

  .footerLegal {
    font-size: 9px;
  }

  .sortTrigger {
    font-size: 18px;
  }

  .sortDialog {
    width: min(520px, calc(100vw - 20px));
    top: 72px;
    padding: 16px;
  }

  .sizeChartDialog {
    width: min(620px, calc(100vw - 20px));
    top: 72px;
    padding: 18px 16px 16px;
  }

  .sortHeading {
    font-size: 34px;
  }

  .sortClear {
    font-size: 10px;
  }

  .sortSubheading {
    font-size: 14px;
  }

  .sortRangeLine {
    width: 130px;
  }

  .sortSliderWrap {
    width: 160px;
  }

  .sortRangeBound {
    width: 72px;
  }

  .sortRangeBound input {
    min-height: 22px;
    font-size: 9px;
  }

  .sortRangeLabels {
    max-width: 316px;
    font-size: 8px;
  }

  .sortBottom {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sortOrderGrid {
    grid-template-columns: repeat(2, minmax(120px, 1fr));
  }

  .sortOrderCheck {
    font-size: 11px;
  }

  .sortCategoryCols {
    grid-column: auto;
  }

  .sortGoButton {
    justify-self: stretch;
    min-height: 38px;
    font-size: 18px;
  }

  .sizeChartLayout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sizeChartHeading {
    font-size: 32.4px;
  }

  .sizeChartEyebrow {
    font-size: 10.8px;
  }

  .sizeChartProduct {
    font-size: 13.5px;
  }

  .sizeChartSidebarCopy {
    max-width: none;
    font-size: 9.9px;
  }

  .sizeChartHeaderRow,
  .sizeChartRow {
    grid-template-columns: 54px repeat(var(--size-chart-columns, 4), minmax(0, 1fr));
    gap: 6px;
  }

  .sizeChartTable[data-column-count="5"] {
    min-width: 660px;
  }

  .sizeChartTable[data-column-count="5"] .sizeChartHeaderRow,
  .sizeChartTable[data-column-count="5"] .sizeChartRow {
    grid-template-columns: 54px repeat(4, minmax(78px, 1fr)) minmax(138px, 1.55fr);
  }

  .sizeChartRowSize {
    font-size: 13.5px;
  }

  .sizeChartHeaderSize,
  .sizeChartHeaderCell,
  .sizeChartCell,
  .sizeChartFootnote {
    font-size: 9px;
  }

}

@media (max-width: 680px) {
  .shell {
    width: calc(100vw - 16px);
  }

  .shell.header {
    padding-inline: 8px;
    padding-top: 4px;
  }

  .headerTopRow {
    gap: 8px;
    min-height: 24px;
  }

  .nav {
    display: flex;
    flex: 0 1 auto;
    min-width: 0;
    font-size: 7px;
    white-space: nowrap;
    column-gap: 6px;
  }

  .headerBrandCluster {
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
  }

  .navItemGroup {
    gap: 7px;
  }

  .nav a {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding-inline: 4px;
    margin-inline: -4px;
  }

  .wordmark {
    font-size: 25px;
    line-height: 0.9;
  }

  .headerActions {
    gap: 3px;
  }

  .headerPrice {
    transform: translateY(1px);
  }

  .headerProfileLink {
    display: inline-flex;
    width: 28px;
    height: 24px;
    margin-left: 1px;
    order: 3;
    position: relative;
    z-index: 1;
    touch-action: manipulation;
  }

  .headerProfileVisual {
    width: 14px;
    height: 13px;
  }

  .headerProfileHead {
    width: 5px;
    height: 5px;
    border-width: 1px;
  }

  .headerProfileBody {
    width: 10px;
    height: 6px;
    border-width: 1px;
  }

  .headerPriceText {
    font-size: 9px;
    line-height: 1;
  }

  .headerCartVisual {
    width: 36px;
    height: 20px;
  }

  .mobileMenuButton {
    display: none;
    width: 22px;
    height: 22px;
    outline: 0;
    order: 4;
  }

  .mobileMenuVisual {
    width: 15px;
    gap: 3px;
  }

  .mobileMenuVisual span {
    height: 1px;
  }

  .mobileMenuButton[data-open="true"] .mobileMenuVisual span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .mobileMenuButton[data-open="true"] .mobileMenuVisual span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.4);
  }

  .mobileMenuButton[data-open="true"] .mobileMenuVisual span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .mobileMenuButton:focus,
  .mobileMenuButton:focus-visible {
    outline: 0;
  }

  .mobileNavPanel {
    display: none;
    grid-template-rows: 0fr;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    font-family: var(--font-heading);
    font-weight: 400;
    font-size: 8px;
    line-height: 1;
    will-change: grid-template-rows, opacity;
    transition:
      grid-template-rows 260ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 160ms ease,
      visibility 0ms linear 260ms;
  }

  .mobileNavInner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
    min-height: 0;
    overflow: hidden;
    padding: 0 1px;
    transform: translateY(-4px);
    transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .mobileNavPanel[data-open="true"] {
    grid-template-rows: 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      grid-template-rows 260ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 160ms ease;
  }

  .mobileNavPanel[data-open="true"] .mobileNavInner {
    padding-top: 12px;
    transform: translateY(0);
  }

  .mobileNavPanel a {
    color: #000;
  }

  .mobileNavPanel a[data-active="true"] {
    font-weight: 400;
  }

  .shell.header > .rule {
    margin: 1px -8px 0;
  }

  .categoriesSection {
    margin-top: 14px;
    padding: 0 8px 0;
  }

  .categoriesTitle {
    font-size: 15px;
  }

  .categoriesList {
    margin-top: 8px;
    max-width: 270px;
  }

  .categoryLink {
    font-size: 8px;
    padding: 6px 2px;
  }

  .categoryCount {
    display: none;
  }

  .footer {
    margin-top: 24px;
    box-shadow: 0 100vh 0 100vh rgba(0, 0, 0, 0.91);
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .footerInner {
    padding: 26px 14px 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand social"
      "legal legal";
    align-items: center;
    gap: 10px 8px;
  }

  .footerBrandBlock {
    max-width: 142px;
  }

  .footerLogo {
    font-size: 46px;
    line-height: 0.9;
  }

  .footerCopy {
    margin-top: 4px;
    font-size: 6px;
    line-height: 1.22;
    max-width: 132px;
  }

  .footerSocialBlock {
    align-self: center;
    justify-self: end;
    margin-top: 0;
    padding-right: 0;
  }

  .socialRow {
    gap: 0;
    justify-content: flex-end;
  }

  .badgeInstagram {
    width: 56px;
  }

  .badgeFacebook {
    width: 70px;
  }

  .facebookLink {
    margin-left: -7px;
    transform: translateY(-3px);
  }

  .socialHandle {
    margin-top: 1px;
    margin-left: 6px;
    font-size: 7px;
    text-align: left;
  }

  .footerLegal {
    font-size: 6px;
    line-height: 1.2;
    margin-top: 6px;
  }

  .cartPanel {
    top: 42px;
    right: 8px;
    width: calc(100vw - 16px);
  }

  .cartHeader {
    padding: 10px 10px 8px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .cartTitle {
    font-size: 14px;
  }

  .cartHeaderActions {
    margin-left: auto;
    gap: 6px;
  }

  .cartTotalText {
    font-size: 10px;
  }

  .cartBuyButton,
  .cartCloseButton {
    min-height: 24px;
    font-size: 8px;
    padding-inline: 8px;
  }

  .sortDialog {
    top: 58px;
    width: calc(100vw - 12px);
    padding: 12px;
    border-radius: 10px;
  }

  .sortTrigger {
    font-size: 14px;
  }

  .sizeChartDialog {
    top: 58px;
    width: calc(100vw - 12px);
    padding: 12px;
    border-radius: 9px;
  }

  .sortHeading {
    font-size: 24px;
  }

  .sortHeaderRow {
    padding-right: 24px;
  }

  .sortClear {
    font-size: 9px;
  }

  .sortSubheading {
    margin-top: 8px;
    font-size: 12px;
  }

  .sortRange {
    gap: 8px;
    flex-wrap: wrap;
  }

  .sortSliderWrap {
    width: 116px;
    height: 20px;
  }

  .sortRangeLine {
    width: 100%;
  }

  .sortRangeBound {
    width: 58px;
  }

  .sortRangeBound input {
    min-height: 18px;
    font-size: 7px;
    padding-inline: 4px;
  }

  .sortDot,
  .sortDotAlt {
    width: 6px;
    height: 6px;
  }

  .sizeChartHeading {
    font-size: 27px;
  }

  .sizeChartEyebrow {
    font-size: 8.1px;
  }

  .sizeChartProduct {
    font-size: 11.7px;
  }

  .sizeChartSidebarCopy {
    font-size: 8.1px;
  }

  .sizeChartAddButton {
    min-height: 40px;
  }

  .sizeChartAddButton {
    font-size: 12px;
  }

  .sizeChartHeaderRow,
  .sizeChartRow {
    grid-template-columns: 44px repeat(var(--size-chart-columns, 4), minmax(0, 1fr));
    gap: 4px;
  }

  .sizeChartTable[data-column-count="5"] .sizeChartHeaderRow,
  .sizeChartTable[data-column-count="5"] .sizeChartRow {
    grid-template-columns: 44px repeat(4, minmax(72px, 1fr)) minmax(128px, 1.55fr);
  }

  .sizeChartHeaderRow {
    padding-bottom: 7px;
  }

  .sizeChartRow {
    padding-block: 8px;
  }

  .sizeChartRowSize {
    font-size: 10.8px;
  }

  .sizeChartHeaderSize,
  .sizeChartHeaderCell,
  .sizeChartCell,
  .sizeChartFootnote {
    font-size: 7.2px;
  }

  .sortSizeGrid {
    max-width: none;
    gap: 6px 10px;
  }

  .sortCheck {
    font-size: 11px;
  }

  .sortOrderGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 8px;
  }

  .sortOrderCheck {
    font-size: 8px;
    white-space: nowrap;
  }

  .sortRangeLabels {
    margin-top: 2px;
    max-width: 246px;
    font-size: 7px;
  }

  .sortCategoryCols {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .sortCategoryList li {
    padding: 0;
  }

  .sortCategoryButton {
    padding: 4px 2px;
    font-size: 9px;
  }

  .sortGoButton {
    min-height: 34px;
    font-size: 16px;
    border-radius: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cartBackdrop,
  .cartPanel,
  .sortBackdrop,
  .sortDialog,
  .nav a,
  .mobileNavPanel,
  .mobileNavInner,
  .mobileMenuVisual span {
    transition: none;
  }
}
