.omega-shop__intro {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 64px var(--omega-gutter) 32px;
}

.omega-shop__intro h1 {
  font-size: 72px;
  font-weight: 300;
  letter-spacing: -0.015em;
  line-height: 1;
}

.omega-shop__filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-block: 1px solid var(--omega-hair);
  font-family: var(--omega-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.omega-shop__categories,
.omega-shop__states {
  display: flex;
  gap: 28px;
}

.omega-shop__states b {
  font-weight: inherit;
}

.omega-shop__categories a,
.omega-shop__states {
  color: var(--omega-sand);
}

.omega-shop__filter-active {
  padding-bottom: 4px;
  border-bottom: 1px solid var(--omega-ember);
  color: var(--omega-paper);
}

.omega-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 24px;
  padding: 0 var(--omega-gutter) 88px;
}

.omega-product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.omega-product-card__image {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.omega-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omega-product-card__badge {
  position: absolute;
  inset-block-start: 14px;
  inset-inline-start: 14px;
  padding: 5px 9px;
  background: rgba(20, 21, 15, 0.9);
  font-family: var(--omega-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.omega-product-card__badge--in-stock {
  background: var(--omega-stone);
  color: var(--omega-bark);
}

.omega-product-card__badge--reduced {
  background: var(--omega-ember-badge);
  color: var(--omega-paper);
}

.omega-product-card__badge--quote {
  background: var(--omega-bronze);
  color: var(--omega-bark);
}

.omega-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--omega-hair);
}

.omega-product-card__body h2 {
  font-size: 30px;
  line-height: 1.05;
}

/* Hover/focus: the hairline under the image comes up to an active edge and the
   title takes the emphasis tone. Both durations are tokens, so reduced-motion
   flattens them to 0ms. */
.omega-product-card__body,
.omega-product-card__body h2 {
  transition: border-color var(--omega-dur-fast) var(--omega-ease),
              color var(--omega-dur-fast) var(--omega-ease);
}

.omega-product-card:hover .omega-product-card__body,
.omega-product-card:focus-visible .omega-product-card__body {
  border-top-color: var(--omega-edge);
}

.omega-product-card:hover .omega-product-card__body h2,
.omega-product-card:focus-visible .omega-product-card__body h2 {
  color: var(--omega-paper);
}

/* The photograph answers the pointer too, but only barely, and never for a
   reader who has asked for less motion. */
@media (prefers-reduced-motion: no-preference) {
  .omega-product-card__image img {
    transition: transform var(--omega-dur) var(--omega-ease);
  }

  .omega-product-card:hover .omega-product-card__image img,
  .omega-product-card:focus-visible .omega-product-card__image img {
    transform: scale(1.03);
  }
}

.omega-product-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.omega-product-card__meta .omega-price {
  display: flex;
  flex: none;
  align-items: baseline;
  gap: 10px;
  color: var(--omega-bronze);
}

.omega-product-card__note {
  color: var(--omega-sand);
  font-size: 15px;
  text-align: end;
}

.omega-product-card__note--wide {
  text-align: start;
}

.omega-shop-joinery {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0 var(--omega-gutter);
  padding: 56px 0 77px;
  border-top: 1px solid var(--omega-hair);
}

.omega-shop-joinery > h2 {
  font-size: 44px;
  font-weight: 300;
  letter-spacing: -0.012em;
  line-height: 1.02;
}

.omega-shop-joinery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.omega-shop-joinery figure {
  position: relative;
  height: 260px;
  margin: 0;
  overflow: hidden;
}

.omega-shop-joinery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.omega-shop-joinery figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 16px;
  background: var(--omega-caption-bg);
  font-family: var(--omega-display);
  font-size: 20px;
}

[dir="rtl"] .omega-shop__intro h1,
[lang="ar"] .omega-shop__intro h1 {
  font-size: 76px;
}

[dir="rtl"] .omega-shop__filters,
[lang="ar"] .omega-shop__filters {
  font-family: var(--omega-sans);
  font-size: 15px;
  text-transform: none;
}

