.shop-page {
  background: #f7f7f5;
}

.shop-page__skip {
  position: fixed;
  top: 8px;
  left: 16px;
  z-index: 120;
  padding: 16px 22px;
  color: #fff;
  background: #191c1e;
  transform: translateY(-160%);
}

.shop-page__skip:focus {
  transform: none;
}

.shop {
  padding-top: 130px;
}

.shop:focus {
  outline: none;
}

.shop__shell {
  max-width: 1720px;
  margin: 0 auto;
  width: calc(100% - 160px);
}

.shop__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: #555b5e;
}

.shop__breadcrumb a {
  text-decoration: none;
  text-underline-offset: 5px;
}

.shop__breadcrumb a:hover {
  text-decoration: underline;
}

.shop__intro {
  padding: 82px 0 70px;
}

.shop__eyebrow {
  margin: 0 0 35px;
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 650;
}

.shop__intro h1 {
  margin: 0;
  font-size: clamp(65px, 8.4vw, 156px);
  line-height: 0.99;
  font-weight: 450;
  letter-spacing: -0.065em;
}

.shop__intro h1 span {
  color: #74797b;
  padding-left: 8%;
}

.shop__intro-bottom {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 52px;
}

.shop__intro-bottom p {
  margin: 0;
  font-size: clamp(20px, 2vw, 30px);
  letter-spacing: -0.035em;
  line-height: 1.4;
}

.shop__intro-bottom .shop__description {
  max-width: 360px;
  font-size: 14px;
  line-height: 1.8;
  letter-spacing: 0;
  color: #555b5e;
}

.shop__catalog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border-top: 1px solid #bfc2c2;
}

.shop__catalog-head h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
}

.shop__catalog-head span {
  font-size: 10px;
  letter-spacing: 0.1em;
}

.shop__notice {
  max-width: 760px;
  margin: 0 0 36px;
  color: #555b5e;
  font-size: 13px;
  line-height: 1.8;
}

.shop__notice p {
  margin: 0 0 10px;
}

.shop__filter-label {
  margin: 0 0 18px;
  font-size: 12px;
  color: #555b5e;
  line-height: 1.7;
}

.shop__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.shop__filter {
  max-width: 100%;
  border: 1px solid #bfc2c2;
  background: transparent;
  color: #191c1e;
  padding: 14px 19px;
  font-size: 12px;
  text-align: left;
  line-height: 1.5;
}

.shop__filter:hover {
  background: #e6e6e2;
}

.shop__filter[aria-pressed=true] {
  color: #fff;
  background: #25282a;
  border-color: #25282a;
}

.shop__results {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin: 22px 0 32px;
  font-size: 12px;
  color: #555b5e;
}

.shop__results p {
  margin: 0;
}

.shop__reset {
  flex-shrink: 0;
  border: 0;
  border-bottom: 1px solid #8d9294;
  padding: 8px 0;
  background: transparent;
  color: #191c1e;
  font-size: 12px;
}

.shop__reset:hover:enabled {
  color: #555b5e;
}

.shop__reset:disabled {
  opacity: 0.5;
  cursor: default;
}

.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.shop-card__visual {
  position: relative;
  aspect-ratio: 1/1.05;
  overflow: hidden;
  background: #e6e6e2;
}

.shop-card:nth-child(2n) .shop-card__visual {
  background: #dadddc;
}

.shop-card__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 30px 20px;
  transition: transform 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-card:hover img, .shop-card:focus-within img {
  transform: scale(1.045);
}

.shop-card__badge, .shop-card__caption {
  position: absolute;
  left: 20px;
  font-size: 9px;
  letter-spacing: 0.12em;
  z-index: 1;
}

.shop-card__badge {
  top: 20px;
}

.shop-card__caption {
  bottom: 18px;
}

.shop-card__body {
  padding: 23px 0 0;
}

.shop-card__category {
  font-size: 10px;
  line-height: 1.6;
  color: #555b5e;
  margin: 0 0 12px;
}

