/* Niet Aan De Deur - small additions for the shop script (shop.js); the rest is WooCommerce's own CSS. */

/* spam trap on the checkout: hidden for people */
.nadd-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }

.nadd-loading { color: #777; }
form.checkout.processing { opacity: .6; pointer-events: none; }
a.add_to_cart_button.loading { opacity: .5; }

/* product image: zoom on hover (as jquery.zoom) and full view on click */
.woocommerce-product-gallery__image { cursor: zoom-in; }
.woocommerce-product-gallery__image .zoomImg { position: absolute; top: 0; left: 0; max-width: none !important; max-height: none !important; width: auto !important; height: auto !important; border: none; pointer-events: none; background: #fff; }
.nadd-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .85); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.nadd-lightbox img { max-width: 92vw; max-height: 92vh; box-shadow: 0 0 20px rgba(0, 0, 0, .5); }
.nadd-lightbox-close { position: absolute; top: 10px; right: 16px; background: none; border: 0; color: #fff; font-size: 40px; line-height: 1; cursor: pointer; }

/* crypto payment on the order page */
.nadd-crypto-grid { display: flex; flex-wrap: wrap; gap: 1.5em; align-items: flex-start; margin-bottom: 1em; }
.nadd-qr { width: 180px; flex: 0 0 180px; }
.nadd-qr svg { width: 100%; height: auto; display: block; }
.nadd-crypto-details { flex: 1 1 280px; list-style: none; margin: 0; padding: 0; }
.nadd-crypto-details li { margin-bottom: .7em; }
.nadd-mono { font-family: Consolas, Menlo, monospace; word-break: break-all; }
.nadd-copy { font-size: 11px; padding: 2px 8px; margin-left: 6px; cursor: pointer; }
.nadd-crypto-status { background: #f7f6f7; padding: .8em 1em; border-left: 3px solid #1e85be; }

/* search results */
.nadd-search .page-header { margin-bottom: 1.625em; }
.nadd-search-results .entry-title a { color: #222; }
