:root {
  --z-shop-ink: #1b1a17;
  --z-shop-muted: #756f65;
  --z-shop-line: #d8d3c9;
  --z-shop-paper: #faf8f5;
  --z-shop-warm: #f0ece4;
}

body.z-shop-drawer-open {
  overflow: hidden;
}

.z-shop,
.z-shop * {
  box-sizing: border-box;
}

.z-shop {
  direction: rtl;
  color: var(--z-shop-ink);
  background: var(--z-shop-paper);
  padding-bottom: 80px;
}

.z-shop a {
  color: inherit;
  text-decoration: none;
}

.z-shop-intro {
  display: grid;
  grid-template-columns: minmax(270px, .7fr) minmax(0, 1.3fr);
  align-items: end;
  gap: clamp(32px, 5vw, 80px);
  padding: 38px clamp(24px, 5vw, 76px) 28px;
  border-bottom: 1px solid var(--z-shop-line);
}

.z-shop-intro__copy {
  max-width: 680px;
  margin-bottom: 0;
}

.z-shop-eyebrow {
  display: block;
  margin-bottom: 12px;
  color: var(--z-shop-muted);
  font-size: 10px;
  letter-spacing: .18em;
  direction: ltr;
  text-align: right;
}

.z-shop-intro h1,
.z-category-hero h1 {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.04em;
}

.z-shop-intro__copy p {
  margin: 11px 0 0;
  color: var(--z-shop-muted);
  font-size: 15px;
}

.z-shop-categories {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  gap: clamp(10px, 1.4vw, 20px);
  overflow-x: auto;
  scrollbar-width: thin;
  padding-bottom: 8px;
}

.z-shop-category {
  display: flex;
  min-width: 92px;
  flex-direction: column;
  gap: 8px;
  font-size: 11px;
}

.z-shop-category__image {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 2.25 / 1;
  background: var(--z-shop-warm);
}

.z-shop-category__image::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(27, 26, 23, .07);
}

.z-shop-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.72);
  transition: transform .45s ease, filter .45s ease;
}

.z-shop-category:hover img {
  transform: scale(1.025);
  filter: saturate(1);
}

.z-shop-category[aria-current="page"] .z-shop-category__image::after {
  border-color: var(--z-shop-ink);
}

.z-shop-category[aria-current="page"] > span:last-child {
  font-weight: 600;
}

.z-category-hero {
  position: relative;
  display: block;
  height: clamp(220px, 20vw, 250px);
  min-height: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--z-shop-line);
}

.z-category-hero__media {
  position: absolute;
  inset: 0;
  background: var(--z-shop-warm);
}

.z-category-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.82) contrast(.96);
}

.z-category-hero__copy {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 5vw, 76px);
  bottom: 24px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  min-width: 250px;
  padding: 15px 22px 17px;
  background: rgba(16, 15, 13, .58);
  color: #fff;
  backdrop-filter: blur(3px);
}

.z-category-hero__copy > a,
.z-category-hero__copy > span {
  display: inline-block;
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
}

.z-category-hero__copy > span {
  display: none;
}

.z-category-hero__copy h1 {
  margin-top: 11px;
}

.z-category-hero__copy p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
}

.z-category-nav {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 20px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--z-shop-line);
  white-space: nowrap;
  scrollbar-width: none;
}

.z-category-nav::-webkit-scrollbar {
  display: none;
}

.z-category-nav a {
  position: relative;
  color: var(--z-shop-muted);
  font-size: 12px;
}

.z-category-nav a[aria-current="page"] {
  color: var(--z-shop-ink);
}

.z-category-nav a[aria-current="page"]::after {
  position: absolute;
  right: 0;
  bottom: -21px;
  width: 100%;
  height: 2px;
  background: var(--z-shop-ink);
  content: "";
}

.z-shop-products {
  padding: 0 clamp(16px, 3vw, 46px);
}

.z-shop-toolbar {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--z-shop-line);
}

.z-shop-toolbar__primary,
.z-shop-toolbar__secondary,
.z-shop-sort,
.z-shop-view {
  display: flex;
  align-items: center;
}

.z-shop-toolbar__primary {
  gap: 22px;
}

.z-shop-toolbar__secondary {
  direction: ltr;
  gap: 30px;
}

.z-shop-filter-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  color: var(--z-shop-ink);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
}

