/* ===== Breadcrumb colours/font to match the site (all screens): gray links, dark current page, light separator ===== */
html body ul.breadcrumb > li > a{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important;color:#6b7280!important;font-weight:400!important;text-decoration:none!important;transition:color .2s ease}
html body ul.breadcrumb > li > a:hover{color:#111!important}
html body ul.breadcrumb > li:last-child > a{color:#111!important;font-weight:500!important}
html body ul.breadcrumb > li .fa-home{color:#111!important}
html body ul.breadcrumb > li::before{color:#c4c4c8!important;font-family:Inter,system-ui,sans-serif!important}

/* ===== PHX product gallery: vertical swipe/scroll between images, dash indicator, counter, thumbnail row =====
   All screens (desktop since 2026-11-21). Journal's own gallery stays in the page (hidden) and still opens the lightbox. */
html.phx-pg-on .product-info .product-left .product-image,
html.phx-pg-on .product-image.phx-pg-hidden{display:none!important}

.phx-pg{position:relative;margin:0 0 18px;font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.phx-pg-stage{position:relative;border-radius:16px;overflow:hidden;background:#fff}
.phx-pg-track{aspect-ratio:1/1;height:auto;max-height:520px;overflow-y:auto;overflow-x:hidden;scroll-snap-type:y mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-y:auto}
.phx-pg-track::-webkit-scrollbar{display:none}
.phx-pg-slide{height:100%;scroll-snap-align:start;scroll-snap-stop:always;display:flex;align-items:center;justify-content:center;padding:18px 18px 18px 34px;box-sizing:border-box;cursor:zoom-in}
.phx-pg-slide img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;display:block;-webkit-user-drag:none;user-select:none}

.phx-pg-bar{position:absolute;left:12px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:10px;pointer-events:none}
.phx-pg-bar i{display:block;width:2px;height:14px;border-radius:2px;background:rgba(17,17,17,.18);transition:background .25s ease,height .25s ease}
.phx-pg-bar i.on{background:#111;height:20px}

.phx-pg-count{position:absolute;left:12px;bottom:12px;display:flex;align-items:center;gap:8px;font:500 11.5px/1 Inter,system-ui,sans-serif;color:#111;letter-spacing:.04em;pointer-events:none}
.phx-pg-count span{display:block;width:18px;height:1px;background:rgba(17,17,17,.35)}
.phx-pg-count b{font-weight:500;color:#9ca3af}

.phx-pg-thumbs{display:flex;gap:8px;margin:10px 0 0;padding:2px;overflow-x:auto;scrollbar-width:none}
.phx-pg-thumbs::-webkit-scrollbar{display:none}
.phx-pg-thumbs button{flex:0 0 auto;width:56px;height:56px;padding:4px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;cursor:pointer;transition:border-color .2s ease}
.phx-pg-thumbs button img{width:100%;height:100%;object-fit:contain;display:block}
.phx-pg-thumbs button.on{border-color:#111;box-shadow:0 0 0 1px #111}

/* desktop: bigger box, more room around the image, larger thumbnails */
@media (min-width:768px){
  .phx-pg{margin:0 0 22px}
  .phx-pg-stage{border-radius:20px}
  .phx-pg-track{max-height:600px}
  .phx-pg-slide{padding:32px 32px 32px 56px}
  .phx-pg-bar{left:20px;gap:12px}
  .phx-pg-bar i{height:16px}
  .phx-pg-bar i.on{height:24px}
  .phx-pg-count{left:20px;bottom:18px;font-size:12px}
  .phx-pg-thumbs{gap:10px;margin-top:14px}
  .phx-pg-thumbs button{width:72px;height:72px;padding:6px;border-radius:12px}
  .phx-pg-thumbs button:not(.on):hover{border-color:#9ca3af}
}

@media (max-width:767px){
  /* breadcrumb on phones: one line, home icon aligned, long last item cut with "…" (text stays in the HTML for SEO) */
  html body ul.breadcrumb,html body .site-wrapper > ul.breadcrumb.breadcrumb.breadcrumb{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:0;overflow:hidden;white-space:nowrap!important;padding:10px 16px!important}
  html body ul.breadcrumb > li{display:flex!important;align-items:center;flex:0 0 auto;min-width:0;max-width:45%;float:none!important;font:400 12.5px/1.3 Inter,system-ui,-apple-system,"Segoe UI",Roboto,sans-serif!important}
  html body ul.breadcrumb > li:first-child{max-width:none}
  html body ul.breadcrumb > li:last-child{flex:1 1 auto;max-width:none}
  html body ul.breadcrumb > li::before{flex:0 0 auto;margin:0 6px!important}
  html body ul.breadcrumb > li > a{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important;font-size:12.5px!important;line-height:1.3!important}
  html body ul.breadcrumb > li .fa-home{font-size:14px;line-height:1;display:block}
}
