:root {
  color-scheme: light;
  --ink: #242522;
  --muted: #6e706a;
  --line: #e4e4de;
  --accent: #b74431;
  --paper: #fff;
  --soft: #f5f5f2;
  --sans:
    "Instrument Sans", -apple-system, BlinkMacSystemFont, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
body,
button,
input,
select {
  font-family: var(--sans);
}
button,
input,
select {
  font-size: inherit;
  color: inherit;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: 0;
}
button:disabled {
  cursor: default;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
[hidden],
.mobile-only {
  display: none !important;
}
img {
  max-width: 100%;
  display: block;
}
.frame {
  width: min(calc(100% - 96px), 1512px);
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -70px;
  padding: 7px 14px;
  background: #fff;
  z-index: 50;
}
.skip-link:focus {
  top: 8px;
}
.header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  line-height: 1;
}
.brand-mark {
  width: 33px;
  height: 33px;
  border-radius: 9px;
  background: #bd4937;
  display: grid;
  place-items: center;
  position: relative;
  transform: rotate(-4deg);
}
.brand-mark:before,
.brand-mark:after,
.brand-mark i {
  content: "";
  display: block;
  position: absolute;
}
.brand-mark:before {
  width: 23px;
  height: 17px;
  border: 1.8px solid #fff;
  border-radius: 5px;
  transform: rotate(4deg);
}
.brand-mark:after {
  width: 9px;
  height: 9px;
  border: 1.7px solid #fff;
  border-radius: 100%;
}
.brand-mark i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fff;
  right: 7px;
  top: 10px;
}
.brand-name {
  font-size: 1.27rem;
  font-weight: 800;
  letter-spacing: -0.065em;
}
.brand-type {
  font-weight: 600;
  font-size: 0.83rem;
  padding-left: 9px;
  border-left: 1px solid #bebfb8;
  letter-spacing: 0.025em;
}
.primary-nav {
  display: flex;
  height: 100%;
  align-items: stretch;
  gap: 33px;
}
.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  font-size: 0.91rem;
  color: #62625d;
  white-space: nowrap;
  padding-inline: 2px;
}
.primary-nav a:hover,
.primary-nav a[aria-current] {
  color: var(--ink);
}
.primary-nav a[aria-current] {
  font-weight: 720;
}
.primary-nav a[aria-current]:after {
  content: "";
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  width: 15px;
  height: 2px;
  background: var(--accent);
}
.account-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}
.works-link {
  color: #55564f;
  font-size: 0.88rem;
  padding: 6px 0;
}
.account-button {
  display: flex;
  align-items: center;
  gap: 9px;
  background: #272925;
  color: #fff;
  border-radius: 5px;
  font-size: 0.86rem;
  padding: 9px 15px;
  white-space: nowrap;
}
.account-button:hover,
.primary-link:hover {
  background: #43453d;
}
.user-icon {
  width: 14px;
  height: 14px;
  position: relative;
  display: inline-block;
}
.user-icon:before,
.user-icon:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1.4px solid currentColor;
}
.user-icon:before {
  width: 5.5px;
  height: 5.5px;
  top: 0;
  border-radius: 50%;
}
.user-icon:after {
  width: 12px;
  height: 6.5px;
  bottom: 0;
  border-radius: 7px 7px 2px 2px;
}
.shop-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 30px 0 21px;
}
.shop-intro h1 {
  font-weight: 690;
  letter-spacing: -0.065em;
  font-size: clamp(2.05rem, 3.1vw, 3rem);
  line-height: 1.2;
  margin: 0;
}
.shop-intro p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}
.search-box {
  height: 44px;
  width: min(37%, 440px);
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f7f7f4;
  border: 1px solid #e7e7e1;
  border-radius: 6px;
  padding: 0 14px;
}
.search-box:focus-within {
  border-color: #8d8e83;
}
.search-icon {
  display: block;
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.5px solid #686b63;
  border-radius: 50%;
  flex-shrink: 0;
}
.search-icon:after {
  content: "";
  position: absolute;
  width: 6px;
  height: 1.5px;
  background: #686b63;
  right: -4px;
  bottom: -2px;
  transform: rotate(45deg);
  transform-origin: center;
}
.search-box input {
  width: 100%;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: none;
  font-size: 0.9rem;
  height: 100%;
  padding: 0 5px;
}
.search-box input:focus-visible {
  outline: none;
}
.search-box input::-webkit-search-cancel-button {
  display: none;
}
.clear-search {
  font-size: 1.25rem;
  line-height: 1;
  padding: 5px;
}
.type-tabs {
  display: flex;
  align-items: flex-end;
  gap: 29px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.type-tabs::-webkit-scrollbar {
  display: none;
}
.type-tab {
  font-size: 0.95rem;
  color: #73736e;
  padding: 10px 2px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.type-tab:hover,
.type-tab.is-active {
  color: #262923;
}
.type-tab.is-active {
  border-bottom-color: #292b25;
  font-weight: 660;
}
.catalog-layout {
  display: grid;
  grid-template-columns: minmax(166px, 188px) minmax(0, 1fr);
  gap: clamp(24px, 2.8vw, 48px);
  padding: 26px 0 70px;
  align-items: start;
}
.sidebar {
  padding-right: 19px;
  border-right: 1px solid var(--line);
  min-height: 520px;
}
.sidebar-heading,
.results-bar {
  height: 29px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 0 0 17px;
}
.sidebar-heading h2 {
  font-size: 0.97rem;
  font-weight: 650;
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
}
.sidebar-heading #reset-filters {
  padding: 0;
  font-size: 0.81rem;
  color: var(--muted);
}
.sidebar-heading #reset-filters:hover,
.works-link:hover,
.footer a:hover,
.footer button:hover {
  color: var(--accent);
}
.sliders-icon {
  width: 16px;
  height: 16px;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.sliders-icon i {
  display: block;
  position: relative;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}
.sliders-icon i:before {
  content: "";
  width: 4px;
  height: 5px;
  position: absolute;
  top: -2px;
  left: 4px;
  background: #fff;
  border: 1.2px solid currentColor;
}
.sliders-icon i + i:before {
  left: 9px;
}
.filter-group {
  margin: 0;
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.filter-group:first-child {
  border-top: 1px solid var(--line);
}
.filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 640;
  cursor: pointer;
  list-style: none;
  padding: 15px 1px;
}
.filter-heading::-webkit-details-marker {
  display: none;
}
.filter-heading:after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid #73766c;
  border-width: 0 1.2px 1.2px 0;
  transform: rotate(45deg);
  margin-right: 4px;
}
.filter-group[open] > .filter-heading:after {
  transform: rotate(225deg);
}
.filter-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 16px;
}
.filter-option {
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  font-size: 0.87rem;
  color: #575a53;
  min-height: 22px;
}
.filter-option input {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  border: 1px solid #bcbfb6;
  border-radius: 3px;
  margin: 0;
  display: grid;
  place-content: center;
  cursor: pointer;
  background: var(--paper);
}
.filter-option input:checked {
  background: var(--ink);
  border-color: var(--ink);
}
.filter-option input:checked:after {
  content: "";
  width: 7px;
  height: 4px;
  border: solid white;
  border-width: 0 0 1.5px 1.5px;
  transform: rotate(-45deg);
  margin-top: -1px;
}
.filter-option:has(input:checked) {
  color: var(--ink);
  font-weight: 600;
}
.filter-number {
  margin-left: auto;
  color: #83867b;
  font-variant-numeric: tabular-nums;
  font-weight: 400;
  font-size: 0.77rem;
}
.results-bar {
  align-items: center;
}
.results-start,
.sort-label {
  display: flex;
  align-items: center;
  gap: 10px;
}
.results-start {
  font-size: 0.91rem;
  color: #61635b;
}
.sort-label {
  font-size: 0.84rem;
}
.sort-caption {
  color: var(--muted);
}
.select-shell {
  position: relative;
}
.select-shell:after {
  content: "";
  width: 6px;
  height: 6px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
  position: absolute;
  right: 3px;
  top: calc(50% - 5px);
  pointer-events: none;
}
.select-shell select {
  appearance: none;
  border: 0;
  background: transparent;
  font-weight: 550;
  cursor: pointer;
  padding: 4px 18px 4px 2px;
}
#active-filters:empty {
  display: none;
}
#active-filters:not(:empty) {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-bottom: 14px;
}
#active-filters button {
  background: #f2f2ed;
  color: #393d34;
  border-radius: 4px;
  padding: 3px 9px;
  font-size: 0.82rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px clamp(14px, 1.65vw, 26px);
  align-items: start;
}
.photo-card {
  min-width: 0;
}
.card-open,
.card-title {
  padding: 0;
  border: 0;
  display: block;
  text-align: left;
}
.card-open {
  width: 100%;
  position: relative;
}
.photo-wrap {
  width: 100%;
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 7/8;
  border-radius: 5px;
  background: #eaeae5;
}
.photo-wrap img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}
.card-open:hover img {
  transform: scale(1.025);
}
.card-open:focus-visible {
  outline-offset: 3px;
}
.card-ratio {
  position: absolute;
  bottom: 8px;
  right: 8px;
  border-radius: 3px;
  background: rgb(23 25 21 / 65%);
  color: #fff;
  font-size: 0.77rem;
  padding: 1px 6px;
}
.card-info {
  padding: 10px 0 0;
}
.card-title {
  font-size: 1.03rem;
  font-weight: 650;
  letter-spacing: 0.005em;
  line-height: 1.5;
}
.card-title:hover {
  color: var(--accent);
}
.card-tags {
  display: flex;
  align-items: center;
  gap: 4px 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}