.z-shop-filter-trigger__icon {
  display: inline-flex;
  width: 22px;
  height: 16px;
  justify-content: space-between;
  flex-direction: column;
}

.z-shop-filter-trigger__icon i {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.z-shop-filter-trigger__icon i:nth-child(2) {
  width: 68%;
}

.z-shop-filter-trigger__icon i:nth-child(3) {
  width: 35%;
}

.z-shop-filter-trigger__count {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--z-shop-ink);
  color: #fff;
  font-size: 10px;
}

.z-shop-toolbar__results {
  color: var(--z-shop-muted);
  font-size: 12px;
}

.z-shop-sort {
  direction: rtl;
  gap: 10px;
  color: var(--z-shop-muted);
  font-size: 13px;
}

.z-shop-sort select {
  min-width: 126px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--z-shop-ink);
  cursor: pointer;
  font: inherit;
}

.z-shop-view {
  direction: ltr;
  gap: 7px;
}

.z-shop-view button {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #aaa69e;
  cursor: pointer;
}

.z-shop-view button.is-active {
  color: var(--z-shop-ink);
}

.z-shop-view button[data-grid-columns="1"] {
  display: none;
}

.z-grid-icon {
  display: grid;
  width: 19px;
  height: 19px;
  gap: 2px;
}

.z-grid-icon::before,
.z-grid-icon::after {
  background: currentColor;
  content: "";
}

.z-grid-icon--1 {
  grid-template-columns: 1fr;
}

.z-grid-icon--1::before {
  grid-row: 1 / 3;
}

.z-grid-icon--1::after {
  display: none;
}

.z-grid-icon--2 {
  grid-template-columns: repeat(2, 1fr);
}

.z-grid-icon--2::before,
.z-grid-icon--2::after {
  grid-row: 1 / 3;
}

.z-grid-icon--3,
.z-grid-icon--4 {
  position: relative;
  grid-template-columns: repeat(3, 1fr);
  background: repeating-linear-gradient(90deg, currentColor 0 4px, transparent 4px 7px);
}

.z-grid-icon--4 {
  background: repeating-linear-gradient(90deg, currentColor 0 3px, transparent 3px 5px);
}

.z-grid-icon--3::before,
.z-grid-icon--3::after,
.z-grid-icon--4::before,
.z-grid-icon--4::after {
  display: none;
}

.z-shop-grid {
  display: grid;
  padding-top: 28px;
  gap: 52px 18px;
}

.z-shop-grid[data-columns="2"] {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.z-shop-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.z-shop-grid[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.z-shop-card {
  min-width: 0;
}

.z-shop-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1.08;
  background: var(--z-shop-warm);
}

.z-shop-card__media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(27, 26, 23, .06);
  content: "";
  pointer-events: none;
}

.z-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(16px, 2.4vw, 38px);
  mix-blend-mode: multiply;
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}

.z-shop-card:hover .z-shop-card__media img {
  transform: scale(1.025);
}

.z-shop-card__badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  padding: 5px 8px;
  background: var(--z-shop-ink);
  color: #fff;
  font-size: 9px;
}

.z-shop-card__badge--light {
  background: rgba(255, 255, 255, .86);
  color: var(--z-shop-ink);
  backdrop-filter: blur(5px);
}

.z-shop-card__body {
  padding: 15px 2px 0;
}

.z-shop-card__title {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.z-shop-card__sizes {
  display: flex;
  min-height: 23px;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  color: var(--z-shop-muted);
  font-size: 10px;
}

.z-shop-card__sizes span:not(:last-child)::after {
  margin-right: 8px;
  color: var(--z-shop-line);
  content: "·";
}

.z-shop-card__footer {
  display: flex;
  min-height: 37px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.z-shop-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  font-size: 11px;
}

.z-shop-card__price strong {
  font-size: 12px;
  font-weight: 500;
}

.z-shop-card__price del {
  color: #aaa59c;
  font-size: 10px;
}

.z-shop-card__action {
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid var(--z-shop-ink);
  background: transparent;
  color: var(--z-shop-ink);
  cursor: pointer;
  font: inherit;
  font-size: 10px;
  white-space: nowrap;
}

.z-shop-card__action--disabled {
  border-color: var(--z-shop-line);
  background: transparent;
  color: var(--z-shop-muted);
  cursor: default;
}

.z-shop-drawer {
  position: fixed;
  z-index: 10050;
  inset: 0;
  visibility: hidden;
  pointer-events: none;
}

.z-shop-drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.z-shop-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(17, 16, 14, .48);
  opacity: 0;
  cursor: default;
  transition: opacity .28s ease;
}

