.shop-page {
  background: #07090c;
}

.shop-page.modal-open {
  overflow: hidden;
}

.shop-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  align-items: flex-end;
  background: #030405;
}

.shop-hero-media,
.shop-hero-shade {
  position: absolute;
  inset: 0;
}

.shop-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 64% center;
  filter: saturate(0.72) contrast(1.08);
  transform: scale(1.015);
}

.shop-hero-shade {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(2, 3, 5, 0.32) 0%, rgba(2, 3, 5, 0.08) 24%, rgba(3, 4, 6, 0.38) 58%, #050608 100%),
    linear-gradient(90deg, rgba(2, 3, 5, 0.82) 0%, rgba(2, 3, 5, 0.28) 68%, rgba(2, 3, 5, 0.14) 100%);
}

.shop-hero-mark {
  position: absolute;
  right: -0.08em;
  bottom: -0.2em;
  z-index: 1;
  color: rgba(229, 212, 165, 0.055);
  font-family: var(--serif);
  font-size: clamp(18rem, 62vw, 42rem);
  letter-spacing: -0.16em;
  line-height: 0.72;
  pointer-events: none;
  user-select: none;
}

.shop-hero-content {
  position: relative;
  z-index: 3;
  padding-top: calc(var(--header-height) + 92px);
  padding-bottom: 80px;
}

.shop-hero .eyebrow {
  margin: 0 0 22px;
  color: var(--gold-bright);
}

.shop-hero h1 {
  max-width: 820px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 15vw, 6.4rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
  text-wrap: balance;
}

.shop-hero-lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(238, 233, 223, 0.78);
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.75;
}

.shop-hero .hero-actions {
  margin-top: 34px;
}

.shop-hero-foot {
  display: flex;
  max-width: 700px;
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  flex-wrap: wrap;
}

.shop-hero-foot span {
  position: relative;
  padding: 16px 26px 0 0;
  color: rgba(238, 233, 223, 0.58);
  font-size: 0.62rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.shop-hero-foot span:not(:last-child)::after {
  position: absolute;
  top: 19px;
  right: 12px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.shop-scroll-cue {
  display: none;
}

.shop-intro {
  position: relative;
  background:
    radial-gradient(circle at 92% 16%, rgba(198, 168, 95, 0.08), transparent 26%),
    #080a0e;
}

.shop-intro-grid {
  display: grid;
  gap: 42px;
}

.shop-intro-copy h2 {
  max-width: 920px;
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 7vw, 4.7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.shop-intro-copy .body-copy {
  max-width: 720px;
  margin-top: 34px;
}

.shop-principles {
  display: grid;
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line-light);
}

.shop-principles article {
  position: relative;
  min-height: 220px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line-light);
}

.shop-principles article > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.84rem;
}

.shop-principles h3 {
  margin: 38px 0 12px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.shop-principles p {
  max-width: 340px;
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.shop-catalog {
  position: relative;
  overflow: hidden;
  background: #e7e1d7;
  color: #17181a;
}

.shop-catalog .shell {
  position: relative;
  z-index: 2;
}

.shop-catalog .kicker {
  color: #816a35;
}

.shop-catalog .section-heading {
  border-top-color: rgba(20, 20, 20, 0.18);
}

.shop-catalog .section-heading > p {
  color: #68645d;
}

.catalog-orbit {
  position: absolute;
  top: -410px;
  right: -420px;
  width: 760px;
  height: 760px;
  border: 1px solid rgba(113, 88, 36, 0.1);
  border-radius: 50%;
}

.catalog-orbit::before,
.catalog-orbit::after {
  position: absolute;
  border: 1px solid rgba(113, 88, 36, 0.08);
  border-radius: 50%;
  content: "";
}

.catalog-orbit::before {
  inset: 90px;
}

.catalog-orbit::after {
  inset: 180px;
}

.catalog-toolbar {
  display: grid;
  gap: 20px;
  margin-bottom: 38px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.2);
}

.catalog-filters {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.catalog-filters button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(20, 20, 20, 0.22);
  border-radius: 999px;
  background: transparent;
  color: #4f4c46;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.catalog-filters button:hover,
.catalog-filters button.is-active {
  border-color: #17181a;
  background: #17181a;
  color: #f1ece3;
}

.catalog-count {
  margin: 0;
  color: #777168;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  gap: 42px 20px;
}

.product-card[hidden] {
  display: none;
}

.product-card {
  min-width: 0;
}

.product-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.12);
  background: #d8d2c8;
  cursor: zoom-in;
}

