.rosary-preview-link{display:block;text-decoration:none;color:#174f6b;border-radius:1.2rem;overflow:hidden;background:#fffdf8;box-shadow:0 14px 36px #174f6b14}
.rosary-preview-link>img{display:block;width:100%;height:auto}
.rosary-preview-caption{display:flex;justify-content:center;align-items:center;gap:.65rem;padding:.9rem 1rem;background:#174f6b;color:white;font:700 15px/1.4 Arial,sans-serif;text-align:center}
.rosary-preview-link:focus-visible,[data-rosary-preview]:focus-visible{outline:4px solid #ed3c7c;outline-offset:4px}
.rosary-preview-link:hover .rosary-preview-caption{background:#106b7f}
.rosary-hero .rosary-preview-link{width:100%;max-width:560px;justify-self:center}
.rosary-preview-link .rosary-hero-image{border:0;border-radius:0;box-shadow:none}
#product-walkable .product-art{padding:0;background:#fffdf8;overflow:hidden;flex-direction:column;gap:0;height:auto}
#product-walkable .product-art img{width:100%;max-width:100%;max-height:none;height:auto;border-radius:0;box-shadow:none}
#product-walkable .product-art:hover img{transform:none}
#product-walkable .rosary-preview-caption{width:100%;font-size:13px;padding:.75rem .4rem}
.prayer-image .rosary-preview-link>img{border-radius:0;box-shadow:none}
.prayer-image .rosary-preview-caption{position:static;display:flex;border-radius:0;font:700 15px/1.4 Arial,sans-serif;background:#174f6b;color:#fff;transform:none;margin:0;padding:.9rem 1rem}
dialog.rosary-preview-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(94vw,540px);max-width:94vw;height:fit-content;max-height:94vh;max-height:94dvh;margin:auto;padding:16px;border:1px solid #d8e9e5;border-radius:18px;overflow:auto;background:#fffdf8;color:#174f6b;box-shadow:0 20px 70px #0005}
dialog.rosary-preview-dialog::backdrop{background:#071c27cf}
.rosary-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.rosary-preview-heading h2{font:700 18px/1.3 Arial,sans-serif;letter-spacing:normal;margin:0}
.rosary-preview-close{flex-shrink:0;width:44px;height:44px;border:1px solid #d8e9e5;border-radius:50%;background:white;color:#174f6b;cursor:pointer;font:700 20px Arial,sans-serif}
dialog.rosary-preview-dialog video{display:block;width:100%;height:auto;max-height:calc(94vh - 170px);max-height:calc(94dvh - 170px);margin:auto;background:#fffdf8;object-fit:contain;border-radius:10px}
.rosary-preview-links{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px 12px;margin:10px 0 0;font:600 13px/1.4 Arial,sans-serif}
.rosary-preview-links a{display:flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:3px;color:#174f6b}
.rosary-preview-dialog a:focus-visible,.rosary-preview-close:focus-visible{outline:3px solid #ed3c7c;outline-offset:2px}
@media(max-width:420px){#product-walkable .rosary-preview-caption{font-size:11px}.rosary-preview-heading h2{font-size:16px}}