.z-shop-drawer.is-open .z-shop-drawer__backdrop {
  opacity: 1;
}

.z-shop-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(480px, 100%);
  height: 100%;
  background: #fff;
  transform: translateX(102%);
  transition: transform .36s cubic-bezier(.22, .8, .22, 1);
}

.z-shop-drawer.is-open .z-shop-drawer__panel {
  transform: translateX(0);
}

.z-shop-drawer form {
  display: grid;
  height: 100%;
  grid-template-rows: auto auto 1fr auto;
}

.z-shop-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 32px 20px;
}

.z-shop-drawer__header > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.z-shop-drawer__header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
}

.z-shop-drawer__header span {
  font-size: 13px;
}

.z-shop-drawer__header button {
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--z-shop-muted);
  cursor: pointer;
  font: 300 28px/1 Arial, sans-serif;
}

.z-shop-drawer__utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 32px 24px;
  border-bottom: 1px solid var(--z-shop-line);
  font-size: 12px;
}

.z-shop-drawer__utility a {
  font-weight: 600;
}

.z-shop-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--z-shop-muted);
  cursor: pointer;
}

.z-shop-switch input {
  position: absolute;
  opacity: 0;
}

.z-shop-switch span {
  position: relative;
  width: 37px;
  height: 20px;
  border-radius: 20px;
  background: #c9c7c2;
  transition: background .2s ease;
}

.z-shop-switch span::after {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  content: "";
  transition: transform .2s ease;
}

.z-shop-switch input:checked + span {
  background: var(--z-shop-ink);
}

.z-shop-switch input:checked + span::after {
  transform: translateX(-17px);
}

.z-shop-drawer__content {
  overflow-y: auto;
  padding: 0 32px 30px;
}

.z-shop-filter-group {
  border-bottom: 1px solid var(--z-shop-line);
}

.z-shop-filter-group summary {
  position: relative;
  padding: 26px 0;
  cursor: pointer;
  font-size: 14px;
  list-style: none;
}

.z-shop-filter-group summary::-webkit-details-marker {
  display: none;
}

.z-shop-filter-group summary::after {
  position: absolute;
  top: 50%;
  left: 2px;
  width: 8px;
  height: 8px;
  border-bottom: 1px solid currentColor;
  border-left: 1px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(-45deg);
  transition: transform .2s ease;
}

.z-shop-filter-group[open] summary::after {
  transform: translateY(-35%) rotate(135deg);
}

.z-shop-filter-group__body {
  padding: 0 0 25px;
}

.z-shop-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 10px;
}

.z-shop-check-list label,
.z-shop-size-list label {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--z-shop-muted);
  cursor: pointer;
  font-size: 12px;
}

.z-shop-check-list label {
  position: relative;
  display: block;
}

.z-shop-check-list label input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.z-shop-check-list label > span {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid var(--z-shop-line);
  background: #fff;
  color: var(--z-shop-ink);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.z-shop-check-list label:hover > span {
  border-color: #8f8a81;
}

.z-shop-check-list label input:checked + span {
  border-color: var(--z-shop-ink);
  background: var(--z-shop-ink);
  color: #fff;
}

.z-shop-check-list label small {
  color: inherit;
  font-size: 9px;
  opacity: .64;
}

.z-shop-check-list input,
.z-shop-size-list input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--z-shop-ink);
}

.z-shop-size-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.z-shop-size-list label {
  position: relative;
}

.z-shop-size-list input {
  position: absolute;
  opacity: 0;
}

.z-shop-size-list span {
  display: grid;
  min-width: 54px;
  height: 36px;
  place-items: center;
  padding: 0 10px;
  border: 1px solid var(--z-shop-line);
  color: var(--z-shop-ink);
}

.z-shop-size-list input:checked + span {
  border-color: var(--z-shop-ink);
  background: var(--z-shop-ink);
  color: #fff;
}

.z-shop-price-range {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.z-shop-price-range label {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 7px 10px;
  min-height: 78px;
  padding: 12px 14px;
  border: 1px solid var(--z-shop-line);
  background: #fff;
  color: var(--z-shop-muted);
  font-size: 10px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.z-shop-price-range label:focus-within {
  border-color: var(--z-shop-ink);
  box-shadow: inset 0 0 0 1px var(--z-shop-ink);
}

.z-shop-price-range label > span {
  grid-column: 1 / -1;
}

.z-shop-price-range input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--z-shop-ink);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .02em;
  text-align: right;
}