.shop-card h3 {
  margin: 0;
  font-size: clamp(20px, 1.55vw, 28px);
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.shop-card__demo {
  margin: 12px 0 22px;
  font-size: 12px;
  color: #555b5e;
}

.shop-card__facts {
  margin: 0 0 22px;
  font-size: 12px;
}

.shop-card__facts div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid #c9cbca;
  padding: 12px 0;
}

.shop-card__facts dt {
  color: #555b5e;
}

.shop-card__facts dd {
  margin: 0;
  text-align: right;
}

.shop-card__action, .shop__empty-reset, .shop__closing a {
  display: inline-block;
  border: 0;
  padding: 19px 24px;
  background: #25282a;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
}

.shop-card__action {
  width: 100%;
}

.shop-card__action:hover:enabled, .shop__empty-reset:hover, .shop__closing a:hover {
  background: #464b4e;
}

.shop-card__action:disabled {
  opacity: 0.5;
  cursor: default;
}

.shop-page button, .shop__closing a, .shop__breadcrumb a {
  transition: transform 750ms ease, background-color 750ms ease, color 750ms ease;
}

.shop-page button:active:enabled, .shop__closing a:active, .shop__breadcrumb a:active {
  transform: scale(0.98);
}

.shop-page a:focus-visible, .shop-page button:focus-visible {
  outline: 2px solid #61696d;
  outline-offset: 5px;
}

.shop__empty {
  padding: 64px 24px;
  border: 1px solid #bfc2c2;
  text-align: center;
}

.shop__empty h3 {
  margin: 0 0 16px;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 450;
}

.shop__empty p {
  max-width: 480px;
  margin: 0 auto 24px;
  color: #555b5e;
  font-size: 13px;
  line-height: 1.8;
}

.shop__closing {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
  padding: 110px 0;
}

.shop__closing p {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.shop__closing p span {
  color: #74797b;
}

.shop__closing a {
  flex-shrink: 0;
}

.shop-page [data-shop-reveal].is-reveal-enabled {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 1500ms cubic-bezier(0.22, 1, 0.36, 1), transform 1500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.shop-page [data-shop-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.shop-page [hidden] {
  display: none;
}

@media (max-width: 1100px) {
  .shop__shell {
    width: calc(100% - 64px);
  }
  .shop__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 26px;
  }
}
@media (max-width: 680px) {
  .shop {
    padding-top: 105px;
  }
  .shop__intro {
    padding: 60px 0 45px;
  }
  .shop__eyebrow {
    font-size: 9px;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
  }
  .shop__intro h1 {
    font-size: clamp(35px, 10.5vw, 70px);
  }
  .shop__intro h1 span {
    padding-left: 0;
  }
  .shop__intro-bottom {
    flex-direction: column;
    gap: 23px;
    margin-top: 30px;
  }
  .shop__intro-bottom .shop__description {
    font-size: 13px;
  }
  .shop__catalog-head {
    gap: 10px;
  }
  .shop__catalog-head span {
    font-size: 8px;
  }
  .shop__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .shop__filter {
    padding: 12px 14px;
  }
  .shop__results {
    align-items: start;
    flex-direction: column;
    gap: 8px;
  }
  .shop__closing {
    flex-direction: column;
    align-items: start;
    padding: 70px 0;
  }
  .shop__closing a {
    width: 100%;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-page [data-shop-reveal].is-reveal-enabled {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .shop-page button, .shop__closing a, .shop__breadcrumb a, .shop-card__visual img {
    transition: none;
  }
  .shop-card:hover img, .shop-card:focus-within img {
    transform: none;
  }
}
.shop-card a.shop-card__action {
  text-align: center;
  margin-bottom: 10px;
  transition: transform 750ms ease, background-color 750ms ease;
}

.shop-card a.shop-card__action:hover {
  background: #464b4e;
}

.shop-card a.shop-card__action:active {
  transform: scale(0.98);
}

@media (prefers-reduced-motion: reduce) {
  .shop-card a.shop-card__action {
    transition: none;
  }
}
/* Server catalog filter. Demo controls keep their existing selectors. */
.shop__catalog-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 16px 24px;
  margin: 8px 0 0;
}

.shop__category {
  display: grid;
  gap: 10px;
  width: 320px;
  max-width: 100%;
  min-width: 0;
}

.shop__category-label {
  font-size: 12px;
  line-height: 1.5;
  color: #555b5e;
}

.shop__category-select {
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  height: 52px;
  padding: 0 40px 0 16px;
  border: 1px solid #bfc2c2;
  border-radius: 0;
  background-color: #fff;
  color: #25282a;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 750ms ease;
}

.shop__category-select:hover {
  border-color: #61696d;
}

.shop__filter-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 52px;
}

.shop__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  min-height: 52px;
  padding: 14px 24px;
  border: 1px solid #25282a;
  border-radius: 0;
  background: #25282a;
  color: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

.shop__apply:hover {
  background: #464b4e;
  border-color: #464b4e;
}

.shop__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 4px;
  color: #555b5e;
  font-size: 13px;
  line-height: 1.5;
  text-underline-offset: 5px;
  transition: color 750ms ease, transform 750ms ease;
}

.shop__clear:hover {
  color: #191c1e;
}

.shop__clear:active {
  transform: scale(0.98);
}

.shop__category-select:focus-visible {
  outline: 2px solid #61696d;
  outline-offset: 5px;
}

.shop__catalog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  max-width: none;
  margin: 22px 0 36px;
}