.product-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(4, 5, 6, 0.68));
  content: "";
  opacity: 0;
  transition: opacity 280ms ease;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), filter 350ms ease;
}

.product-media > span {
  position: absolute;
  right: 18px;
  bottom: 17px;
  left: 18px;
  z-index: 2;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 240ms ease, transform 300ms var(--ease);
}

.product-media:hover::after,
.product-media:focus-visible::after,
.product-media:hover > span,
.product-media:focus-visible > span {
  opacity: 1;
}

.product-media:hover > span,
.product-media:focus-visible > span {
  transform: translateY(0);
}

.product-media:hover img,
.product-media:focus-visible img {
  transform: scale(1.035);
}

.product-copy {
  padding-top: 20px;
}

.product-line {
  margin: 0 0 9px;
  color: #806832;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.product-copy > p:not(.product-line) {
  min-height: 50px;
  margin: 13px 0 0;
  color: #6e6960;
  font-size: 0.82rem;
  line-height: 1.65;
}

.product-bottom {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 20, 20, 0.17);
  align-items: center;
  justify-content: space-between;
}

.product-bottom strong {
  max-width: 62%;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.015em;
}

.product-bottom button {
  display: inline-flex;
  gap: 7px;
  padding: 5px 0;
  border: 0;
  border-bottom: 1px solid rgba(20, 20, 20, 0.42);
  background: transparent;
  color: #17181a;
  align-items: center;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.product-bottom button:hover {
  border-color: #816a35;
  color: #816a35;
}

.custom-project {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #050608;
}

.custom-project-art,
.custom-project-shade {
  position: absolute;
  inset: 0;
}

.custom-project-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.65) contrast(1.08);
}

.custom-project-shade {
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.28), rgba(5, 6, 8, 0.92)),
    linear-gradient(90deg, #050608 0%, rgba(5, 6, 8, 0.91) 43%, rgba(5, 6, 8, 0.2) 100%);
}

.custom-project-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 42px;
}

.custom-project-copy {
  max-width: 780px;
}

.custom-project-copy h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 5.7rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.custom-project-copy .body-copy {
  max-width: 620px;
  margin-top: 30px;
}

.custom-project-copy .button {
  margin-top: 26px;
}

.shop-process {
  background: #090b0f;
}

.process-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line-light);
}

.process-list li > span {
  color: var(--gold);
  font-family: var(--serif);
  font-size: 0.82rem;
}

.process-list h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
}

.process-list p {
  max-width: 580px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.product-dialog[hidden] {
  display: none;
}

.product-dialog {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  padding: 14px;
  place-items: center;
}

.product-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 2, 3, 0.88);
  backdrop-filter: blur(12px);
}

.product-dialog-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(1120px, 100%);
  max-height: calc(100svh - 28px);
  overflow: auto;
  border: 1px solid rgba(198, 168, 95, 0.28);
  background: #0a0c10;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.65);
  animation: dialog-in 380ms var(--ease) both;
}

@keyframes dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(5, 6, 8, 0.82);
  color: var(--paper);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.dialog-close:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.dialog-gallery {
  min-width: 0;
  padding: 12px;
  background: #dcd6cc;
}

.dialog-image-wrap {
  position: relative;
  display: grid;
  min-height: 430px;
  background: #ece7df;
  place-items: center;
}

.dialog-image-wrap > img {
  width: 100%;
  height: min(62svh, 680px);
  object-fit: contain;
}

.dialog-arrow {
  position: absolute;
  top: 50%;
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 50%;
  background: rgba(245, 241, 234, 0.88);
  color: #17181a;
  cursor: pointer;
  place-items: center;
  transform: translateY(-50%);
}

.dialog-arrow[hidden] {
  display: none;
}

.dialog-arrow-prev {
  left: 12px;
}

.dialog-arrow-next {
  right: 12px;
}

.dialog-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.dialog-thumbs:empty {
  display: none;
}

.dialog-thumbs button {
  width: 58px;
  height: 70px;
  overflow: hidden;
  padding: 0;
  border: 2px solid transparent;
  background: #c8c1b7;
  cursor: pointer;
}

.dialog-thumbs button.is-active {
  border-color: #7c642e;
}

.dialog-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dialog-copy {
  padding: 38px 28px 34px;
}

.dialog-copy .product-line {
  color: var(--gold);
}

