.shop { max-width: 1160px; margin: 0 auto; padding: 24px; color: inherit; letter-spacing: 0; font-family: var(--shop-font, system-ui, sans-serif); }
.shop * { box-sizing: border-box; }
.shop h1 { font-size: 32px; line-height: 1.2; margin: 24px 0; overflow-wrap: anywhere; }
.shop h2 { font-size: 19px; line-height: 1.4; margin: 12px 0 4px; overflow-wrap: anywhere; }
.shop a { color: inherit; }
.shop-nav { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid #d4d7d6; }
.shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 28px 0; }
.shop-product { min-width: 0; }
.shop figure { margin: 0; }
.shop-product img, .shop-image-empty { width: 100%; aspect-ratio: 1; object-fit: contain; background: #f1f3f2; }
.shop-product a { text-decoration: none; }
.shop-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin: 32px 0; align-items: start; }
.shop-detail > section { min-width: 0; }
.shop-main-image { width: 100%; max-height: 650px; object-fit: contain; }
.shop label { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.shop input, .shop select, .shop textarea { width: 100%; min-width: 0; padding: 12px; font: inherit; border: 1px solid #9ba6a0; border-radius: 4px; background: #fff; color: #171c19; }
.shop input[type=number] { max-width: 120px; }
.shop button { min-height: 44px; padding: 10px 18px; border: 1px solid transparent; border-radius: 4px; background: #1b4b3a; color: #fff; font: inherit; cursor: pointer; }
.shop button:disabled { cursor: not-allowed; opacity: .5; }
.shop :focus-visible { outline: 3px solid #216cca; outline-offset: 3px; }
.shop [hidden] { display: none !important; }
.shop-notice { padding: 12px 16px; border-left: 3px solid #bc7122; background: #fff6e9; color: #422d12; }
.shop-search { display: flex; align-items: end; gap: 12px; }
.shop-search label { flex: 1; margin: 0; }
.shop-cart-row { display: grid; grid-template-columns: minmax(0, 1fr) 100px 140px 44px; gap: 18px; align-items: center; padding: 16px 0; border-bottom: 1px solid #d4d7d6; }
.shop-cart-row > span { overflow-wrap: anywhere; }
.shop-cart-row button { padding: 8px; font-size: 24px; background: transparent; color: #a12828; border-color: #d4d7d6; }
.shop .shop-check { flex-direction: row; align-items: start; }
.shop-check input { width: 20px; height: 20px; flex: 0 0 20px; }
.shop details { margin: 20px 0; }
.shop [data-shop-message] { min-height: 24px; color: #a12828; overflow-wrap: anywhere; }
.shop [data-shop-documents] { display: flex; flex-wrap: wrap; gap: 16px; margin: 20px 0; }
.shop .shop-downloads { margin: 28px 0; padding: 24px 0; border-top: 1px solid currentColor; }
.shop .shop-downloads h2 { margin: 0 0 16px; font-size: 22px; }
.shop .shop-downloads [data-shop-documents] { margin: 0; gap: 12px; }
.shop .shop-downloads a { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; max-width: 100%; padding: 14px 18px; border: 1px solid currentColor; border-radius: 4px; color: inherit; font: inherit; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.shop .shop-downloads a:hover { text-decoration: underline; text-underline-offset: 4px; }
.shop .shop-downloads a span { min-width: 0; }
.shop .shop-downloads a svg { width: 20px; height: 20px; flex: 0 0 20px; }
.shop [aria-busy=true] { cursor: progress; }
.shop [data-shop-cart-status] { margin: 20px 0; }
.shop [data-shop-cart-status] a { display: inline-block; margin: 0 16px 16px 0; }
@media (max-width: 760px) {
  .shop .shop-downloads a { width: 100%; justify-content: flex-start; }
  .shop { padding: 16px; }
  .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .shop-detail { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .shop-cart-row { grid-template-columns: minmax(0, 1fr) 80px 44px; gap: 12px; }
  .shop-cart-row > span:first-child { grid-column: 1 / -1; }
  .shop-cart-row > span:nth-child(3) { grid-column: 1; grid-row: 2; }
  .shop-cart-row > label { grid-column: 2; grid-row: 2; }
}

