/* Argonmark Catalogue Manager - store pages (/products/<ID>/): photo gallery with the main photo on top
   and the extra photos as small thumbnails in a row underneath (left to right). Overrides the theme's
   vertical thumbnail column without editing the theme. */
body .pd-gallery { grid-template-columns: minmax(0, 1fr); }
body .pd-gallery .pd-main { order: 1; }
body .pd-gallery .pd-thumbs { order: 2; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 8px; }
body .pd-gallery .pd-thumb { width: 64px; height: 64px; padding: 4px; cursor: pointer; flex: 0 0 auto; }
body .pd-gallery .pd-thumb:hover { border-color: var(--brass-500, #C89B3C); }
body .pd-gallery--single .pd-thumbs { display: none; }
@media (max-width: 640px) {
  body .pd-gallery .pd-thumbs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }
  body .pd-gallery .pd-thumb { width: 56px; height: 56px; }
}

/* Cart "Remove" buttons (cart page .st-line__rm, cart drawer .pd-line__rm) as a red trash icon.
   The word stays in the button for screen readers; it is only hidden visually. */
body .st-line__rm, body .pd-line__rm {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; padding: 0; margin: 2px 0 0 -6px;
  border: 0; border-radius: 6px; background-color: transparent; cursor: pointer;
  font-size: 0; line-height: 0; color: transparent; text-decoration: none; vertical-align: middle;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C62828' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v2'/%3E%3Cpath d='M19 6l-1 14a2 2 0 0 1-2 2H8a2 2 0 0 1-2-2L5 6'/%3E%3Cpath d='M10 11v6M14 11v6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center; background-size: 20px 20px;
  transition: background-color .15s;
}
body .st-line__rm:hover, body .pd-line__rm:hover, body .st-line__rm:focus-visible, body .pd-line__rm:focus-visible { background-color: #FDECEA; outline: none; }
body .pd-line__rm { width: 26px; height: 26px; margin: 0 0 0 2px; background-size: 16px 16px; }

/* Question / review confirmations: hidden unless the plugin script confirms this visitor just sent it. */
body #pd-qa .pd-notice, body #pd-reviews .pd-notice { display: none; }
body #pd-qa .pd-notice.amc-show, body #pd-reviews .pd-notice.amc-show { display: block; transition: opacity .6s; }
body .pd-notice.amc-fade { opacity: 0; }

/* Manufacturer datasheet PDFs are not offered for download (store-page button and links inside datasheets). */
body .pd-dslink, body .pp-ds a[href$=".pdf"], body .pp-ds a[href*=".pdf?"] { display: none !important; }
