.shop-page {
  --shop-ink: var(--ink, #101326);
  --shop-muted: var(--muted, #60656b);
  --shop-line: var(--line, #e3e4e6);
  --shop-paper: var(--paper, #fff);
  --shop-accent: var(--accent, #19392f);
  color: var(--shop-ink);
  background: var(--shop-paper);
  padding: 32px 23px 48px;
  min-width: 0;
}
.shop-page * {
  box-sizing: border-box;
}
.shop-page a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.2em;
}
.shop-page :focus-visible {
  outline: 2px solid var(--shop-accent);
  outline-offset: 3px;
}
.shop-page button,
.shop-page select,
.shop-page input {
  font: inherit;
}
.shop-page button,
.shop-page select {
  cursor: pointer;
}
.shop-page button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
.shop-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.shop-list-heading {
  text-align: center;
  margin: 8px 0 28px;
}
.shop-list-heading h1 {
  font-size: 22px;
  line-height: 1.45;
  margin: 0;
  font-weight: 700;
}
.shop-list-heading p {
  color: var(--shop-muted);
  font-size: 13px;
  margin: 8px 0 0;
}
.shop-category-grid {
  border: 1px solid var(--shop-line);
  border-top-color: var(--shop-muted);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 12px;
  margin: 0 0 24px;
}
.shop-category-grid a {
  border: 1px solid var(--shop-line);
  border-radius: 24px;
  background: #fafbfc;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 600;
}
.shop-category-grid a:hover {
  background: #edf2ef;
}
.shop-list-toolbar {
  border-top: 1px solid var(--shop-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 68px;
  margin-bottom: 20px;
  font-size: 13px;
}
.shop-list-toolbar > span {
  font-weight: 600;
  white-space: nowrap;
}
.shop-sort {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.shop-sort select {
  background: var(--shop-paper);
  border: 1px solid var(--shop-line);
  border-radius: 0;
  min-height: 44px;
  max-width: 145px;
  padding: 8px;
  color: var(--shop-ink);
}
.shop-sort button,
.shop-search button {
  min-height: 44px;
  border: 1px solid var(--shop-line);
  background: var(--shop-paper);
  color: var(--shop-ink);
  padding: 8px 12px;
}
.shop-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 16px;
  align-items: start;
}
.shop-products > * {
  min-width: 0;
}
.shop-products img {
  max-width: 100%;
}
.shop-pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 40px 0 8px;
  font-variant-numeric: tabular-nums;
}
.shop-pagination a,
.shop-pagination span,
.shop-pagination strong {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  display: grid;
  place-items: center;
  border: 1px solid var(--shop-line);
  font-size: 13px;
}
.shop-pagination strong {
  background: var(--shop-accent);
  color: #fff;
}
.shop-pagination span {
  color: var(--shop-muted);
  background: #f7f7f7;
}
.shop-search {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.shop-search input {
  min-width: 0;
  flex: 1;
  min-height: 44px;
  border: 1px solid var(--shop-line);
  border-radius: 0;
  padding: 10px;
  color: var(--shop-ink);
  background: var(--shop-paper);
  caret-color: var(--shop-accent);
}
.shop-empty {
  text-align: center;
  padding: 52px 8px;
}
.shop-empty h2 {
  font-size: 18px;
  line-height: 1.5;
}
.shop-empty p {
  color: var(--shop-muted);
  font-size: 14px;
  line-height: 1.7;
}
.shop-empty a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: underline;
  font-size: 14px;
  margin-top: 12px;
}
.shop-item {
  padding: 24px 15px 48px;
}
.shop-breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 12px;
  margin-bottom: 16px;
  color: var(--shop-muted);
}
.shop-breadcrumb a {
  display: flex;
  align-items: center;
  min-height: 32px;
}
.shop-item-card {
  border: 1px solid var(--shop-line);
  padding: 30px 20px 24px;
}
.shop-gallery {
  border: 1px solid #d9d9d9;
  background: var(--shop-paper);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.shop-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.shop-image-missing {
  font-size: 14px;
  color: var(--shop-muted);
  padding: 24px;
}
.shop-thumbnails {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: thin;
  scrollbar-color: #8d9290 #f5f5f5;
}
.shop-thumbnails button {
  flex: 0 0 64px;
  min-height: 64px;
  border: 1px solid var(--shop-line);
  padding: 0;
  background: var(--shop-paper);
}
.shop-thumbnails button[aria-pressed='true'] {
  border-color: var(--shop-accent);
}
.shop-thumbnails img {
  display: block;
  width: 62px;
  height: 62px;
  object-fit: cover;
}
.shop-item-summary {
  padding-top: 36px;
}
.shop-item-summary h1 {
  font-size: 21px;
  line-height: 1.45;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.shop-short-description {
  font-size: 13px;
  line-height: 1.7;
  color: var(--shop-muted);
  margin: 0 0 24px;
}
.shop-stock {
  display: inline-block;
  background: #f2f2f2;
  padding: 4px 8px;
  font-size: 12px;
  color: var(--shop-muted);
  margin-bottom: 12px;
}
.shop-facts {
  margin: 24px 0 20px;
  border-top: 1px solid var(--shop-line);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.shop-facts > div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border-bottom: 1px solid var(--shop-line);
  padding: 14px 0;
  line-height: 1.5;
}
.shop-facts dt {
  font-weight: 400;
}
.shop-facts dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.shop-price {
  font-weight: 600;
}
.shop-option-info h2 {
  font-size: 15px;
  margin: 0 0 12px;
  font-weight: 700;
}
.shop-option-info h3 {
  font-size: 13px;
  margin: 0 0 6px;
  font-weight: 400;
  color: var(--shop-muted);
}
.shop-option-info p {
  font-size: 13px;
  line-height: 1.6;
  min-height: 40px;
  padding: 10px 8px;
  border: 1px solid var(--shop-line);
  margin: 0 0 16px;
  overflow-wrap: anywhere;
}
.shop-purchase {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--shop-line);
  padding-top: 20px;
  margin-top: 16px;
}
.shop-purchase > a,
.shop-purchase > button {
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
  font-weight: 700;
  font-size: 14px;
}
.shop-purchase .shop-buy {
  background: #191919;
  color: #d1b774;
  border: 1px solid #191919;
}
.shop-purchase .shop-cart {
  background: #fff;
  border: 1px solid #c7c7c7;
  color: #272727;
}
.shop-purchase .shop-wish {
  font-weight: 400;
  font-size: 13px;
  text-decoration: underline;
}
.shop-purchase p {
  font-size: 12px;
  color: var(--shop-muted);
  line-height: 1.65;
  text-align: center;
  margin: 0;
}
.shop-item-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 36px;
  border: 1px solid var(--shop-line);
}
.shop-item-tabs button {
  border: 0;
  background: #fafafa;
  color: var(--shop-muted);
  font-size: 13px;
  min-height: 48px;
  padding: 8px 4px;
}
.shop-item-tabs button + button {
  border-left: 1px solid var(--shop-line);
}
.shop-item-tabs button[aria-selected='true'] {
  background: #19392f;
  color: #fff;
  font-weight: 700;
}
.shop-info-panel {
  padding: 24px 0;
  min-height: 240px;
  scroll-margin-top: 140px;
}
.shop-info-panel[hidden] {
  display: none;
}
.shop-info-panel h2 {
  font-size: 17px;
  font-weight: 700;
  margin: 8px 0 20px;
}
.shop-info-panel p {
  font-size: 14px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.shop-description {
  max-height: 560px;
  overflow: hidden;
}
.shop-description.is-expanded {
  max-height: none;
}
.shop-description img {
  display: block;
  width: 100%;
  height: auto;
}
.shop-expand {
  width: 100%;
  min-height: 48px;
  margin-top: 16px;
  border: 1px solid #c7c7c7;
  background: #fff;
  color: var(--shop-ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px;
}
.shop-expand span {
  margin-left: 8px;
}
.shop-panel-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  text-decoration: underline !important;
  margin-top: 16px;
}
.shop-page button:hover:not(:disabled),
.shop-sort button:hover,
.shop-pagination a:hover {
  filter: brightness(0.96);
}
@media (max-width: 360px) {
  .shop-page {
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-item {
    padding-left: 12px;
    padding-right: 12px;
  }
  .shop-item-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .shop-products {
    gap: 24px 12px;
  }
  .shop-sort select {
    max-width: 122px;
  }
  .shop-sort button {
    padding-left: 8px;
    padding-right: 8px;
  }
  .shop-facts > div {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

.shop-category-breadcrumb { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 22px; color:#535860; font-size:12px; line-height:1.6; }
.shop-category-breadcrumb a { display:flex; align-items:center; min-height:28px; text-decoration:underline; }
.shop-category-breadcrumb [aria-current] { color:var(--shop-ink); font-weight:600; }
.shop-category-caption { font-size:13px; font-weight:600; margin:0 0 10px; }
.shop-category-grid a[aria-current] { background:#1b2923; color:#fff; border-color:#1b2923; }

.shop-category-switcher { margin-bottom:24px; border-block:1px solid var(--shop-line); }
.shop-category-switcher summary { display:flex; justify-content:space-between; align-items:center; gap:12px; min-height:46px; padding:12px 4px; font-size:13px; font-weight:600; cursor:pointer; list-style:none; }
.shop-category-switcher summary::-webkit-details-marker { display:none; }
.shop-category-switcher[open] summary>span { transform:rotate(45deg); }
.shop-category-switcher .shop-category-grid { border:0; margin:0; padding:4px 0 16px; }