.z-shop-price-range small {
  padding-bottom: 1px;
  white-space: nowrap;
}

.z-shop-drawer__footer {
  padding: 18px 32px;
  border-top: 1px solid var(--z-shop-line);
  background: #fff;
}

.z-shop-drawer__footer button {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--z-shop-ink);
  background: var(--z-shop-ink);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
}

.z-shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 70px;
}

.z-shop-pagination a,
.z-shop-pagination span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid transparent;
  font-size: 12px;
}

.z-shop-pagination span {
  border-color: var(--z-shop-ink);
}

.z-shop-empty {
  display: grid;
  min-height: 380px;
  place-items: center;
  align-content: center;
  gap: 12px;
  text-align: center;
}

.z-shop-empty span {
  font-size: 20px;
}

.z-shop-empty p {
  margin: 0;
  color: var(--z-shop-muted);
  font-size: 13px;
}

.z-shop-empty a {
  margin-top: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-size: 12px;
}

@media (max-width: 900px) {
  .z-shop-intro {
    display: block;
    padding-top: 32px;
  }

  .z-shop-intro__copy {
    margin-bottom: 24px;
  }

  .z-category-hero {
    height: 220px;
  }

  .z-category-hero__copy {
    padding: 30px 24px 36px;
  }

  .z-shop-toolbar {
    min-height: 76px;
  }

  .z-shop-grid[data-columns="4"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .z-shop {
    padding-bottom: 50px;
  }

.z-shop-intro {
    padding: 27px 18px 20px;
  }

  .z-shop-intro__copy {
    margin-bottom: 22px;
  }

  .z-shop-intro__copy p {
    max-width: 280px;
    font-size: 12px;
  }

.z-shop-categories {
    grid-template-columns: repeat(7, 104px);
    margin-left: -18px;
    margin-right: -18px;
    padding: 0 18px 8px;
  }

  .z-category-hero {
    height: 165px;
  }

  .z-category-hero__media {
    aspect-ratio: auto;
  }

  .z-category-hero__copy {
    right: 14px;
    bottom: 14px;
    min-width: 190px;
    padding: 10px 14px 12px;
  }

  .z-category-hero__copy h1 {
    margin-top: 6px;
    font-size: 25px;
  }

  .z-category-hero__copy p {
    margin-top: 5px;
    font-size: 10px;
  }

  .z-category-nav {
    padding-right: 18px;
    padding-left: 18px;
  }

  .z-shop-products {
    padding: 0 12px;
  }

  .z-shop-toolbar {
    min-height: 72px;
  }

  .z-shop-toolbar__results,
  .z-shop-sort > span {
    display: none;
  }

  .z-shop-toolbar__primary,
  .z-shop-toolbar__secondary {
    gap: 12px;
  }

  .z-shop-filter-trigger {
    font-size: 12px;
  }

  .z-shop-sort select {
    min-width: 108px;
    max-width: 118px;
    font-size: 11px;
  }

  .z-shop-view button[data-grid-columns="1"] {
    display: grid;
  }

  .z-shop-view button[data-grid-columns="3"],
  .z-shop-view button[data-grid-columns="4"] {
    display: none;
  }

  .z-shop-grid,
  .z-shop-grid[data-columns="3"],
  .z-shop-grid[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 10px;
    padding-top: 18px;
  }

  .z-shop-grid[data-columns="1"] {
    grid-template-columns: 1fr;
  }

  .z-shop-grid[data-columns="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .z-shop-card__media img {
    padding: 13px;
  }

  .z-shop-card__title {
    font-size: 12px;
  }

  .z-shop-card__sizes {
    gap: 4px;
    font-size: 9px;
  }

  .z-shop-card__sizes span:not(:last-child)::after {
    margin-right: 4px;
  }

  .z-shop-card__footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .z-shop-card__action {
    font-size: 9px;
  }

  .z-shop-drawer__panel {
    width: 100%;
  }

  .z-shop-drawer__header,
  .z-shop-drawer__utility,
  .z-shop-drawer__content,
  .z-shop-drawer__footer {
    padding-right: 22px;
    padding-left: 22px;
  }
}
