/* ELFIX R5.3.16: calm, functional catalogue; styles restricted to shop surfaces. */
.store-catalog{background:#0b1826;padding-block:30px 54px;color:#edf3fa}
.store-catalog .page-title{font-size:clamp(1.7rem,3vw,2.4rem);margin:0 0 12px}
.store-catalog .lead{margin:0 0 22px;color:#b8c8d8;font-size:1rem}
.store-empty{max-width:680px}
.store-empty p{margin:.55rem 0 1rem}
.store-key-facts{display:grid;gap:0;margin:.6rem 0;padding:0 12px;border:1px solid #4c657a;border-radius:9px;background:#101f2e;color:#edf3fa;font-size:.9rem;line-height:1.5}
.store-key-facts>div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:6px 14px;padding:9px 0;overflow-wrap:anywhere}
.store-key-facts>div+div{border-top:1px solid #354d63}
.store-key-facts dt{color:#c4d6e5;font-weight:600}
.store-key-facts dd{margin:0;white-space:pre-line}
.store-preview-notice{padding:10px 14px;margin:0 0 14px;border:1px solid #647d92;border-radius:8px;background:#142638;color:#edf3fa}
.store-toolbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px}
.store-catalog .store-category-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.store-catalog .store-category-filter button{display:flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 14px;border:1px solid #4c6279;border-radius:9px;background:#142638;color:#edf3fa;font:inherit;font-size:.9rem;box-shadow:none;cursor:pointer}
.store-catalog .store-category-filter button span{font-size:.75rem;min-width:20px;padding:2px 5px;border-radius:4px;background:#243d50}
.store-catalog .store-category-filter button.is-active{color:#061820;background:#23cbdc;border-color:#23cbdc}
.store-catalog .store-category-filter button.is-active span{background:#1593a2;color:#fff}
.store-search{display:block;min-width:200px;max-width:300px;flex:1}
.store-search>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.store-search input{width:100%;min-height:46px;border:1px solid #4c6279;border-radius:9px;background:#101f2e;color:#edf3fa;padding:10px 14px;font:inherit;font-size:1rem}
.store-results-bar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;flex-wrap:wrap}
.store-refine,.store-results-summary{display:flex;align-items:center;gap:6px 16px;flex-wrap:wrap;min-width:0}
.store-category-choice{min-width:0;max-width:100%}
.store-category-choice select{width:min(100%,15rem);min-height:44px;padding:8px 12px;border:1px solid #4c6279;border-radius:9px;background:#101f2e;color:#edf3fa;font:inherit}
.store-reset-filters{min-height:44px;padding:4px 0;border:0;background:transparent;color:#b8eaf0;text-decoration:underline;text-underline-offset:3px;font:inherit;font-size:.9rem;cursor:pointer}
.store-availability-filter{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:.9rem}
.store-availability-filter input{width:18px;height:18px;margin:0;accent-color:#23cbdc}
.store-catalog .store-count{margin:12px 0;color:#bdcddd;font-size:.9rem}
.store-catalog .store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.store-catalog .store-product-card{display:flex;flex-direction:column;min-width:0;border:1px solid #3a5067;border-radius:10px;background:#112336;box-shadow:none;overflow:hidden;transform:none;transition:border-color .18s,transform .18s,box-shadow .18s}
.store-catalog .store-product-card:hover,.store-catalog .store-product-card:focus-within{border-color:#7590a8;transform:translateY(-2px);box-shadow:0 8px 24px rgb(0 0 0 / 18%)}
.store-catalog [hidden]{display:none!important}
.store-catalog .store-product-cover{position:relative;aspect-ratio:4/3;background:#d7dce0;overflow:hidden}
.store-image-open{display:block;width:100%;height:100%;padding:0;border:0;background:none;cursor:pointer}
.store-catalog .store-product-cover img{display:block;width:100%;height:100%;object-fit:contain;transform:none}
.store-catalog .store-card-arrow,.store-catalog .store-photo-count{display:none!important}
.store-catalog .store-availability-label{position:absolute;top:8px;right:8px;font-size:.7rem;letter-spacing:0;text-transform:none;padding:5px 8px;border-radius:5px;background:#263c4e;color:white;border:0;pointer-events:none}
.store-catalog .store-availability-label[data-availability="reserved"]{background:#665025;color:#fff1cc}
.store-catalog .store-availability-label[data-availability="sold"]{background:#4a4d53;color:#eef0f4}
.store-catalog .card-body{display:flex;flex-direction:column;flex:1;gap:9px;padding:14px;min-width:0}
.store-catalog h2{font-size:1.05rem;line-height:1.4;margin:0;overflow-wrap:anywhere}
.store-catalog h2 a{color:#f2f6fa;text-decoration:none}
.store-catalog .store-product-labels{display:flex;gap:7px;flex-wrap:wrap}
.store-catalog .store-product-labels span{max-width:100%;overflow-wrap:anywhere;padding:3px 7px;border:1px solid #496077;border-radius:5px;color:#cedae5;font-size:.72rem}
.store-catalog .store-card-specs{font-size:.83rem;line-height:1.5;color:#c3d2df;margin:0;overflow-wrap:anywhere;white-space:pre-line}
.store-function{font-size:.85rem;color:#bdd6c9;margin:0;line-height:1.5}
.store-function[data-functionality="defective"]{color:#eed29b}.store-function[data-functionality="untested"]{color:#c2ced9}
.store-catalog .store-product-card-footer{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;padding-top:8px}
.store-catalog .store-product-card-footer .btn{min-height:44px;white-space:nowrap}
.store-catalog .product-price{font-size:1.5rem;font-weight:700;color:#f2f6fa;white-space:nowrap}
.store-catalog .btn{min-height:44px;padding:9px 12px;border-radius:7px;font-size:.82rem;box-shadow:none;background:#162b3e;color:#f2f6fa;border:1px solid #91a6bb;gap:8px}
.store-catalog :focus-visible{outline:2px solid #25cbdc;outline-offset:2px}
.store-product-page .product-detail-price{color:#f1f5fa;font-size:1.9rem}
.store-image-note{font-size:.85rem;line-height:1.5;color:#c9d5df;margin:10px 0}
.store-status-note{padding:9px 12px;border-inline-start:2px solid #91a6bb;background:#142638;color:#d6e3ee;line-height:1.5}
.store-product-page .product-page-specs dd{white-space:pre-line}
.store-product-page .product-detail-description{white-space:normal}
.store-product-page .product-main-specs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 18px}
.store-product-page .product-main-specs>div{min-width:0;padding:12px;border:1px solid #4c657a;border-radius:9px;background:#101f2e}
.store-product-page .product-main-specs dt{color:#c4d6e5;font-size:.8rem;line-height:1.4}
.store-product-page .product-main-specs dd{margin:5px 0 0;color:#edf3fa;font-weight:700;line-height:1.4;overflow-wrap:anywhere;white-space:pre-line}
.store-product-page .product-contact-actions:not(:has(>.btn)){display:none}
@media(max-width:800px){
  .store-product-page .product-main-specs{gap:7px}
  .store-product-page .product-main-specs>div{padding:10px 8px}
  .store-product-page .product-main-specs dd{font-size:.9rem}
  .store-product-page:not(.is-private-preview) .product-contact-actions:has(>.btn){position:fixed;inset:auto 0 0;z-index:45;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:10px max(12px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:#0b1826f5;border-top:1px solid #4c657a;box-shadow:0 -4px 18px #0005}
  .store-product-page .product-contact-actions>.btn{flex:1 1 120px;min-width:0;min-height:46px;padding-inline:12px;white-space:normal;text-align:center;line-height:1.4}
  body:has(.store-product-page:not(.is-private-preview) .product-contact-actions>.btn){padding-bottom:calc(112px + env(safe-area-inset-bottom))}
}
@media(max-width:1100px){.store-toolbar{align-items:stretch;flex-wrap:wrap}.store-search{max-width:none;flex-basis:220px}.store-catalog .store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.store-catalog .container{width:calc(100% - 28px)}.store-catalog{padding-block:24px 36px}.store-catalog .store-grid{grid-template-columns:minmax(0,1fr);gap:16px}.store-toolbar{display:grid;gap:12px}.store-catalog .store-category-filter{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.store-search{min-width:0;max-width:none}.store-catalog .store-category-filter button{justify-content:space-between;padding-inline:12px}.store-catalog .store-product-cover{aspect-ratio:4/2.8}.store-product-page .product-page-specs>div{grid-template-columns:minmax(0,1fr);gap:5px}}
@media(max-width:600px){
  .store-catalog .store-product-card-footer{flex-direction:column;align-items:stretch}
  .store-catalog .store-product-card-footer .btn{width:100%;text-align:center}
}
@media(prefers-reduced-motion:reduce){.store-catalog *{transition:none!important}}

.store-photo-stage { position: relative; isolation: isolate; touch-action: pan-y pinch-zoom; }
.store-photo-stage .product-page-main-image {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 470px;
  max-height: min(470px, max(180px, 51svh));
  padding: 0;
  overflow: hidden;
}
.store-photo-stage .product-page-main-image img {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  max-height: none;
  object-fit: contain;
}
.store-photo-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 1px solid #9fb5c5;
  border-radius: 50%;
  background: #142738ef;
  color: #fff;
  cursor: pointer;
}
.store-photo-arrow[hidden] { display: none; }
.store-photo-arrow.is-prev { inset-inline-start: var(--photo-arrow-inset, 8px); }
.store-photo-arrow.is-next { inset-inline-end: var(--photo-arrow-inset, 8px); }
.store-photo-arrow svg { display: block; width: 23px; height: 23px; }
.store-photo-arrow.is-prev svg { transform: scaleX(-1); }
@media (hover: hover) {
  .store-photo-arrow:hover { background: #23cbdc; color: #061820; border-color: #23cbdc; }
}
.store-photo-arrow:active { background: #23cbdc; color: #061820; border-color: #23cbdc; }
.store-photo-count {
  position: absolute;
  inset-inline-start: 12px;
  inset-block-end: 12px;
  border-radius: 20px;
  padding: 4px 9px;
  background: #142738ed;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  pointer-events: none;
}
.store-product-page .product-page-thumbs { gap: 8px; }
.product-page-thumbs a {
  display: block;
  flex: 0 0 clamp(48px, 12vw, 76px);
  height: clamp(44px, 11vw, 58px);
  box-sizing: border-box;
  overflow: hidden;
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: var(--bg-soft);
  cursor: zoom-in;
}
.product-page-thumbs a[aria-current="true"] { border-color: var(--primary); }
.store-product-page :is(.product-page-main-image, .product-page-thumbs a, .store-photo-arrow):focus-visible,
.store-photo-dialog :is(a, button):focus-visible { outline: 2px solid #71e5f2; outline-offset: 2px; }

html.store-photo-lock { overflow: hidden; overscroll-behavior: none; }
.store-photo-dialog {
  --photo-safe-side: max(8px, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  --photo-arrow-inset: 4px;
  position: fixed;
  inset: 0;
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: max(8px, env(safe-area-inset-top, 0px)) var(--photo-safe-side) max(8px, env(safe-area-inset-bottom, 0px));
  display: none;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 7px;
  overflow: hidden;
  border: 0;
  background: #080c14;
  color: #fff;
}
.store-photo-dialog[open] { display: grid; }
.store-photo-dialog::backdrop { background: #080c14; }
.store-photo-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(4px, 1.2vw, 12px);
  min-width: 0;
}
.store-photo-position {
  padding-inline: clamp(2px, 1vw, 12px);
  white-space: nowrap;
  font-size: .87rem;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}
.store-photo-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: clamp(4px, 1vw, 8px); }
.store-photo-actions :is(a, button) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 0 clamp(6px, 1.3vw, 14px);
  border: 1px solid #52647d;
  border-radius: 8px;
  background: #172234;
  color: #fff;
  font-family: inherit;
  font-size: clamp(.76rem, 2.8vw, .94rem);
  font-weight: 720;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.store-photo-actions :is(a, button):hover { border-color: #71e5f2; color: #a8f6ff; }
.store-photo-view { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.store-photo-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  overflow: clip;
  touch-action: pinch-zoom;
  user-select: none;
  -webkit-user-select: none;
}
.store-photo-media img { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.store-photo-dialog.is-zoomed .store-photo-media { cursor: grab; touch-action: none; }
.store-photo-dialog.is-dragging .store-photo-media { cursor: grabbing; }
/* Reserve a separate control row on narrow screens so neither arrow masks the photo. */
.store-photo-view:has(> .store-photo-arrow) .store-photo-media { inset-block-end: 52px; }
.store-photo-view > .store-photo-arrow { top: auto; bottom: 4px; transform: none; }
@media (min-width: 680px), (min-width: 480px) and (orientation: landscape) {
  .store-photo-view:has(> .store-photo-arrow) .store-photo-media { inset-block-end: 0; inset-inline: 56px; }
  .store-photo-view > .store-photo-arrow { top: 50%; bottom: auto; transform: translateY(-50%); }
}

@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-wght-normal.woff2) format('woff2')}
@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(../fonts/inter-latin-ext-wght-normal.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+2020,U+20A0-20AB}