[dir="rtl"] .omega-product-card__badge,
[lang="ar"] .omega-product-card__badge {
  font-family: var(--omega-sans);
  font-size: 12px;
  text-transform: none;
}

[dir="rtl"] .omega-product-card__body h2,
[lang="ar"] .omega-product-card__body h2 {
  font-size: 34px;
  line-height: 1.35;
}

[dir="rtl"] .omega-product-card__note,
[lang="ar"] .omega-product-card__note {
  font-size: 14px;
}

[dir="rtl"] .omega-shop-joinery,
[lang="ar"] .omega-shop-joinery {
  display: none;
}

[dir="rtl"] .omega-shop-grid,
[lang="ar"] .omega-shop-grid {
  padding-block-end: 110px;
}

@media (max-width: 700px) {
  .omega-shop__intro {
    gap: 18px;
    padding: 28px 20px 16px;
  }

  .omega-shop__intro h1 {
    font-size: 44px;
  }

  .omega-shop__filters {
    display: block;
    overflow: hidden;
    padding: 12px 0;
    font-size: 10px;
    white-space: nowrap;
  }

  .omega-shop__categories {
    display: none;
  }

  .omega-shop__states {
    gap: 18px;
  }

  .omega-shop__states::before {
    padding-bottom: 3px;
    border-bottom: 1px solid var(--omega-ember);
    color: var(--omega-paper);
    content: "All " attr(data-count);
  }

  .omega-shop__states b {
    display: none;
  }

  .omega-shop-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 20px 38px;
  }

  .omega-product-card {
    display: none;
    gap: 12px;
  }

  .omega-product-card--fluted-column-console,
  .omega-product-card--kroma-rush-chair,
  .omega-product-card--plinth-slatted-daybed,
  .omega-product-card--linear-dressing-gallery {
    display: flex;
  }

  .omega-product-card__image {
    height: 300px;
  }

  .omega-product-card__badge {
    inset-block-start: 12px;
    inset-inline-start: 12px;
    padding: 4px 8px;
    font-size: 9px;
  }

  .omega-product-card__badge--reduced {
    font-size: 11px;
  }

  .omega-product-card__body {
    padding-top: 12px;
  }

  .omega-product-card__body h2 {
    font-size: 24px;
  }

  .omega-product-card__body,
  .omega-product-card__meta {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
  }

  .omega-product-card__meta .omega-price {
    overflow: hidden;
    max-width: 112px;
    font-size: 13px;
    white-space: nowrap;
  }

  .omega-product-card__note {
    display: none;
  }

  .omega-product-card--linear-dressing-gallery .omega-product-card__body,
  .omega-product-card--linear-dressing-gallery .omega-product-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .omega-product-card--linear-dressing-gallery .omega-product-card__note {
    display: block;
    text-align: start;
  }

  .omega-shop-joinery {
    display: none;
  }
}
.omega-shop__sorting {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: var(--omega-sand);
  font-family: var(--omega-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.omega-shop__sorting select {
  min-width: 210px;
  padding: 10px 34px 10px 12px;
  border: 1px solid var(--omega-hair);
  border-radius: 0;
  background: var(--omega-bark);
}

@media (min-width: 701px) and (max-width: 1050px) {
  .omega-shop__filters {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .omega-shop__categories,
  .omega-shop__states {
    flex-wrap: wrap;
  }

  .omega-shop__sorting {
    margin-top: 0;
  }
}

.omega-search-results .omega-product-search--results {
  width: min(560px, 100%);
  margin-top: 28px;
}

.omega-search-results__empty {
  padding: 0 var(--omega-gutter) 100px;
}

.omega-search-results__empty h2 {
  margin-bottom: 18px;
  font-size: 42px;
}

.omega-search-results__empty .omega-button {
  display: inline-block;
  margin-top: 28px;
}

@media (max-width: 700px) {
	.omega-search-results .omega-product-card {
		display: flex;
	}

  .omega-shop__sorting {
    align-items: stretch;
    flex-direction: column;
  }

  .omega-shop__sorting select {
    width: 100%;
  }
}