.shop__count {
  flex-shrink: 0;
  font-weight: 600;
  color: #303638;
}

.shop__catalog-empty {
  padding: 32px;
  border: 1px solid #d4d6d3;
  background: #f0f1ed;
}

.shop__catalog-empty h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 450;
  line-height: 1.3;
}

.shop__catalog-empty p {
  margin: 0;
  max-width: 600px;
  color: #555b5e;
  font-size: 13px;
  line-height: 1.8;
}

.shop__pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

@media (max-width: 680px) {
  .shop__catalog-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .shop__category {
    width: 100%;
  }
  .shop__filter-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
  }
  .shop__apply {
    width: 100%;
    min-width: 0;
  }
  .shop__catalog-meta {
    flex-direction: column;
    gap: 8px;
    margin: 24px 0 28px;
  }
  .shop__catalog-empty {
    padding: 24px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop__category-select, .shop__clear {
    transition: none;
  }
}
/* IDEAL public shop: rounded merchandise cards and pill-shaped actions. */
.shop-card > article {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e0e2df;
  border-radius: 22px;
  background: #fff;
  transition: box-shadow 350ms ease;
}

.shop-card:hover > article, .shop-card:focus-within > article {
  box-shadow: 0 16px 38px rgba(25, 28, 30, 0.08);
}

.shop-card__visual {
  border-radius: 21px 21px 0 0;
}

.shop-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 20px;
}

.shop-card__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  margin-top: auto;
  border-radius: 999px;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
}

.shop-card a.shop-card__action {
  margin-bottom: 0;
}

.shop-card__action + .shop-card__action {
  margin-top: 10px;
}

.shop__catalog-head > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #25282a;
  border-radius: 999px;
  color: #25282a;
  background: transparent;
  font-size: 13px;
  text-decoration: none;
  transition: color 350ms ease, background-color 350ms ease, transform 350ms ease;
}

.shop__catalog-head > a:hover {
  background: #25282a;
  color: #fff;
}

.shop__catalog-head > a:active {
  transform: scale(0.98);
}

.shop__apply, .shop__empty-reset, .shop__closing a, .shop__filter {
  border-radius: 999px;
}

.shop__category-select {
  border-radius: 14px;
}

.shop__pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid #c8cbca;
  border-radius: 999px;
  background: #fff;
  color: #25282a;
  font-size: 13px;
  text-decoration: none;
  transition: border-color 350ms ease, transform 350ms ease;
}

.shop__pagination a:hover {
  border-color: #25282a;
}

.shop__pagination a:active {
  transform: scale(0.98);
}

@media (max-width: 680px) {
  .shop-card__body {
    padding: 20px;
  }
  .shop__catalog-head > a {
    min-height: 44px;
    padding-inline: 18px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card > article, .shop__catalog-head > a, .shop__pagination a {
    transition: none;
  }
}