/* Additions on top of the captured Divi / WooCommerce CSS. */

/* Full-screen product image (replaces WooCommerce PhotoSwipe) */
.pp-viewer { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .9); display: flex; align-items: center; justify-content: center; cursor: zoom-out; }
.pp-viewer img { max-width: 94vw; max-height: 92vh; width: auto; height: auto; }
.pp-viewer-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 40px; line-height: 44px; cursor: pointer; opacity: .75; }
.pp-viewer-close:hover, .pp-viewer-close:focus { opacity: 1; }
html.pp-viewer-open { overflow: hidden; }

/* Contact form: Turnstile slot and messages (Caldera alert look) */
.caldera-grid .f2x-turnstile { height: 0; overflow: hidden; margin: 0; }
.caldera-grid .f2x-turnstile.f2x-ask { height: auto; overflow: visible; margin-bottom: 15px; }
.caldera-grid .alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 4px; }
.caldera-grid .alert-success { color: #3c763d; background-color: #dff0d8; border-color: #d6e9c6; }
.caldera-grid .alert-danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1; }
form.cf_processing { opacity: .6; }

/* Search page */
.pp-search-title { padding-bottom: 20px; }
.pp-search-form { display: flex; gap: 8px; margin-bottom: 20px; }
.pp-search-form input { flex: 1; max-width: 420px; padding: 8px; border: 1px solid #bbb; }
.pp-search-form button { padding: 8px 16px; cursor: pointer; }
.pp-search-results { list-style: none; padding: 0 !important; }
.pp-search-results li { padding: 14px 0; border-bottom: 1px solid #e2e2e2; }
.pp-search-results a { display: flex; gap: 16px; align-items: flex-start; color: inherit; }
.pp-search-results img { flex: none; width: 80px; height: 80px; object-fit: cover; }
.pp-search-results strong { color: #5240a0; font-size: 16px; }
.pp-search-results mark { background: #e8e4ff; color: inherit; }