.card-tag {
  font-size: 0.78rem;
  line-height: 1.55;
  color: #707268;
  padding: 0;
}
.card-tag:hover {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.empty-state,
.empty-results,
.no-results {
  grid-column: 1/-1;
  text-align: center;
  padding: 62px 20px;
  color: var(--muted);
}
.product-grid > div:only-child:not(.photo-card):not(:has(img)) button {
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 4px;
}
.footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 80px;
  color: var(--muted);
  font-size: 0.82rem;
}
.footer-inner div {
  display: flex;
  gap: 22px;
}
.footer button {
  color: inherit;
  font-size: inherit;
  padding: 0;
}
.secondary-view {
  padding-block: clamp(40px, 6vw, 90px);
  min-height: calc(100vh - 157px);
}
.home-layout,
.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 8%;
  align-items: center;
}
.home-copy,
.about-layout > div:first-child {
  padding-left: 3%;
}
.section-label {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  margin: 0 0 20px;
}
.home-copy h1,
.about-layout h1 {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
  line-height: 1.19;
  letter-spacing: -0.07em;
  margin: 0;
}
.home-copy > p:not(.section-label) {
  max-width: 25em;
  line-height: 1.85;
  margin: 24px 0;
  color: var(--muted);
}
.primary-link {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 4px;
  background: var(--ink);
  color: white;
  font-size: 0.93rem;
}
.home-feature {
  position: relative;
  min-height: 300px;
  height: min(60vh, 580px);
  overflow: hidden;
  border-radius: 5px;
  padding: 0;
  background: var(--soft);
}
.home-feature img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-feature span {
  position: absolute;
  bottom: 14px;
  left: 16px;
  color: white;
  background: rgba(0, 0, 0, 0.42);
  border-radius: 4px;
  padding: 3px 8px;
  font-size: 0.84rem;
}
.about-layout {
  align-items: start;
}
.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--ink);
  margin-top: 25px;
  font-size: 0.93rem;
}
.about-content {
  max-width: 590px;
}
.about-lead {
  font-size: 1.4rem;
  margin: 0 0 30px;
  line-height: 1.8;
}
.about-content section {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.about-content h2 {
  font-size: 1.05rem;
  margin: 0 0 5px;
}
.about-content section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}
@media (min-width: 1600px) {
  .photo-wrap {
    aspect-ratio: 5/6;
  }
}
@media (max-width: 1100px) {
  .frame {
    width: calc(100% - 60px);
  }
  .catalog-layout {
    grid-template-columns: 158px minmax(0, 1fr);
    gap: 24px;
  }
  .sidebar {
    padding-right: 14px;
  }
  .primary-nav {
    gap: 24px;
  }
  .account-tools {
    gap: 14px;
  }
  .brand-type {
    font-size: 0.76rem;
  }
  .product-grid {
    gap: 24px 15px;
  }
}
@media (max-width: 830px) {
  .frame {
    width: calc(100% - 40px);
  }
  .brand-type {
    display: none;
  }
  .works-link {
    display: none;
  }
  .account-tools {
    gap: 0;
  }
  .catalog-layout {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 18px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .shop-intro {
    padding: 28px 0 21px;
  }
  .search-box {
    width: 42%;
  }
}
@media (max-width: 640px) {
  .frame {
    width: calc(100% - 32px);
  }
  .header-inner {
    height: auto;
    min-height: 61px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 12px;
    padding-top: 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-mark {
    width: 29px;
    height: 29px;
    border-radius: 7px;
  }
  .brand-mark:before {
    width: 20px;
    height: 15px;
  }
  .brand-type {
    display: inline;
    font-size: 0.72rem;
    padding-left: 7px;
  }
  .account-button {
    padding: 6px 10px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .primary-nav {
    order: 3;
    grid-column: 1/-1;
    gap: 26px;
    justify-content: flex-start;
    margin-top: 6px;
  }
  .primary-nav a {
    min-height: 36px;
    font-size: 0.85rem;
    padding: 0 0 3px;
  }
  .primary-nav a[aria-current]:after {
    bottom: 1px;
  }
  .shop-intro {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 24px 0 12px;
  }
  .shop-intro h1 {
    font-size: 2.05rem;
  }
  .shop-intro p {
    font-size: 0.85rem;
    margin-top: 5px;
  }
  .search-box {
    width: 100%;
    height: 40px;
  }
  .type-tabs {
    gap: 19px;
  }
  .type-tab {
    font-size: 0.87rem;
    padding: 10px 0;
  }
  .catalog-layout {
    display: block;
    padding-top: 14px;
  }
  .sidebar {
    min-height: 0;
    display: none;
  }
  body.filtering .sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(84%, 320px);
    z-index: 30;
    background: white;
    padding: 24px;
    overflow: auto;
    overscroll-behavior: contain;
  }
  body.filtering {
    overflow: hidden;
  }
  body.filtering #filter-scrim {
    display: block !important;
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgb(20 22 18 / 0.35);
    width: 100%;
    height: 100%;
  }
  .mobile-only {
    display: inline-flex !important;
  }
  #close-filters {
    margin-left: 10px;
    font-size: 1.35rem;
    line-height: 1;
  }
  .sidebar-heading {
    align-items: center;
  }
  .sidebar-heading #reset-filters {
    margin-left: auto;
  }
  .apply-filters {
    position: sticky;
    bottom: 0;
    justify-content: center;
    width: 100%;
    padding: 10px 15px;
    margin-top: 20px;
    background: var(--ink);
    color: white;
    border-radius: 5px;
  }
  .filter-open {
    align-items: center;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 4px 9px;
    font-size: 0.81rem;
  }
  .filter-open .sliders-icon {
    width: 13px;
    height: 13px;
  }
  .results-start {
    font-size: 0.79rem;
    gap: 8px;
  }
  .results-bar {
    margin-bottom: 13px;
  }
  .sort-caption {
    display: none;
  }
  .sort-label {
    font-size: 0.81rem;
  }
  .product-grid {
    gap: 21px 12px;
  }
  .photo-wrap {
    border-radius: 4px;
    aspect-ratio: 4/5;
  }
  .card-info {
    padding-top: 7px;
  }
  .card-title {
    font-size: 0.91rem;
  }
  .card-tags {
    gap: 3px 7px;
    margin-top: 2px;
  }
  .card-tag {
    font-size: 0.76rem;
  }
  .footer-inner {
    min-height: 64px;
    font-size: 0.77rem;
  }
  .footer-inner div {
    gap: 12px;
  }
  .home-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .home-copy,
  .about-layout > div:first-child {
    padding-left: 0;
  }
  .section-label {
    margin-bottom: 11px;
  }
  .home-feature {
    height: 50vh;
  }
  .about-lead {
    font-size: 1.1rem;
  }
  .secondary-view {
    padding-block: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .photo-wrap img {
    transition: none;
  }
}

.result-total strong {
  font-weight: 650;
  color: var(--ink);
}
.chip-remove {
  margin-left: 6px;
  color: #696c63;
}
.filter-subgroup {
  padding-left: 3px;
}
.filter-subgroup > .filter-heading {
  padding-block: 4px;
  font-weight: 500;
}
.filter-subgroup > .filter-options {
  margin: 9px 0 0 10px;
  padding-left: 9px;
  border-left: 1px solid var(--line);
}
