#avmenu li { position: relative; }
#avmenu .wsite-menu-wrap { position: absolute; left: 100%; top: 0; z-index: 20; background: #141414; width: 240px; border: 1px solid #2d2d2d; }
#avmenu li:hover > .wsite-menu-wrap, #avmenu li:focus-within > .wsite-menu-wrap { display: block !important; }
#avmenu .wsite-menu a { line-height: 1.4; padding: 12px; }
a:focus-visible, button:focus-visible { outline: 2px solid #ddd; outline-offset: 3px; }
.wsite-logo img { max-width: 100%; height: auto; }
#content img { max-width: 100%; }
.tall-header-page .wsite-header { background-size: cover; }
.wsite-page-index #wsite-content > .imgPusher + span { width: 50%; }
.wsite-page-index #wsite-content > .imgPusher + span img { box-sizing: border-box; width: 100%; height: auto; }
.galleryImageHolder .galleryImage { width: 100% !important; height: 100% !important; inset: 0 !important; object-fit: cover; }
.galleryInnerImageHolder { position: absolute; inset: 0; }
.galleryInnerImageHolder a { display: block; width: 100%; height: 100%; }
.imageGallery::after { content: ''; display: block; clear: both; }
.photo-viewer { width: min(1000px, 92vw); max-height: 92vh; padding: 44px 16px 16px; background: #151515; color: #eee; border: 1px solid #555; }
.photo-viewer::backdrop { background: rgba(0,0,0,.85); }
.photo-viewer figure { margin: 0; text-align: center; }
.photo-viewer img { max-width: 100%; max-height: 72vh; object-fit: contain; }
.photo-viewer figcaption { padding: 12px 0 0; line-height: 1.5; }
.photo-viewer button { border: 1px solid #555; background: #222; color: #eee; cursor: pointer; padding: 6px 12px; font-size: 20px; }
.viewer-close { position: absolute; top: 8px; right: 10px; }
.viewer-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 12px; }
.stock-intro { margin-bottom: 22px; }
.stock-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.stock-grid figure { margin: 0; }
.stock-grid img { width: 100%; border: 1px solid #3d3d3d; }
.stock-grid figcaption { padding: 9px 0; line-height: 1.5; }
@media (max-width: 980px) {
  #container { width: auto; max-width: 950px; margin: 0 20px; }
  #main-wrap { display: flex; gap: 28px; }
  #avmenu { flex: 0 0 180px; width: 180px; }
  #avmenu > ul { width: 100%; }
  #main { float: none; width: auto; flex: 1; min-width: 0; }
  .tall-header-page .wsite-header { width: 100%; background-size: cover; }
}
@media (max-width: 640px) {
  #container { margin: 0 16px; }
  #header { margin-bottom: 14px; }
  #logo { padding: 15px 0; }
  #main-wrap { display: block; }
  #avmenu { float: none; width: 100%; margin-bottom: 22px; }
  #avmenu > ul { display: flex; flex-wrap: wrap; width: 100%; }
  #avmenu > ul > li { flex: 1; min-width: 100px; }
  #avmenu li a { padding: 12px 10px; line-height: 1.4; }
  #avmenu .wsite-menu-wrap { left: 0; top: 100%; }
  .tall-header-page .wsite-header { height: 180px; background-position: center !important; }
  .wsite-multicol-col { display: block; width: auto !important; margin-bottom: 16px; }
  #content .imgPusher + span { max-width: 100%; }
  .wsite-page-index #wsite-content > .imgPusher + span { width: 100%; float: none !important; display: block; }
  .imageGallery > div[id*='imageContainer'] { width: 49.95% !important; }
  .stock-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
