.shop-page { background: var(--base); color: var(--ink); }
.shop-layout { padding-block: 36px 64px; }
.shop-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 25px; }
.shop-heading h1 { font-size: 26px; font-weight: 650; line-height: 1.4; letter-spacing: -.025em; }
.shop-heading p { font-size: 13px; color: #6b7079; }
.shop-heading strong { color: #303640; font-weight: 500; font-variant-numeric: tabular-nums; }
.shop-facets { background: white; padding-inline: 24px; border: 1px solid var(--line); border-radius: 12px; }
.shop-facet-row { display: flex; align-items: baseline; gap: 28px; min-height: 59px; }
.shop-facet-row + .shop-facet-row { border-top: 1px solid #eff0f2; }
.shop-facet-label { flex: 0 0 56px; color: #6d737d; font-size: 13px; white-space: nowrap; }
.shop-filter-options { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 30px; padding-block: 9px; }
.shop-filter-options button { position: relative; min-height: 40px; border: 0; padding: 7px 0; color: #353b44; background: transparent; font-size: 14px; transition: color .18s ease; }
.shop-filter-options button:hover, .shop-filter-options button[aria-pressed=true] { color: #1558db; }
.shop-facet-row:first-child button[aria-pressed=true] { font-weight: 650; }
.shop-facet-row:first-child button[aria-pressed=true]::after { content: ''; position: absolute; inset: auto 0 -9px; height: 2px; background: #1558db; }
.shop-subcategories { min-height: 55px; }
.shop-subcategories .shop-filter-options { gap: 4px 20px; }
.shop-subcategories button { min-height: 34px; padding-inline: 10px; border-radius: 3px; font-size: 13px; }
.shop-subcategories button[aria-pressed=true] { background: #edf3ff; }
.shop-results { margin-top: 24px; }
.shop-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.shop-product { min-width: 0; background: white; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; transition: border-color .2s ease, box-shadow .2s ease; }
.shop-product:hover { border-color: #c2d3ef; box-shadow: 0 8px 24px #25395910; }
.shop-product > a { display: block; height: 100%; }
.shop-product > a:focus-visible { outline-offset: -4px; }
.shop-product-media { position: relative; display: grid; place-items: center; aspect-ratio: 1.35; padding: 13px; background: #f7f9fc; }
.shop-product-media > img { width: 100%; height: 100%; min-height: 0; object-fit: contain; mix-blend-mode: multiply; }
.shop-product-copy { padding: 16px 20px 22px; border-top: 1px solid #f0f3f8; }
.shop-product-type { color: #6d737d; font-size: 12px; margin-bottom: 5px; }
.shop-product h2 { min-height: 44px; font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: 0; }
.shop-product h2 + .shop-product-summary { margin-top: 5px; }
.shop-product-summary { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #68717e; font-size: 13px; }
.shop-product-price { display: flex; align-items: baseline; gap: 5px; margin-top: 15px; color: #2059d7; }
.shop-product-price strong { font-size: 23px; font-weight: 600; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.shop-product-price span { color: #6d737d; font-size: 12px; }
.shop-empty { padding: 70px 20px; text-align: center; background: white; border-radius: 6px; color: #727780; }
.shop-software { position: relative; width: 86%; aspect-ratio: 1.4; background: #fff; border: 1px solid #dee5ef; border-radius: 6px; box-shadow: 0 12px 20px #19355c14; transform: perspective(700px) rotateY(-9deg) rotateX(5deg); }
.shop-software-top { display: flex; align-items: center; gap: 5px; padding: 7px 8px; border-bottom: 1px solid #edf0f5; font-size: 8px; font-weight: 600; }
.shop-software-logo { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: #1558db; color: white; font-size: 9px; }
.shop-software-dots { margin-left: auto; color: #929bad; letter-spacing: 1px; }
.shop-software-body { display: grid; grid-template-columns: 34px 1fr; min-height: 108px; }
.shop-software-sidebar { display: grid; align-content: start; gap: 9px; padding: 14px 8px; background: #f4f7fc; }
.shop-software-sidebar i { height: 4px; background: #d3ddeb; border-radius: 2px; }
.shop-software-sidebar i:first-child { background: #5888e8; }
.shop-software-dashboard { padding: 8px 10px; }
.shop-software-dashboard > span { display: block; font-size: 8px; font-weight: 600; margin-bottom: 7px; }
.shop-software-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.shop-software-metrics i { height: 14px; background: #eef3fc; border-top: 3px solid #cadbfa; border-radius: 2px; }
.shop-software-chart { display: flex; align-items: end; justify-content: space-between; gap: 7px; height: 44px; padding: 5px 8px 0; border-bottom: 1px solid #e8edf6; }
.shop-software-chart i { width: 9px; height: 45%; background: #90b4f5; border-radius: 2px 2px 0 0; }
.shop-software-chart i:nth-child(2n) { height: 70%; background: #437fe8; }
.shop-software-chart i:nth-child(3n) { height: 90%; }
.shop-software-lines { display: grid; gap: 4px; margin-top: 8px; }
.shop-software-lines i { height: 3px; background: #ebeff5; }
.shop-software-edition { position: absolute; right: -9px; bottom: -12px; padding: 4px 12px; border: 3px solid white; border-radius: 5px; color: white; background: #1558db; font-size: 10px; font-weight: 600; }
.shop-software-basic .shop-software-edition { background: #405c83; }
.shop-bundle { position: relative; width: 100%; height: 100%; }
.shop-bundle img { position: absolute; object-fit: contain; mix-blend-mode: multiply; }
.shop-bundle-pos { width: 82%; height: 88%; left: 2%; top: 0; }
.shop-bundle-printer { width: 42%; height: 48%; left: 0; bottom: 0; }
.shop-bundle-scanner { width: 42%; height: 55%; right: 0; bottom: 0; }
@media (max-width: 1000px) {
  .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
  .shop-layout { padding-block: 22px 32px; }
  .shop-heading { margin-bottom: 18px; }
  .shop-heading h1 { font-size: 21px; }
  .shop-facets { padding-inline: 14px; }
  .shop-facet-row { align-items: start; gap: 10px; }
  .shop-facet-label { flex-basis: 52px; padding-block: 20px; font-size: 12px; }
  .shop-filter-options { flex: 1; gap: 2px 18px; }
  .shop-filter-options button { font-size: 13px; }
  .shop-facet-row:first-child button[aria-pressed=true]::after { bottom: 1px; }
  .shop-subcategories .shop-filter-options { gap: 3px 5px; padding-block: 12px; }
  .shop-subcategories button { padding-inline: 8px; font-size: 12px; }
  .shop-results { margin-top: 14px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .shop-product-media { aspect-ratio: 1; padding: 5px; }
  .shop-product-copy { padding: 12px 12px 16px; }
  .shop-product h2 { min-height: 42px; font-size: 13px; line-height: 1.6; }
  .shop-product-summary { font-size: 12px; }
  .shop-product-price { margin-top: 10px; }
  .shop-product-price strong { font-size: 20px; }
  .shop-software { width: 89%; }
  .shop-software-top { font-size: 6px; padding: 5px; }
  .shop-software-body { grid-template-columns: 22px 1fr; min-height: 75px; }
  .shop-software-sidebar { padding: 10px 5px; gap: 7px; }
  .shop-software-dashboard { padding: 5px 7px; }
  .shop-software-chart { height: 30px; gap: 5px; padding-inline: 3px; }
  .shop-software-metrics i { height: 10px; }
  .shop-software-edition { right: -5px; padding: 2px 8px; font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-product, .shop-filter-options button { transition: none; }
}
