.shop-page {
  background:
    radial-gradient(circle at 10% 9%, rgba(183, 76, 110, 0.1), transparent 30rem),
    radial-gradient(circle at 88% 18%, rgba(69, 105, 177, 0.12), transparent 36rem),
    linear-gradient(180deg, #e9e8ec 0%, #e2e5e8 48%, #ecebed 100%);
}

.shop-page #signal-canvas {
  opacity: 0.2;
}

.shop-page .site-header-nav a[href="./shop.html"]::after {
  transform: scaleX(1);
}

.shop-page .shop-main {
  width: calc(100% - 32px);
  max-width: 1540px;
}

.shop-page .shop-hero {
  min-height: 100svh;
  padding: 154px 0 112px;
}

.shop-page .shop-heading {
  width: min(100%, 1120px);
  margin: 0 auto 68px;
  text-align: center;
}

.shop-page .shop-heading .section-kicker {
  margin-bottom: 22px;
  color: #6b6470;
}

.shop-page .shop-heading h1 {
  max-width: 1080px;
  margin: 0 auto 24px;
  font-size: clamp(4rem, 7.3vw, 8.3rem);
  line-height: 0.88;
}

.shop-page .shop-heading p:last-child {
  max-width: 750px;
  margin: 0 auto;
  font-size: clamp(1rem, 1.3vw, 1.16rem);
}

.shop-page .shop-controls {
  grid-template-columns: minmax(300px, 0.74fr) minmax(0, 1.26fr);
  align-items: stretch;
  gap: 22px;
  width: 100%;
  margin: 0 auto 30px;
  padding: 22px;
  border: 1px solid rgba(40, 36, 47, 0.11);
  border-radius: 26px;
  background: rgba(246, 245, 248, 0.68);
  box-shadow: 0 24px 70px rgba(48, 42, 57, 0.1);
  backdrop-filter: blur(22px);
}

.shop-page .shop-search,
.shop-page .shop-filter-group {
  display: grid;
  grid-template-rows: 18px 58px;
  gap: 10px;
  min-width: 0;
}

.shop-page .shop-control-label {
  display: flex;
  align-items: center;
  color: #6f6874;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
}

.shop-page .shop-search input {
  min-height: 58px;
  padding: 0 20px;
  border: 1px solid rgba(40, 36, 47, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  color: #211e25;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.shop-page .shop-search input::placeholder {
  color: #8b8490;
}

.shop-page .shop-search input:focus {
  border-color: rgba(92, 82, 142, 0.44);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 0 0 4px rgba(106, 95, 162, 0.1);
}

.shop-page .shop-filter-buttons {
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  padding: 7px;
  overflow-x: auto;
  border: 1px solid rgba(40, 36, 47, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.56);
  scrollbar-width: none;
}

.shop-page .shop-filter-buttons::-webkit-scrollbar {
  display: none;
}

.shop-page .filter-chip {
  flex: 1 0 auto;
  min-height: 42px;
  padding-inline: 18px;
  border-color: transparent;
  color: #625c67;
  background: transparent;
}

.shop-page .filter-chip.active,
.shop-page .filter-chip:hover,
.shop-page .filter-chip:focus-visible {
  color: #ffffff;
  background: #29252e;
}

.shop-page .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
  width: 100%;
}

.shop-page .product-card {
  min-height: 690px;
  border: 1px solid rgba(43, 38, 50, 0.11);
  border-radius: 30px;
  background: rgba(247, 246, 249, 0.76);
  box-shadow: 0 24px 68px rgba(48, 42, 57, 0.11);
}

.shop-page .product-card:hover,
.shop-page .product-card:focus-within {
  border-color: rgba(89, 78, 126, 0.22);
  background: rgba(253, 252, 255, 0.94);
  box-shadow: 0 34px 88px rgba(48, 42, 57, 0.17);
}

.shop-page .product-card img {
  height: 500px;
  border-radius: 29px 29px 0 0;
  background: #d9dbe1;
  opacity: 1;
  filter: saturate(1.02) contrast(1.02);
}

.shop-page .product-card div {
  gap: 12px;
  padding: 30px 32px 34px;
}

.shop-page .product-card h2 {
  color: #211e25;
  font-size: clamp(1.55rem, 2.2vw, 2.5rem);
  letter-spacing: -0.045em;
}

.shop-page .product-card p:not(.product-type) {
  max-width: 560px;
  color: #6b6570;
  font-size: 0.98rem;
}

.shop-page .product-type {
  color: #61578f;
}

.shop-page .product-price {
  color: #8a385a;
  font-size: 0.95rem;
}

.shop-page .shop-empty {
  width: 100%;
  border-color: rgba(43, 38, 50, 0.12);
  border-radius: 20px;
  color: #6b6570;
  background: rgba(247, 246, 249, 0.76);
}

@media (max-width: 980px) {
  .shop-page .shop-hero {
    padding-top: 126px;
  }

  .shop-page .shop-heading {
    margin-bottom: 48px;
  }

  .shop-page .shop-heading h1 {
    font-size: clamp(3.7rem, 11vw, 7.2rem);
  }

  .shop-page .shop-controls,
  .shop-page .product-grid {
    grid-template-columns: 1fr;
  }

  .shop-page .product-card {
    min-height: 620px;
  }

  .shop-page .product-card img {
    height: min(58vw, 480px);
  }
}

@media (max-width: 620px) {
  .shop-page .shop-main {
    width: calc(100% - 20px);
  }

  .shop-page .shop-hero {
    padding: 112px 0 80px;
  }

  .shop-page .shop-heading {
    margin-bottom: 38px;
  }

  .shop-page .shop-heading h1 {
    font-size: clamp(3rem, 15vw, 5.3rem);
  }

  .shop-page .shop-controls {
    gap: 18px;
    padding: 14px;
    border-radius: 22px;
  }

  .shop-page .shop-filter-buttons {
    justify-content: flex-start;
  }

  .shop-page .filter-chip {
    flex-grow: 0;
  }

  .shop-page .product-grid {
    gap: 18px;
  }

  .shop-page .product-card {
    min-height: auto;
    border-radius: 24px;
  }

  .shop-page .product-card img {
    height: 72vw;
    min-height: 300px;
    border-radius: 23px 23px 0 0;
  }

  .shop-page .product-card div {
    padding: 24px 24px 28px;
  }
}
