/* Scoped video-library controls. All product cards remain available without JavaScript. */
#jf-video-results { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
#jf-video-results .jf-video-card { min-width:0; scroll-margin-top:24px; }
#jf-video-results .jf-video-card[hidden], #jf-video-more[hidden], #jf-video-empty[hidden],
#jf-video-results [hidden] { display:none!important; }
#jf-video-results .jf-video-card:target, #jf-video-results .jf-video-card:focus-visible { outline:3px solid #6f856a; outline-offset:4px; }
#jf-video-results .jf-video-photo-link { display:block; padding:0; margin:0; min-height:0; background:white; text-decoration:none; }
#jf-video-results .jf-video-photo-link>img { display:block; width:100%; height:190px; padding:12px; object-fit:contain; }
#jf-video-results .jf-video-failed-photo { display:flex; min-height:190px; align-items:center; justify-content:center; padding:18px; text-align:center; background:#f3f5f0; color:#30553a; font:600 14px/1.5 Arial,sans-serif; text-decoration:underline; }
.jf-video-sort-row { display:flex; align-items:end; flex-wrap:wrap; gap:14px; margin:14px 0; }
.jf-video-sort-row label { display:grid; gap:5px; font:14px/1.5 Arial,sans-serif; }
.jf-video-sort-row select { min-height:44px; max-width:100%; font:16px Arial,sans-serif; padding:9px 12px; border:1px solid #a8b7a8; border-radius:7px; background:white; }
#jf-video-clear { margin:0; }
.jf-video-extra { margin:12px 0 0; border-top:1px solid #e1e7dc; padding-top:8px; }
.jf-video-extra summary { min-height:44px; padding:10px 0; cursor:pointer; font:600 14px/1.5 Arial,sans-serif; color:#315740; }
.jf-video-extra ul { list-style:none; margin:0; padding:0; }
.jf-video-extra li { margin:0; padding:0; }
.jf-video-extra a { display:flex; min-height:44px; align-items:center; padding:7px 0; line-height:1.5; font-size:14px; overflow-wrap:anywhere; color:#315740; }
.jf-video-share { margin-top:12px; }
.jf-video-copy, #jf-video-more, #jf-video-clear, [data-jf-video-reset] { min-height:44px; max-width:100%; padding:10px 15px; border:1px solid #a6b69c; border-radius:7px; background:#f9fbf7; color:#2d5037; font:600 14px/1.4 Arial,sans-serif; cursor:pointer; }
.jf-video-share [role=status] { display:block; margin-top:5px; font:12px/1.5 Arial,sans-serif; color:#36543e; }
.jf-video-share [role=status]:empty { display:none; }
.jf-video-copy:disabled { opacity:.6; cursor:wait; }
.jf-video-manual-copy { display:block; box-sizing:border-box; width:100%; min-width:0; min-height:44px; padding:8px; margin-top:8px; border:1px solid #a6b69c; border-radius:5px; font-size:14px; }
#jf-video-more { display:block; margin:24px auto; }
#jf-video-empty { margin:20px 0; padding:18px; background:#f4f6f1; border:1px solid #dce4d7; border-radius:9px; }
#jf-video-empty p { margin-top:0; }
.jf-video-scope-note { max-width:850px; font:13px/1.6 Arial,sans-serif; color:#586a5e; }
.jf-video-showcase :focus-visible { outline:3px solid #a48155; outline-offset:3px; }
@media(max-width:900px) { #jf-video-results { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; } }
@media(max-width:520px) { #jf-video-results { grid-template-columns:1fr; gap:16px; } .jf-video-sort-row { align-items:stretch; flex-direction:column; } .jf-video-sort-row select { width:100%; } #jf-video-results .jf-video-photo-link>img { height:185px; } }
@media(prefers-reduced-motion:reduce) { #jf-video-results { scroll-behavior:auto; } }
