/* The site's click-to-load video player (assets/sample-video.js): the "Watch what you get" link of the "Need a sample first?" box
   and the builders' "Watch how it works" link open the same framed box: a top bar (title + Close button) and the video under it. */
.ps-sample-video a.ps-sample-video-link,.plato-video-line a.plato-video-link{color:#5c4934;font-weight:600;text-decoration:underline;text-underline-offset:3px}
.ps-sample-video a.ps-sample-video-link:hover,.plato-video-line a.plato-video-link:hover{color:#302b26}
.ps-sample-video a.ps-sample-video-link:focus-visible,.plato-video-line a.plato-video-link:focus-visible{outline:3px solid #8c7250;outline-offset:3px}
/* Any other video link (.plato-video-link, e.g. under a FAQ answer): the box opens right after the link's own line. */
.plato-video-inline{margin:12px 0}
.plato-video-box{box-sizing:border-box;width:100%;max-width:640px;border:1px solid #e4ded5;border-radius:12px;overflow:hidden;background:#f8f6f1}
/* Sample video: the box opens right under the card row, as the next element after it (never inside the row: an extra item in that
   auto-fit grid adds a column and narrows the cards). 12 px under the cards in both places: the product page parent is a flex box with its own 10 px gap. */
.ps-sample-video-box{flex:0 0 100%;clear:both}
.plato-cta-row + .ps-sample-video-box{margin-top:2px}
.ptb-cta + .ps-sample-video-box{margin-top:12px}
.plato-video-box .plato-video-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:6px 6px 6px 14px}
.plato-video-box .plato-video-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;line-height:1.4;font-weight:600;color:#3f4245}
.plato-video-box button.plato-video-close{appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:center;gap:6px;width:auto;min-width:0;height:auto;min-height:40px;margin:0;padding:6px 12px;background:#fff;color:#66583e;border:1px solid #a79778;border-radius:5px;box-shadow:none;font-size:14px;line-height:1.2;font-weight:600;cursor:pointer}
.plato-video-box button.plato-video-close:hover{background:#eee8dc}
.plato-video-box button.plato-video-close:focus-visible{outline:2px solid #66583e;outline-offset:3px}
.plato-video-box .plato-video-x{font-size:20px;line-height:1}
.plato-video-box .plato-video-frame{aspect-ratio:16/9;background:#000}
.plato-video-box .plato-video-frame iframe{display:block;width:100%;height:100%;border:0}