.dialog-copy h2 {
  margin: 12px 0 0;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.dialog-price {
  margin: 22px 0 0;
  color: var(--gold-bright);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.dialog-description {
  margin: 24px 0 0;
  color: var(--paper-soft);
  font-size: 0.92rem;
  line-height: 1.75;
}

.dialog-details {
  display: grid;
  gap: 9px;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line-light);
  list-style: none;
}

.dialog-details:empty {
  display: none;
}

.dialog-details li {
  position: relative;
  padding-left: 17px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.dialog-details li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.dialog-shipping {
  margin: 24px 0 0;
  color: #6f706f;
  font-size: 0.7rem;
}

.dialog-copy .button {
  width: 100%;
  margin-top: 22px;
}

@media (min-width: 600px) {
  .shop-hero-content {
    padding-bottom: 104px;
  }

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

  .shop-principles article {
    padding: 34px 26px;
    border-right: 1px solid var(--line-light);
  }

  .shop-principles article:first-child {
    padding-left: 0;
  }

  .shop-principles article:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .catalog-toolbar {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 52px 24px;
  }

  .process-list li {
    grid-template-columns: 92px 1fr;
    padding: 34px 0;
  }
}

@media (min-width: 800px) {
  .shop-hero-shade {
    background:
      linear-gradient(180deg, rgba(2, 3, 5, 0.2) 0%, transparent 38%, rgba(3, 4, 6, 0.58) 100%),
      linear-gradient(90deg, rgba(2, 3, 5, 0.96) 0%, rgba(2, 3, 5, 0.75) 40%, rgba(2, 3, 5, 0.05) 78%);
  }

  .shop-hero-content {
    padding-bottom: 86px;
  }

  .shop-hero h1 {
    max-width: 760px;
    font-size: clamp(5.8rem, 10vw, 7.4rem);
  }

  .shop-scroll-cue {
    position: absolute;
    right: 34px;
    bottom: 38px;
    z-index: 4;
    display: flex;
    gap: 14px;
    color: rgba(255, 255, 255, 0.62);
    align-items: center;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transform: rotate(90deg) translateX(-100%);
    transform-origin: right bottom;
  }

  .shop-scroll-cue i {
    position: relative;
    display: block;
    width: 56px;
    height: 1px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
  }

  .shop-scroll-cue i::after {
    position: absolute;
    inset: 0;
    background: var(--gold);
    content: "";
    animation: shop-scroll-line 2.2s ease-in-out infinite;
  }

  @keyframes shop-scroll-line {
    0% { transform: translateX(-100%); }
    50%, 100% { transform: translateX(100%); }
  }

  .shop-intro-grid,
  .custom-project-grid {
    grid-template-columns: 150px 1fr;
    gap: 54px;
  }

  .custom-project-copy {
    padding-right: 8vw;
  }

  .process-list li {
    grid-template-columns: 110px 240px 1fr;
    gap: 28px;
    align-items: baseline;
  }

  .process-list h3,
  .process-list p {
    margin: 0;
  }

  .product-dialog-panel {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.78fr);
    overflow: hidden;
  }

  .dialog-gallery {
    min-height: min(820px, calc(100svh - 28px));
  }

  .dialog-image-wrap {
    height: calc(100% - 82px);
  }

  .dialog-image-wrap > img {
    height: 100%;
    max-height: calc(100svh - 122px);
  }

  .dialog-copy {
    overflow-y: auto;
    padding: 72px 42px 48px;
  }
}

@media (min-width: 1024px) {
  .shop-page .main-nav {
    gap: 22px;
  }

  .shop-hero {
    min-height: 780px;
  }

  .shop-hero-media img {
    object-position: center;
  }

  .shop-hero-content {
    display: flex;
    min-height: 100svh;
    padding-top: 150px;
    padding-bottom: 70px;
    flex-direction: column;
    justify-content: center;
  }

  .shop-hero h1 {
    width: min(64vw, 850px);
    font-size: clamp(6rem, 8vw, 8.2rem);
  }

  .shop-hero-lead {
    font-size: 1.08rem;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 66px 28px;
  }

  .custom-project {
    display: flex;
    min-height: 820px;
    align-items: center;
  }

  .custom-project-grid {
    width: var(--shell);
  }
}

@media (min-width: 1380px) {
  .shop-hero-media img {
    object-position: 54% center;
  }
}

@media (hover: none) {
  .product-media::after {
    opacity: 0.16;
  }

  .product-media > span {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-dialog-panel {
    animation: none;
  }
}
