/* Inquiry list, gallery, search suggestions, recently viewed. */
.feature-status { position: fixed; left: 50%; bottom: 150px; z-index: 40; padding: 10px 18px; border-radius: 999px; background: #172033; color: #fff; font-size: 14px; opacity: 0; transform: translateX(-50%); pointer-events: none; transition: opacity .2s ease; }
.feature-status.is-visible { opacity: 1; }
.feature-status:empty { display: none; }
.inquiry-pill, .inquiry-pill:visited { position: fixed; right: 20px; bottom: 20px; z-index: 12; display: inline-flex; align-items: center; min-height: 46px; padding: 0 20px; border-radius: 999px; background: #174cb4; color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 6px 20px rgba(16, 40, 80, .3); }
.inquiry-pill:hover { background: #103a8c; color: #fff; }
.inquiry-pill[hidden] { display: none; }
body.has-inquiry-pill .site-footer { padding-bottom: 76px; }
.inquiry-add { box-sizing: border-box; width: 100%; min-height: 48px; margin-top: 10px; padding: 10px 14px; border: 1px solid var(--brand); border-radius: var(--radius-sm); background: #fff; color: var(--brand); font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.inquiry-add[hidden] { display: none; }
.inquiry-add[aria-pressed="true"] { background: #eaf1fb; }
.product-card-wrap { position: relative; display: flex; min-width: 0; }
.product-card-wrap > .product-card { flex: 1 1 auto; }
.card-add { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #b3bfce; border-radius: 50%; background: rgba(255, 255, 255, .94); color: #174cb4; font: inherit; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; }
.card-add[aria-pressed="true"] { border-color: #174cb4; background: #174cb4; color: #fff; font-size: 17px; }
.inquiry-list { margin: 0 0 18px; }
.inquiry-list ul { margin: 6px 0 0; padding: 0; list-style: none; }
.inquiry-row { display: grid; grid-template-columns: minmax(0, 1fr) 120px 44px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--border); }
.inquiry-row strong { overflow-wrap: anywhere; }
.inquiry-row input { box-sizing: border-box; width: 100%; height: 44px; padding: 0 10px; border: 1px solid #b3bfce; border-radius: var(--radius-sm); font: inherit; font-size: 16px; }
.inquiry-row button { height: 44px; border: 0; background: transparent; color: #8a1f1f; font-size: 24px; cursor: pointer; }
.inquiry-button:disabled { opacity: .5; cursor: not-allowed; }
.product-gallery-stage > picture > img.is-zoomable { cursor: zoom-in; }
.gallery-nav, .gallery-zoom { position: absolute; display: grid; place-items: center; width: 44px; height: 44px; padding: 0 0 3px; border: 1px solid #d3dbe6; border-radius: 50%; background: rgba(255, 255, 255, .9); color: #174cb4; font-size: 26px; line-height: 1; cursor: pointer; }
.gallery-nav { top: 50%; transform: translateY(-50%); }
.gallery-nav.is-prev { left: 10px; }
.gallery-nav.is-next { right: 10px; }
.gallery-zoom { top: 10px; right: 10px; font-size: 20px; }
.lightbox { width: 100vw; max-width: none; height: 100vh; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; overflow: hidden; background: rgba(12, 18, 30, .96); }
.lightbox::backdrop { background: rgba(12, 18, 30, .6); }
.lightbox-scroll { display: flex; width: 100%; height: 100%; overflow: auto; }
.lightbox-scroll img { flex: 0 0 auto; height: auto; max-width: none; margin: auto; background: #fff; cursor: zoom-in; }
.lightbox.is-zoomed .lightbox-scroll img { cursor: zoom-out; }
.lightbox button { position: absolute; min-width: 46px; min-height: 46px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: #172033; font: inherit; font-size: 26px; line-height: 1; cursor: pointer; }
.lightbox .lightbox-close { top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.lightbox .lightbox-zoom { bottom: calc(14px + env(safe-area-inset-bottom)); left: 50%; padding: 0 18px; font-size: 15px; transform: translateX(-50%); }
.lightbox-nav { top: 50%; transform: translateY(-50%); }
.lightbox-nav.is-prev { left: 12px; }
.lightbox-nav.is-next { right: 12px; }
.lightbox-count { position: absolute; top: calc(22px + env(safe-area-inset-top)); left: 18px; color: #fff; font-size: 15px; }
.product-search { position: relative; z-index: 15; }
.search-suggest { position: absolute; top: calc(100% + 4px); right: 0; left: 0; z-index: 16; max-height: 400px; margin: 0; padding: 4px 0; overflow: auto; border: 1px solid #b3bfce; border-radius: var(--radius-sm); background: #fff; box-shadow: 0 12px 30px rgba(20, 40, 80, .18); list-style: none; }
.search-suggest[hidden] { display: none; }
.search-suggest li { padding: 10px 14px; overflow-wrap: anywhere; color: #172033; font-size: 15px; cursor: pointer; }
.search-suggest li:hover, .search-suggest li[aria-selected="true"] { background: #eaf1fb; }
.recent-products[hidden] { display: none; }
.recent-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recent-head button { min-height: 40px; border: 0; background: transparent; color: var(--text-muted); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.technical-drawings { clear: both; }
@media (max-width: 760px) {
  body[data-route="product"] .inquiry-cta.has-list { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  body[data-route="product"] .inquiry-cta.has-list .inquiry-add { width: auto; margin: 0; white-space: nowrap; }
  body[data-route="product"] .inquiry-pill { bottom: calc(84px + env(safe-area-inset-bottom)); }
  .inquiry-pill { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media (max-width: 480px) { .inquiry-row { grid-template-columns: minmax(0, 1fr) 92px 40px; gap: 6px; } }
@media print { .inquiry-pill, .feature-status, .card-add, .gallery-nav, .gallery-zoom { display: none !important; } }
html:has(.lightbox[open]) { overflow: hidden; }
