/* Inventory-only composition. Shared header, ribbon, cart and footer stay in site.css. */
.shop-page {
  --shop-line: #2b333a;
  --shop-muted: #97a2ab;
  --shop-secondary: #b4bbc2;
  --shop-blue: #7ba7ff;
  --shop-panel: linear-gradient(145deg,rgba(70,106,154,.16),rgba(19,32,47,.07) 48%,rgba(5,8,11,.98) 82%),#080b0e;
  --shop-mono: ui-monospace,SFMono-Regular,Consolas,monospace;
}
.shop-page [hidden] { display: none !important; }
.shop-page button { font: inherit; cursor: pointer; }
.shop-page a:focus-visible,.shop-page button:focus-visible { outline: 2px solid var(--shop-blue); outline-offset: 4px; }
.shop-page h1,.shop-page h2,.shop-page h3 { text-transform: uppercase; color: #f2f4f3; }
.shop-page .shop-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: .15em; color: var(--shop-secondary); margin: 0 0 19px; }
.shop-page .shop-eyebrow:before { content: '///'; margin-right: 10px; color: var(--shop-muted); }
.shop-page .shop-intro { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; padding-block: 52px 44px; }
.shop-page .shop-intro h1 { margin: 0; max-width: none; font-size: clamp(44px,4.6vw,64px); font-weight: 700; letter-spacing: -.045em; line-height: 1.02; }
.shop-page .shop-lead { margin: 0; max-width: 450px; color: var(--shop-secondary); font-size: 15px; line-height: 1.8; }
.shop-page .shop-categories { padding-bottom: 47px; }
.shop-page .shop-label-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 16px; }
.shop-page .shop-label-row h2 { font-size: 14px; font-weight: 600; letter-spacing: .06em; margin: 0; }
.shop-page .shop-text-control { background: transparent; border: 0; padding: 8px 0 8px 12px; min-height: 44px; color: #e8ecea; font-size: 12px; }
.shop-page .shop-text-control span { margin-left: 15px; }
.shop-page .shop-text-control[aria-pressed=true] { text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--shop-blue); }
.shop-page .shop-category-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.shop-page .shop-category { position: relative; padding: 22px 23px 19px; min-height: 189px; text-align: left; border: 1px solid var(--shop-line); border-radius: 2px; background: var(--shop-panel); color: #f2f4f3; transition: border-color 180ms,background 180ms; }
.shop-page .shop-category:hover { border-color: #47515a; }
.shop-page .shop-category[aria-pressed=true] { border-color: var(--shop-blue); box-shadow: inset 0 2px 0 var(--shop-blue); }
.shop-page .shop-category-kicker { display: block; margin-bottom: 30px; color: var(--shop-muted); font-size: 10px; letter-spacing: .13em; }
.shop-page .shop-category img { position: absolute; right: 22px; top: 19px; filter: invert(1); opacity: .85; }
.shop-page .shop-category strong { display: block; font-size: 19px; line-height: 1.2; font-weight: 600; text-transform: uppercase; letter-spacing: .015em; }
.shop-page .shop-category-description { display: block; margin-top: 9px; min-height: 36px; color: var(--shop-secondary); font-size: 12px; line-height: 1.5; }
.shop-page .shop-category-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; color: var(--shop-secondary); font-size: 11px; }
.shop-page .shop-category-bottom>span:last-child { font-size: 18px; }
.shop-page .shop-catalog { padding-block: 38px 67px; border-top: 1px solid var(--shop-line); scroll-margin-top: 110px; }
.shop-page .shop-catalog-heading { display: flex; justify-content: space-between; align-items: center; gap: 35px; margin-bottom: 31px; }
.shop-page .shop-catalog-heading .shop-eyebrow { margin-bottom: 9px; font-size: 10px; }
.shop-page .shop-catalog-heading h2 { font-size: 32px; font-weight: 600; letter-spacing: .005em; line-height: 1.2; margin: 0; }
.shop-page .shop-catalog-heading>p { color: var(--shop-secondary); font-size: 13px; line-height: 1.9; text-align: right; margin: 0; }
.shop-page .shop-catalog-heading>p span { color: var(--shop-muted); font-size: 11px; }
.shop-page .shop-results { border-top: 1px solid var(--shop-line); min-height: 51px; display: flex; align-items: center; margin: 0 0 18px; font-size: 12px; color: var(--shop-secondary); }
.shop-page .shop-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px 19px; }
.shop-page .shop-product { color: inherit; text-decoration: none; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--shop-line); border-radius: 2px; background: var(--shop-panel); overflow: hidden; }
.shop-page .shop-product:only-child { grid-column: 1 / -1; }
.shop-page .shop-product:hover { border-color: #47515a; }
.shop-page .shop-product-media { display: block; position: relative; aspect-ratio: 1.48; overflow: hidden; border-bottom: 1px solid var(--shop-line); background: #080b0e; color: #f2f4f3; }
.shop-page .shop-product-media picture,.shop-page .shop-product-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shop-page .shop-product-category { position: absolute; z-index: 1; top: 13px; left: 13px; padding: 4px 7px; background: rgba(3,5,6,.88); border: 1px solid #47515a; color: var(--shop-secondary); font-size: 10px; }
.shop-page .shop-image-label { position: absolute; right: 10px; bottom: 8px; padding: 2px 5px; background: rgba(3,5,6,.88); color: var(--shop-secondary); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.shop-page .shop-image-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 24px; gap: 16px; font-size: 13px; color: var(--shop-secondary); }
.shop-page .shop-product-copy { padding: 21px 20px 0; display: flex; flex-direction: column; flex: 1; }
.shop-page .shop-product-family { margin: 0 0 8px; color: var(--shop-muted); font-size: 10px; letter-spacing: .09em; line-height: 1.6; text-transform: uppercase; }
.shop-page .shop-product h3 { margin: 0 0 14px; font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: .005em; overflow-wrap: anywhere; }
.shop-page .shop-product-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-bottom: 16px; font-size: 12px; color: var(--shop-secondary); }
.shop-page .shop-stock { display: inline-flex; align-items: center; gap: 5px; color: #5fd39a; font-size: 11px; }
.shop-page .shop-stock:before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.shop-page .shop-specs { display: grid; gap: 7px; padding-top: 10px; margin: 0 0 18px; border-top: 1px solid var(--shop-line); }
.shop-page .shop-specs>div { display: flex; justify-content: space-between; gap: 14px; line-height: 1.6; }
.shop-page .shop-specs dt { color: var(--shop-muted); font-size: 11px; }
.shop-page .shop-specs dd { margin: 0; max-width: 60%; text-align: right; color: #f2f4f3; font-family: var(--shop-mono); font-size: 11px; overflow-wrap: anywhere; }
.shop-page .shop-product-price { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-top: auto; padding-bottom: 20px; }
.shop-page .shop-product-price strong { font: 27px/1.2 var(--shop-mono); letter-spacing: -.035em; }
.shop-page .shop-product-price>span { font-size: 10px; color: var(--shop-muted); }
.shop-page .shop-product-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 14px 20px; border-top: 1px solid #47515a; color: #f2f4f3; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.shop-page .shop-product-action:hover { background: #111820; }
.shop-page .shop-product-action>span:last-child { font-size: 20px; }
.shop-page .shop-shipping { border-top: 1px solid var(--shop-line); padding-top: 18px; margin: 27px 0 0; color: var(--shop-muted); font-size: 12px; line-height: 1.8; }
.shop-page .shop-shipping a { color: #e8ecea; text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }
.shop-page .shop-empty,.shop-page .shop-error { padding: 40px; border: 1px solid #47515a; background: var(--shop-panel); }
.shop-page .shop-empty h3,.shop-page .shop-error h3 { margin: 0; font-size: 26px; }
.shop-page .shop-empty p,.shop-page .shop-error p { color: var(--shop-secondary); }
.shop-page .shop-process { padding-block: 58px; background: var(--shop-panel); border-block: 1px solid #47515a; }
.shop-page .shop-process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center; }
.shop-page .shop-process h2 { margin: 0; font-size: 39px; font-weight: 600; line-height: 1.12; letter-spacing: .005em; }
.shop-page .shop-process-grid>div>p:not(.shop-eyebrow) { color: var(--shop-secondary); font-size: 14px; margin: 20px 0 0; }
.shop-page .shop-text-link { display: inline-flex; align-items: center; gap: 25px; padding-bottom: 9px; margin-top: 24px; border-bottom: 1px solid #47515a; color: #e8ecea; font-size: 12px; }
.shop-page .shop-process-steps article { display: flex; gap: 22px; padding: 18px 0; border-bottom: 1px solid var(--shop-line); }
.shop-page .shop-process-steps article:first-child { border-top: 1px solid var(--shop-line); }
.shop-page .shop-process-steps article>span { color: var(--shop-muted); font: 12px var(--shop-mono); padding-top: 5px; }
.shop-page .shop-process-steps h3 { margin: 0; font-size: 16px; font-weight: 500; }
.shop-page .shop-process-steps p { margin: 5px 0 0; font-size: 14px; color: var(--shop-secondary); line-height: 1.8; }
@media(min-width:901px) {
  .shop-page .shop-product:only-child { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); grid-template-rows: 1fr auto; }
  .shop-page .shop-product:only-child .shop-product-media { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; min-height: 360px; border-bottom: 0; border-right: 1px solid var(--shop-line); }
  .shop-page .shop-product:only-child .shop-product-media picture { position: absolute; inset: 0; }
  .shop-page .shop-product:only-child .shop-product-media img { object-fit: contain; }
  .shop-page .shop-product:only-child .shop-product-copy { grid-column: 2; padding: 28px 30px 0; }
  .shop-page .shop-product:only-child h3 { font-size: 28px; }
  .shop-page .shop-product:only-child .shop-product-price { padding-bottom: 26px; }
  .shop-page .shop-product:only-child .shop-product-action { grid-column: 2; padding-inline: 30px; }
}
@media(max-width:1150px) {
  .shop-page .shop-category:nth-child(3):last-child {grid-column:1 / -1}
  .shop-page .shop-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-page .shop-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-page .shop-process-grid { gap: 55px; }
}
@media(max-width:700px) {
  .shop-page .container { width: calc(100% - 36px); }
  .shop-page .shop-intro { grid-template-columns: 1fr; padding-block: 32px; gap: 25px; }
  .shop-page .shop-intro h1 { font-size: clamp(32px,10.5vw,48px); }
  .shop-page .shop-eyebrow { font-size: 10px; }
  .shop-page .shop-lead { font-size: 14px; }
  .shop-page .shop-categories { padding-bottom: 29px; }
  .shop-page .shop-category-grid { gap: 10px; }
  .shop-page .shop-category { min-height: 153px; padding: 17px 15px; }
  .shop-page .shop-category-kicker { font-size: 9px; margin-bottom: 34px; }
  .shop-page .shop-category img { width: 30px; height: 30px; right: 14px; top: 15px; }
  .shop-page .shop-category strong { font-size: 16px; }
  .shop-page .shop-category-description { display: none; }
  .shop-page .shop-category-bottom { font-size: 11px; }
  .shop-page .shop-catalog { padding-block: 28px 38px; }
  .shop-page .shop-catalog-heading { display: block; margin-bottom: 22px; }
  .shop-page .shop-catalog-heading h2 { font-size: 28px; }
  .shop-page .shop-catalog-heading>p { margin-top: 10px; text-align: left; }
  .shop-page .shop-catalog-heading>p span { display: none; }
  .shop-page .shop-product-grid { grid-template-columns: 1fr; }
  .shop-page .shop-product h3 { font-size: 24px; }
  .shop-page .shop-specs dt,.shop-page .shop-specs dd { font-size: 12px; }
  .shop-page .shop-results { font-size: 12px; }
  .shop-page .shop-process { padding-block: 37px; }
  .shop-page .shop-process-grid { grid-template-columns: 1fr; gap: 30px; }
  .shop-page .shop-process h2 { font-size: 32px; }
  .shop-page .shop-empty,.shop-page .shop-error { padding: 26px; }
}
@media(max-width:380px) {
  .shop-page .container { width: calc(100% - 32px); }
  .shop-page .shop-category { padding: 15px 12px; }
  .shop-page .shop-category strong { font-size: 14px; }
  .shop-page .shop-product-price strong { font-size: 25px; }
}
@media(prefers-reduced-motion:reduce) {
  .shop-page * { scroll-behavior: auto !important; transition: none !important; }
}

.shop-page .shop-product-media--no-photo {aspect-ratio:auto;min-height:150px}
.shop-page .shop-image-placeholder > img {width:48px;height:48px;object-fit:contain;flex:none}

.shop-page .shop-product:focus-visible { outline: 2px solid var(--shop-secondary); outline-offset: 4px; }

/* More readable metadata; media keeps its shape while reviewed photos load. */
.shop-page {--shop-muted:#b2bdc6;--shop-secondary:#c0c9d0;--shop-line:#38434d}
.shop-page .shop-category-kicker {font-size:11px;opacity:.8;margin-bottom:24px;letter-spacing:.08em}
.shop-page .shop-category img {opacity:.55;width:30px;height:30px}
.shop-page .shop-category-bottom {font-size:13px;color:#c4d0dc}
.shop-page .shop-category[aria-pressed=true] {background:linear-gradient(135deg,#1c3046,#0d1722);border-color:#a9c7ff;box-shadow:inset 0 3px 0 #a9c7ff}
.shop-page .shop-category[aria-pressed=true] .shop-category-bottom {color:#c2d8ff}
.shop-page .shop-category[aria-pressed=true] .shop-category-bottom>span:last-child {font-size:0}
.shop-page .shop-category[aria-pressed=true] .shop-category-bottom>span:last-child::after {content:'✓';font-size:18px}
.shop-page .shop-product-family,.shop-page .shop-product-category {font-size:12px}
.shop-page .shop-image-label {font-size:10px;color:#c8d0d6}
.shop-page .shop-stock {font-size:13px;color:#91dfba}
.shop-page .shop-specs dt,.shop-page .shop-specs dd {font-size:12px}
.shop-page .shop-product-price>span {font-size:12px}
.shop-page .shop-product h3 {line-height:1.3;overflow-wrap:normal}
.shop-page .shop-product-media--no-photo {aspect-ratio:1.48;min-height:0}
.shop-page .shop-product {transition:border-color .16s,box-shadow .16s}
.shop-page .shop-product:hover {border-color:#8097ad;box-shadow:0 8px 26px rgba(0,0,0,.2)}
@media(max-width:700px){
  .shop-page .shop-category {min-height:145px}
  .shop-page .shop-category-kicker {font-size:10px}
  .shop-page .shop-category-bottom {font-size:12px}
}
@media(prefers-reduced-motion:reduce){.shop-page .shop-product {transition:none}}

.shop-page .shop-product-price {margin-top:0;padding-bottom:18px}

/* Square model photography, with full hardware visible in every category. */
.shop-page .shop-product .shop-product-media:has(picture),
.shop-page .shop-product:only-child .shop-product-media:has(picture) {aspect-ratio:1;min-height:0;align-self:start;background:#fff}
.shop-page .shop-product .shop-product-media picture,
.shop-page .shop-product:only-child .shop-product-media picture {position:static;height:auto}
.shop-page .shop-product .shop-product-media picture img {height:auto;object-fit:contain}

/* Reduce catalog cards by roughly a quarter on larger screens; retain legible text. */
@media(min-width:1001px) {
  .shop-page .shop-product-grid {width:75%;margin-inline:auto}
  .shop-page .shop-product:only-child .shop-product-copy {padding:21px 22px 0}
  .shop-page .shop-product:only-child h3 {font-size:24px}
  .shop-page .shop-product:only-child .shop-product-action {padding-inline:22px}
}
