/* Mersalko gallery v2: soft continuous movement, elegant phones, original brand palette. */
#templates .showcase-shell,#wedding-videos .showcase-shell{position:relative;isolation:isolate;margin-block:20px 6px}
.showcase-shell{--showcase-card:178px;--showcase-gap:23px;--showcase-navy:var(--ink,#142d40)}
.showcase-shell .showcase-track{display:flex!important;direction:rtl;gap:var(--showcase-gap);overflow-x:auto;overflow-y:hidden;scroll-snap-type:none!important;scroll-behavior:auto!important;overscroll-behavior-x:contain;scrollbar-width:none;padding:23px 18px 38px;width:100%;min-width:0;max-width:100%;touch-action:pan-x pan-y;align-items:flex-start;contain:layout style}
.showcase-shell .showcase-track::-webkit-scrollbar{display:none}
.showcase-shell[data-direction='ltr'] .showcase-track{direction:ltr}
.showcase-shell .template,.showcase-shell .showcase-video-card{flex:0 0 var(--showcase-card);width:var(--showcase-card);min-width:0;position:relative;overflow:visible;scroll-snap-align:none;isolation:isolate;padding-bottom:2px}
.showcase-shell .template[hidden],.showcase-shell .showcase-video-card[hidden]{display:none!important}
.showcase-shell .showcase-visual{position:relative;display:block;width:100%;padding:0;border:0;background:transparent;text-align:center;color:inherit;isolation:isolate}
.showcase-shell .showcase-visual:before{content:"";position:absolute;inset:11% -4% 4%;background:radial-gradient(ellipse at 50% 67%,#dfa98226,transparent 67%);filter:blur(12px);z-index:-1;pointer-events:none}
.showcase-shell .showcase-visual:after{content:"";position:absolute;bottom:-11px;left:-8%;width:116%;height:31px;border-radius:50% / 55%;background:linear-gradient(180deg,#fffdfa 0%,#eddfd0 65%,#d0beae 100%);border:1px solid #e8d7c3;box-shadow:0 9px 16px #15283d19,0 4px 0 #dfcdbc;z-index:0;pointer-events:none}
.showcase-shell .phone-frame{width:100%;aspect-ratio:9/17.8;background:linear-gradient(140deg,#293537,#070d11 28%,#222a2d 70%,#586166);border:3px solid #2c373a;border-radius:31px;display:block;padding:5px;box-shadow:0 20px 30px #142d4033,0 5px 7px #142d4029,inset 0 0 0 1px #c7d1d055,2px 0 1px #e9e9e955;position:relative;z-index:2;transition:transform .27s ease,box-shadow .27s ease;overflow:hidden;will-change:transform}
.showcase-shell .phone-frame:after{content:"";position:absolute;pointer-events:none;inset:4px 4px 4px 55%;border-radius:0 27px 27px 0;background:linear-gradient(125deg,#fff2,transparent 35%,#fff1 50%,transparent 65%);z-index:3;opacity:.48}
.showcase-shell .phone-screen{position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden;width:100%;height:100%;border-radius:23px;background:linear-gradient(145deg,#f7f3eb,#e9e5de)}
.showcase-shell .phone-screen img,.showcase-shell .phone-screen video{width:100%;height:100%;display:block;object-fit:contain;object-position:center}
.showcase-shell .showcase-video-card .phone-screen img,.showcase-shell .showcase-video-card .phone-screen video{object-fit:cover}
.showcase-shell .phone-camera{pointer-events:none;position:absolute;z-index:5;top:6px;left:50%;transform:translateX(-50%);width:29%;height:12px;border-radius:0 0 10px 10px;background:#101719}
.showcase-shell .phone-home{position:absolute;pointer-events:none;z-index:5;bottom:10px;left:36%;right:36%;height:3px;background:#fafbf1be;border-radius:100px}
.showcase-shell .showcase-visual:hover .phone-frame,.showcase-shell .showcase-visual:focus-visible .phone-frame{transform:translateY(-7px);box-shadow:0 26px 37px #142d4047,0 6px 10px #142d4030}
.showcase-shell .showcase-meta{padding:26px 2px 2px;display:flex;flex-direction:column;align-items:center;gap:7px;text-align:center;direction:rtl}
.showcase-shell .showcase-meta h3{margin:0;font-size:13px;font-weight:700;color:var(--ink,#142d40);line-height:1.7}
.showcase-shell .showcase-meta a{background:var(--ink,#142d40);color:#fff;border-radius:30px;padding:7px 16px;font-size:11px;line-height:1.6;display:inline-flex;align-items:center;justify-content:center;min-height:32px;box-shadow:0 3px 10px #142d4024;text-decoration:none}
.showcase-shell .showcase-meta a:hover,.showcase-shell .showcase-meta a:focus-visible{background:var(--teal,#16a99a)}
.showcase-shell .showcase-arrow{position:absolute;z-index:6;top:41%;width:40px;height:40px;padding:0;border:1px solid #d7dfd9;display:grid;place-items:center;border-radius:50%;background:#fffefaed;box-shadow:0 7px 18px #142d4038;color:var(--ink,#142d40);font-size:29px;line-height:1;cursor:pointer}
.showcase-shell .showcase-prev{right:-13px}.showcase-shell .showcase-next{left:-13px}
.showcase-shell .showcase-arrow:hover{background:var(--ink,#142d40);color:white}
.showcase-shell .video-play{position:absolute;z-index:6;top:48%;left:50%;transform:translate(-50%,-50%);border:1.5px solid #ffffffd9;border-radius:50%;width:50px;height:50px;background:#142d4088;color:white;backdrop-filter:blur(5px);font-size:20px;display:grid;place-items:center;padding:0;cursor:pointer}
.showcase-shell .video-play:hover{background:var(--teal,#16a99a)}
.showcase-shell .video-time{position:absolute;z-index:5;top:27px;left:14px;padding:3px 8px;border-radius:12px;color:white;background:#142d40df;direction:ltr;font:11px Arial,sans-serif}
.showcase-shell .showcase-visual[data-previewing='true'] .video-play{background:#142d40b0}
.showcase-shell[data-style='classic'] .phone-frame{border-radius:12px;padding:0;border:0;background:var(--ivory,#f6f3eb);aspect-ratio:3/4}
.showcase-shell[data-style='classic'] .phone-screen{border-radius:12px}.showcase-shell[data-style='classic'] .phone-camera,.showcase-shell[data-style='classic'] .phone-home{display:none}
.showcase-shell[data-style='classic'] .showcase-visual:after{opacity:.45}
.showcase-section-head{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.showcase-section-head h2{margin:0 0 8px}.showcase-section-head p{margin:0;color:var(--muted,#67747a);font-size:12px}
.showcase-view-all,.showcase-show-all{border:1px solid #cbd9d3;border-radius:30px;padding:8px 16px;background:#fff;display:inline-block;font-size:11px;color:var(--ink,#142d40)}
.showcase-show-all{margin-top:10px}.showcase-show-all:hover,.showcase-view-all:hover{background:#edf2ee}
#wedding-videos.video-showcase-section{background:linear-gradient(115deg,var(--ink,#142d40),#0b3737);color:#fff;padding-top:40px;padding-bottom:35px;border-radius:23px;max-width:1190px;margin-inline:auto;margin-block:38px;box-shadow:0 18px 40px #142d4022}
#wedding-videos .eyebrow{color:#9bcdbb}#wedding-videos .showcase-section-head p{color:#d1e0de}
#wedding-videos .showcase-view-all{background:transparent;border-color:#8ca7a8;color:#fff}
#wedding-videos .showcase-meta h3{color:#fff}#wedding-videos .showcase-meta a{background:var(--teal,#16a99a);color:#fff}
#wedding-videos .showcase-visual:after{background:linear-gradient(180deg,#fcf6e8,#decdad,#bcaa95)}
#wedding-videos .showcase-arrow{background:#f6f3eb}
.showcase-empty{padding:40px 20px;text-align:center;color:var(--muted,#67747a);font-size:13px}
@media(max-width:760px){.showcase-shell{--showcase-card:158px;--showcase-gap:17px}.showcase-shell .phone-frame{border-radius:26px}.showcase-shell .phone-screen{border-radius:19px}.showcase-shell .showcase-track{padding:13px 8px 32px}.showcase-shell .showcase-prev{right:-8px}.showcase-shell .showcase-next{left:-8px}.showcase-shell .showcase-arrow{width:30px;height:30px;font-size:24px}.showcase-section-head{align-items:start}#wedding-videos.video-showcase-section{margin-inline:14px;border-radius:16px;padding:25px 12px}}
@media(prefers-reduced-motion:reduce){.showcase-shell .phone-frame{transition:none}.showcase-shell .showcase-track{scroll-behavior:auto!important}}

/* v0.5.32 — arrows remain visible on touch screens and without hover. */
.showcase-shell .showcase-arrow{opacity:1!important;visibility:visible!important;display:grid!important;pointer-events:auto!important;z-index:30!important;min-width:44px;min-height:44px;touch-action:manipulation;-webkit-tap-highlight-color:transparent;background:#fff!important;color:#142d40!important;border:2px solid #d7dfd9!important;box-shadow:0 5px 18px rgba(20,45,64,.22)!important;}
.showcase-shell .showcase-arrow:hover,.showcase-shell .showcase-arrow:focus-visible,.showcase-shell .showcase-arrow:active{background:#142d40!important;color:#fff!important;border-color:#142d40!important;}
@media(max-width:760px),(pointer:coarse){.showcase-shell .showcase-arrow{width:44px!important;height:44px!important;font-size:28px!important;top:39%!important;} .showcase-shell .showcase-prev{right:2px!important;} .showcase-shell .showcase-next{left:2px!important;}}

/* v0.5.36: mobile / desktop arrows are rendered even without hover. */
#templates .showcase-arrow,#wedding-videos .showcase-arrow{display:grid!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;z-index:100!important;min-width:48px!important;min-height:48px!important;touch-action:manipulation!important;top:40%;}
#templates .showcase-prev,#wedding-videos .showcase-prev{right:5px!important;}
#templates .showcase-next,#wedding-videos .showcase-next{left:5px!important;}
#templates .showcase-arrow:focus-visible,#wedding-videos .showcase-arrow:focus-visible{outline:3px solid #16a99a;outline-offset:2px;}
@media(max-width:760px){#templates .showcase-arrow,#wedding-videos .showcase-arrow{width:48px!important;height:48px!important;top:35%!important;}}

/* v0.5.37: vertical page scrolling remains available over the invitation cards and media. */
.showcase-shell .showcase-track,.showcase-shell .showcase-visual,.showcase-shell .phone-frame,.showcase-shell .phone-screen,.showcase-shell .phone-screen img,.showcase-shell .phone-screen video{touch-action:pan-x pan-y!important;}
