/* Sera home page (sera-home.js). Mobile-first; scoped to .sh-home and the live-preview modal. */
.sh-home{--sh-ink:#2b2522;--sh-muted:#6c625b;--sh-gold:#b08a4e;--sh-accent:#8a4b46;--sh-paper:#fffcf7;--sh-bg:#f6f0e7;--sh-line:#e7dccd;background:var(--sh-bg);color:var(--sh-ink);overflow-x:clip}
.sh-home section{scroll-margin-top:72px}
.sh-eyebrow{margin:0 0 .6em;font:700 .7rem/1.6 "DM Sans",system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--sh-accent)}
.sh-section-head{max-width:40rem;margin:0 auto 26px;text-align:center;padding:0 18px}
.sh-section-head h2{margin:0 0 .35em;font:400 clamp(1.9rem,6.4vw,2.8rem)/1.12 "DM Serif Display",Georgia,serif;color:var(--sh-ink)}
.sh-section-head p{margin:0 auto;max-width:34rem;color:var(--sh-muted);line-height:1.65}
.sh-ico{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}

/* Hero */
.sh-hero{position:relative;display:grid;gap:30px;padding:34px 18px 46px;isolation:isolate}
.sh-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse 80% 60% at 70% 30%,#e9d6b366,transparent 70%),radial-gradient(ellipse 60% 50% at 10% 90%,#d9b9ae55,transparent 70%)}
.sh-hero-copy{max-width:36rem}
.sh-hero h1{margin:0 0 .35em;font:400 clamp(2.4rem,10.5vw,4.4rem)/1.04 "DM Serif Display",Georgia,serif;letter-spacing:-.01em;color:var(--sh-ink)}
.sh-hero h1 em{font-style:italic;color:var(--sh-accent)}
.sh-lead{margin:0 0 22px;font-size:1.04rem;line-height:1.7;color:var(--sh-muted)}
.sh-actions{display:flex;flex-wrap:wrap;gap:10px}
.sh-btn{min-height:48px;padding:0 22px;border-radius:999px;font-size:.92rem}
.sh-trust{display:flex;flex-wrap:wrap;gap:8px 18px;margin:20px 0 0;padding:0;list-style:none;color:var(--sh-muted);font-size:.86rem}
.sh-trust li::before{content:"✦ ";color:var(--sh-gold)}
.sh-hero-phones{display:flex;justify-content:center;align-items:flex-end;gap:14px;min-height:0}
.sh-hero-phones .sh-phone.is-side{display:none}

/* Phone frame */
.sh-phone{margin:0;display:grid;justify-items:center;gap:10px;flex:none}
.sh-phone-body{position:relative;width:min(272px,74vw);aspect-ratio:9/19;padding:10px;border-radius:44px;background:linear-gradient(145deg,#2c2b30,#0f0f12 60%,#26252a);box-shadow:inset 0 0 0 1.5px #4a4950,inset 0 0 0 3px #111,0 30px 60px -18px rgba(40,25,15,.45),0 12px 24px -12px rgba(0,0,0,.35)}
.sh-phone-island{position:absolute;top:18px;left:50%;z-index:3;width:30%;height:22px;transform:translateX(-50%);border-radius:999px;background:#060607}
.sh-phone-screen{position:relative;width:100%;height:100%;overflow:hidden;border-radius:35px;background:#f3ede4}
.sh-phone-poster{position:absolute;inset:0}
.sh-phone-poster .sx-mini{border-radius:0}
.sh-phone-play{position:absolute;left:50%;bottom:16px;z-index:4;transform:translateX(-50%);min-height:44px;padding:0 18px;border:0;border-radius:999px;background:rgba(18,16,22,.78);color:#fff;font:600 .8rem/1 "DM Sans",system-ui,sans-serif;white-space:nowrap;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer;box-shadow:0 6px 16px rgba(0,0,0,.25)}
.sh-phone-play:hover,.sh-phone-play:focus-visible{background:rgba(18,16,22,.92)}
.sh-phone iframe{position:absolute;top:0;left:0;z-index:5;width:375px;border:0;transform-origin:0 0;background:#f3ede4;opacity:0;transition:opacity .4s ease}
.sh-phone.is-loaded iframe{opacity:1}
.sh-phone figcaption{display:flex;gap:10px;align-items:baseline;font-size:.86rem;color:var(--sh-muted)}
.sh-phone figcaption strong{color:var(--sh-ink);font-weight:600}
.sh-phone figcaption a{color:var(--sh-accent);text-decoration:none;font-weight:600}

/* Showcase strip */
.sh-showcase{padding:46px 0 40px;background:linear-gradient(180deg,var(--sh-bg),#efe5d8)}
.sh-view-toggle{display:inline-flex;gap:4px;margin-top:18px;padding:4px;border:1px solid var(--sh-line);border-radius:999px;background:var(--sh-paper)}
.sh-view-toggle button{display:inline-flex;align-items:center;gap:6px;min-height:40px;padding:0 16px;border:0;border-radius:999px;background:transparent;color:var(--sh-muted);font:600 .84rem/1 "DM Sans",system-ui,sans-serif;cursor:pointer}
.sh-view-toggle button.is-active{background:var(--sh-ink);color:#fff}
.sh-view-toggle .sh-ico{width:16px;height:16px}
.sh-strip{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 18px 22px;scrollbar-width:thin}
.sh-strip .sh-phone{scroll-snap-align:center}
.sh-strip .sh-phone-body{width:min(236px,64vw)}
.sh-strip[data-view="plain"] .sh-phone-body{padding:0;border-radius:18px;background:none;box-shadow:0 18px 40px -16px rgba(40,25,15,.35);aspect-ratio:4/5}
.sh-strip[data-view="plain"] .sh-phone-island{display:none}
.sh-strip[data-view="plain"] .sh-phone-screen{border-radius:18px}
.sh-strip[data-view="plain"] .sh-phone.is-live .sh-phone-body{aspect-ratio:9/19}

/* Values and steps */
.sh-values{padding:56px 18px 50px;background:var(--sh-paper)}
.sh-value-grid{display:grid;grid-template-columns:1fr;gap:12px;max-width:1080px;margin:0 auto}
.sh-value{padding:20px 20px 18px;border:1px solid var(--sh-line);border-radius:18px;background:#fff}
.sh-value .sh-ico{color:var(--sh-accent);width:26px;height:26px}
.sh-value h3{margin:10px 0 4px;font:400 1.25rem/1.3 "DM Serif Display",Georgia,serif}
.sh-value p{margin:0;color:var(--sh-muted);line-height:1.6;font-size:.95rem}
.sh-steps{counter-reset:sh;display:grid;gap:12px;max-width:1080px;margin:28px auto 0;padding:0;list-style:none}
.sh-steps li{counter-increment:sh;display:grid;grid-template-columns:44px 1fr;gap:4px 12px;align-items:start;padding:16px;border-radius:16px;background:var(--sh-bg)}
.sh-steps li::before{content:counter(sh);grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:var(--sh-ink);color:#fff;font:400 1.2rem/1 "DM Serif Display",Georgia,serif}
.sh-steps strong{font-size:1rem}
.sh-steps span{color:var(--sh-muted);font-size:.92rem;line-height:1.55}

/* Existing sections inside the new home */
.sh-home .event-types,.sh-home .package-showcases,.sh-home .shop-design-gallery,.sh-home .shop-custom-request{padding-left:18px;padding-right:18px}
.sh-home .shop-section-head h2{font-family:"DM Serif Display",Georgia,serif;font-weight:400}

/* Gallery phone view */
.sh-gallery-toggle{display:flex;width:max-content;margin:16px auto 0}
.sh-gallery.is-phone-view .shop-template-grid{grid-template-columns:repeat(auto-fill,minmax(178px,1fr))}
.sh-gallery.is-phone-view .shop-template-card{background:transparent!important;border:0!important;box-shadow:none!important;overflow:visible}
.sh-gallery.is-phone-view .shop-template-image.sx-mini-box{aspect-ratio:9/19;margin:0 auto;width:min(100%,220px);padding:8px;border-radius:34px;background:linear-gradient(145deg,#2c2b30,#0f0f12 60%,#26252a);box-shadow:inset 0 0 0 1.5px #4a4950,0 20px 40px -18px rgba(40,25,15,.5);overflow:hidden}
.sh-gallery.is-phone-view .shop-template-image.sx-mini-box .sx-mini{inset:8px;border-radius:27px}
.sh-gallery.is-phone-view .shop-template-image.sx-mini-box>span{top:18px;right:18px;z-index:2}
.sh-gallery.is-phone-view .shop-template-image.sx-mini-box::after{content:"Tap to try live";position:absolute;left:50%;bottom:20px;z-index:3;transform:translateX(-50%);padding:9px 14px;border-radius:999px;background:rgba(18,16,22,.78);color:#fff;font:600 .72rem/1 "DM Sans",system-ui,sans-serif;white-space:nowrap}
.sh-gallery.is-phone-view .shop-template-copy{text-align:center}
.sh-gallery.is-phone-view .shop-template-copy small,.sh-gallery.is-phone-view .shop-template-tags{display:none}

/* FAQ */
.sh-faq{padding:54px 18px 40px}
.sh-faq-list{max-width:760px;margin:0 auto;display:grid;gap:10px}
.sh-faq details{border:1px solid var(--sh-line);border-radius:16px;background:var(--sh-paper)}
.sh-faq summary{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:56px;padding:14px 18px;cursor:pointer;font-weight:600;list-style:none}
.sh-faq summary::-webkit-details-marker{display:none}
.sh-faq summary::after{content:"+";flex:none;font-size:1.4rem;line-height:1;color:var(--sh-accent);transition:transform .2s ease}
.sh-faq details[open] summary::after{transform:rotate(45deg)}
.sh-faq details p{margin:0;padding:0 18px 16px;color:var(--sh-muted);line-height:1.65}

/* Live preview modal */
.sh-modal{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;background:rgba(20,16,14,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.sh-modal-inner{display:grid;justify-items:center;gap:14px;max-height:100%}
.sh-modal .sh-phone-body{width:min(300px,78vw,calc((100dvh - 140px) * 9 / 19))}
.sh-modal .sh-phone figcaption{color:#f3e9dc}
.sh-modal .sh-phone figcaption strong{color:#fff}
.sh-modal .sh-phone figcaption a{display:none}
.sh-modal-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:center}
.sh-modal-actions .btn{min-height:44px;border-radius:999px}
.sh-modal-open,.sh-modal-open body{overflow:hidden}

@media (min-width:720px){
  .sh-value-grid{grid-template-columns:repeat(3,1fr)}
  .sh-steps{grid-template-columns:repeat(3,1fr)}
}
@media (min-width:980px){
  .sh-hero{grid-template-columns:minmax(0,1fr) auto;gap:40px;align-items:center;max-width:1240px;margin:0 auto;padding:56px 32px 70px}
  .sh-hero-phones{gap:10px}
  .sh-hero-phones .sh-phone.is-side{display:grid}
  .sh-hero-phones .sh-phone.is-side .sh-phone-body{width:188px;opacity:.95}
  .sh-hero-phones .sh-phone.is-side:first-child{transform:translateY(26px) rotate(-4deg)}
  .sh-hero-phones .sh-phone.is-side:last-child{transform:translateY(26px) rotate(4deg)}
  .sh-hero-phones .sh-phone.is-center .sh-phone-body{width:256px}
  .sh-strip{justify-content:flex-start;padding-left:max(18px,calc((100vw - 1240px) / 2))}
}
@media (prefers-reduced-motion:reduce){.sh-phone iframe{transition:none}}

/* Keep names clear of the 'Tap to try live' label on phone posters */
.sh-phone-poster .sx-mini,.sh-gallery.is-phone-view .sx-mini{padding-bottom:24%}
.sh-phone-poster .sx-mini[data-cover="split"]::before,.sh-gallery.is-phone-view .sx-mini[data-cover="split"]::before{bottom:17%}
.sh-phone-poster .sx-mini[data-cover="split"] .sx-mini-photo,.sh-gallery.is-phone-view .sx-mini[data-cover="split"] .sx-mini-photo{bottom:46%}
.sh-phone-poster .sx-mini[data-cover="full"],.sh-gallery.is-phone-view .sx-mini[data-cover="full"]{padding-bottom:30%}

/* ---------- Gallery-first layout (v2) ---------- */
.sh-hero{padding:26px 18px 22px;gap:18px}
/* Phones: headline first, then the Sera collection gallery, then the buttons and trust points */
@media (max-width:979px){
  .sh-home{display:flex;flex-direction:column;gap:18px}
  .sh-home > *{order:10}
  .sh-eyebrow,.sh-hero h1,.sh-lead,.sh-actions,.sh-trust{margin-left:18px;margin-right:18px}
  .sh-eyebrow{margin-top:26px}
  .sh-actions{display:flex;flex-direction:column;gap:10px}
  .sh-home > nav,.sh-home > .shop-nav{order:0}
  .sh-hero,.sh-hero-copy{display:contents}
  .sh-hero::before{display:none}
  .sh-hero-phones{display:none}
  .sh-eyebrow{order:1}
  .sh-hero h1{order:2}
  .sh-lead{order:3}
  #design-gallery{order:4}
  .sh-actions{order:5;margin-top:8px}
  .sh-trust{order:6;margin-top:0}
}
.sh-hero h1{font-size:clamp(2.1rem,9vw,3.9rem)}
.sh-lead{margin:0 0 18px}
.sh-hero-phones{display:none}
.sh-wa .sh-ico{width:18px;height:18px;margin-right:6px}
.sh-actions .btn{display:inline-flex;align-items:center;justify-content:center}
@media (max-width:519px){.sh-actions .sh-btn{flex:1 1 100%}}
.sh-trust{margin-top:16px}
@media (min-width:980px){
  .sh-hero{padding:44px 32px 30px}
  .sh-hero-phones{display:flex}
  .sh-hero-phones .sh-phone.is-center .sh-phone-body{width:236px}
}
.sh-home .sh-gallery{padding-top:28px;padding-bottom:36px;background:var(--sh-paper)}
.sh-gallery .shop-section-head{text-align:center;max-width:40rem;margin:0 auto 14px}
.sh-gallery .shop-section-head h2{margin:0 0 .3em;font-size:clamp(1.8rem,6vw,2.6rem)}
.sh-gallery .shop-section-head p:not(.sh-eyebrow){margin:0;color:var(--sh-muted)}
.sh-chipbar{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 12px;margin:0 -18px 6px;padding-left:18px;padding-right:18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.sh-chipbar::-webkit-scrollbar{display:none}
@media (min-width:720px){.sh-chipbar{flex-wrap:wrap;justify-content:center;overflow:visible;margin:0 0 6px}}
.sh-chip{flex:none;display:inline-flex;align-items:center;gap:6px;min-height:42px;padding:0 16px;border:1px solid var(--sh-line);border-radius:999px;background:#fff;color:var(--sh-ink);font:600 .86rem/1 "DM Sans",system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.sh-chip[lang="si"]{font-family:"Noto Sans Sinhala","DM Sans",sans-serif;font-size:.92rem}
.sh-chip.is-active{background:var(--sh-ink);border-color:var(--sh-ink);color:#fff}
.sh-chip .sh-ico{width:16px;height:16px}
.sh-chip-more[aria-expanded="true"]{border-color:var(--sh-accent);color:var(--sh-accent)}
.sh-gallery:not(.sh-filters-open) .shop-template-toolbar{display:none}
.sh-gallery:not(.sh-filters-open) .shop-template-language{display:none}
.sh-gallery .shop-template-filters{justify-content:center;margin-bottom:10px}
.sh-gallery-toggle{display:none}
.sh-gallery .shop-template-card.sh-over{display:none}
.sh-more{display:flex;justify-content:center;margin:22px 0 0}
.sh-more[hidden]{display:none}
.sh-badge{display:inline-block;justify-self:center;width:max-content;margin:2px auto 4px;padding:3px 9px;border-radius:999px;background:#efe5d8;color:#5d4a2a;font:700 .62rem/1.3 "DM Sans",system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase}
.sh-badge.is-new{background:var(--sh-accent);color:#fff}
.sh-gallery:not(.is-phone-view) .sh-badge{margin-left:0}
@media (max-width:719px){
  .sh-gallery.is-phone-view .shop-template-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 12px}
  .sh-gallery.is-phone-view .shop-template-image.sx-mini-box{padding:6px;border-radius:26px}
  .sh-gallery.is-phone-view .shop-template-image.sx-mini-box .sx-mini{inset:6px;border-radius:21px}
  .sh-gallery.is-phone-view .shop-template-image.sx-mini-box::after{bottom:14px;padding:8px 11px;font-size:.68rem}
  .sh-gallery.is-phone-view .shop-template-image.sx-mini-box>span{top:12px;right:12px;font-size:.62rem}
  .sh-gallery.is-phone-view .shop-template-copy strong{font-size:.92rem}
}
.sh-how{padding:46px 18px 34px;background:var(--sh-bg)}
.sh-how .sh-steps{margin-top:0}
.sh-how .sh-steps li{background:var(--sh-paper)}
/* Sticky WhatsApp bar on phones */
.sh-wa-bar{display:none}
@media (max-width:719px){
  .sh-home{padding-bottom:76px}
  .sh-wa-bar{position:fixed;left:0;right:0;bottom:0;z-index:40;display:block;padding:10px 14px calc(10px + env(safe-area-inset-bottom));background:color-mix(in srgb,var(--sh-paper) 90%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--sh-line)}
  .sh-wa-bar-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:50px;border:0;border-radius:999px;background:#1f7a4d;color:#fff;font:700 .95rem/1 "DM Sans",system-ui,sans-serif;text-decoration:none;cursor:pointer}
  .sh-wa-bar-btn .sh-ico{width:20px;height:20px}
  .sh-modal-open .sh-wa-bar{display:none}
}
/* Modal actions */
.sh-modal-actions .sh-wa{background:#1f7a4d;border-color:#1f7a4d;color:#fff}
.sh-modal-actions .sh-wa .sh-ico{width:18px;height:18px;margin-right:6px}
.sh-modal-close{min-width:44px;color:#fff;border:1px solid rgba(255,255,255,.35)}
.sh-modal .sh-phone-body{width:min(290px,74vw,calc((100dvh - 150px) * 9 / 19))}
.sh-eyebrow [lang="si"]{letter-spacing:0;text-transform:none;font-family:"Noto Sans Sinhala",sans-serif;font-size:1.1em}
.sh-gallery.is-phone-view .shop-template-copy>span{display:none}
.sh-gallery .shop-section-head{display:block!important;grid-template-columns:none!important;text-align:center}
.sh-gallery .shop-section-head>*{max-width:none}
@media (min-width:980px){.sh-hero{max-width:1120px}}
.sh-gallery.is-phone-view .shop-template-copy{display:flex;flex-direction:column;align-items:center}
.sh-gallery.is-phone-view .shop-template-copy .sh-badge{order:2;margin:4px 0 0}
/* v8: separate language switch (Product Planner review) */
.sh-langbar{display:flex;width:max-content;max-width:100%;margin:0 auto 12px;padding:4px;gap:2px;border:1px solid var(--sh-line);border-radius:999px;background:#fff}
.sh-langbar button{min-height:38px;padding:0 14px;border:0;border-radius:999px;background:none;color:var(--sh-muted);font:600 .82rem/1 "DM Sans",system-ui,sans-serif;cursor:pointer;white-space:nowrap}
.sh-langbar button[lang="si"]{font-family:"Noto Sans Sinhala","DM Sans",sans-serif;font-size:.9rem}
.sh-langbar button.is-active{background:var(--sh-accent);color:#fff}
@media (max-width:719px){.sh-langbar{margin-left:0}}
/* Sticky WhatsApp bar is secondary: the gallery stays the main action */
@media (max-width:719px){.sh-wa-bar-btn{background:#fff;color:#1f6a43;border:1.5px solid #1f7a4d}}
/* ---------- Motion v2 (18 Nov 2026): hero envelope reel, gallery reveal, preview pop ----------
   Pattern-level ideas from invitation ads (envelope opens, card appears, soft petals); our own code. CSS only, no images. */
.sh-reel{position:relative;width:200px;height:132px;margin:20px auto 0;perspective:700px}
.sh-reel-env{position:absolute;left:20px;right:20px;bottom:6px;height:104px}
.sh-reel-back,.sh-reel-front,.sh-reel-flap{position:absolute;left:0;right:0;border-radius:6px}
.sh-reel-back{top:0;bottom:0;background:#d9b9ae;box-shadow:0 14px 28px -10px rgba(60,30,20,.45)}
.sh-reel-card{position:absolute;left:8%;right:8%;top:6%;height:88%;z-index:1;display:grid;place-content:center;gap:2px;padding:6px;border-radius:3px;background:#fffcf7;text-align:center;box-shadow:0 2px 6px rgba(0,0,0,.12)}
.sh-reel-card em{font:italic .5rem/1.2 "DM Serif Display",Georgia,serif;color:#8a4b46;letter-spacing:.06em;text-transform:uppercase}
.sh-reel-card b{font:400 1.02rem/1.15 "DM Serif Display",Georgia,serif;color:#2b2522}
.sh-reel-card small{font:600 .5rem/1.2 "DM Sans",system-ui,sans-serif;color:#6c625b;letter-spacing:.14em}
.sh-reel-front{top:0;bottom:0;z-index:2;background:#e8cfc6;clip-path:polygon(0 0,50% 52%,100% 0,100% 100%,0 100%)}
.sh-reel-flap{top:0;height:56%;z-index:3;background:linear-gradient(180deg,#f0dcd4,#e3c4b9);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top center}
.sh-reel-seal{position:absolute;left:50%;top:50%;z-index:4;width:26px;height:26px;margin:-13px 0 0 -13px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#c98a84 0 12%,#8a4b46 55%,#5e2f2b);box-shadow:0 3px 6px rgba(0,0,0,.3)}
.sh-reel>i{position:absolute;top:0;left:var(--x,50%);width:7px;height:10px;border-radius:80% 0 80% 0;background:#d9a7a0;opacity:0}
.sh-reel>i:nth-of-type(1){--x:18%;--dx:-14px}.sh-reel>i:nth-of-type(2){--x:34%;--dx:10px;background:#b08a4e}.sh-reel>i:nth-of-type(3){--x:50%;--dx:-8px}.sh-reel>i:nth-of-type(4){--x:64%;--dx:14px;background:#b08a4e}.sh-reel>i:nth-of-type(5){--x:78%;--dx:-10px}.sh-reel>i:nth-of-type(6){--x:88%;--dx:6px}
@media (prefers-reduced-motion:no-preference){
  .sh-reel-flap{animation:shFlap 6.5s ease-in-out .6s 3 both}
  .sh-reel-card{animation:shCard 6.5s cubic-bezier(.3,.7,.2,1) .6s 3 both}
  .sh-reel-seal{animation:shSeal 6.5s ease .6s 3 both}
  .sh-reel>i{animation:shPetal 6.5s linear .6s 3 both}
  .sh-reel>i:nth-of-type(even){animation-delay:.9s}
  .sh-rv{opacity:0;transform:translateY(14px);transition:opacity .5s ease var(--sh-d,0ms),transform .5s cubic-bezier(.2,.7,.2,1) var(--sh-d,0ms)}
  .sh-rv.sh-in{opacity:1;transform:none}
  .sh-modal-inner{animation:shPop .35s cubic-bezier(.2,.8,.3,1)}
}
@keyframes shFlap{0%,18%{transform:rotateX(0);z-index:3}30%,82%{transform:rotateX(180deg);z-index:0}94%,100%{transform:rotateX(0);z-index:3}}
@keyframes shCard{0%,28%{transform:translateY(0);z-index:1}46%,82%{transform:translateY(-62%);z-index:5}96%,100%{transform:translateY(0);z-index:1}}
@keyframes shSeal{0%,16%{opacity:1;transform:scale(1)}26%,88%{opacity:0;transform:scale(1.35)}98%,100%{opacity:1;transform:scale(1)}}
@keyframes shPetal{0%,40%{opacity:0;transform:translate(0,-6px) rotate(0)}52%{opacity:.9}84%{opacity:0;transform:translate(var(--dx),118px) rotate(220deg)}100%{opacity:0}}
@keyframes shPop{from{opacity:0;transform:translateY(16px) scale(.96)}}
@media (min-width:980px){.sh-reel{display:none}}@media (max-width:979px){.sh-reel{order:3;width:170px;height:108px;margin:-4px auto -6px}.sh-reel-env{left:16px;right:16px;height:86px}.sh-reel-card b{font-size:.9rem}.sh-reel-card em{font-size:.44rem}}
/* ---------- Live demo phones (English + Sinhala) ---------- */
.sh-demos{padding:40px 18px 34px;background:linear-gradient(180deg,var(--sh-bg),#efe5d8)}
.sh-demo-row{display:flex;flex-direction:column;align-items:center;gap:34px}
.sh-demo{display:grid;justify-items:center;gap:16px}
.sh-alive{position:relative;filter:drop-shadow(0 26px 30px rgba(50,30,20,.28))}
.sh-alive .sh-phone{gap:0}
.sh-alive .sh-phone figcaption{display:none}
.sh-alive .sh-phone-body{width:min(290px,78vw);box-shadow:inset 0 0 0 1.5px #4a4950,inset 0 0 0 3px #111}
.sh-shine{position:absolute;top:10px;left:10px;right:10px;bottom:10px;z-index:6;border-radius:35px;overflow:hidden;pointer-events:none}
.sh-shine::before{content:"";position:absolute;top:-40%;left:-60%;width:45%;height:180%;background:linear-gradient(100deg,transparent,rgba(255,255,255,.16) 45%,rgba(255,255,255,.04) 60%,transparent);transform:translateX(-120%) rotate(12deg);opacity:0}
.sh-demo-cap{display:grid;justify-items:center;gap:4px;text-align:center}
.sh-demo-cap strong{font:400 1.35rem/1.2 "DM Serif Display",Georgia,serif;color:var(--sh-ink)}
.sh-demo-cap span{color:var(--sh-muted);font-size:.88rem}
.sh-demo-cap .btn{margin-top:8px;min-width:160px}
@media (prefers-reduced-motion:no-preference){
  .sh-alive.is-left{animation:shAliveL 7s ease-in-out infinite}
  .sh-alive.is-right{animation:shAliveR 7.6s ease-in-out -2.4s infinite}
  .sh-alive:hover,.sh-alive:focus-within{animation-play-state:paused}
  .sh-shine::before{animation:shShine 7s ease-in-out 1.5s infinite}
}
@keyframes shAliveL{0%,100%{transform:translateY(0) rotate(-1.6deg)}50%{transform:translateY(-8px) rotate(-.4deg)}}
@keyframes shAliveR{0%,100%{transform:translateY(-4px) rotate(1.6deg)}50%{transform:translateY(5px) rotate(.4deg)}}
@keyframes shShine{0%,62%{transform:translateX(-120%) rotate(12deg);opacity:0}68%{opacity:1}86%,100%{transform:translateX(360%) rotate(12deg);opacity:0}}
@media (min-width:720px){.sh-demo-row{flex-direction:row;justify-content:center;align-items:flex-start;gap:64px}}
@media (min-width:980px){.sh-demos{padding:56px 32px 50px}.sh-alive .sh-phone-body{width:300px}}
@media (max-width:979px){.sh-demos{order:4}}
/* Top bar (option A, 18 Nov 2026): the bar stays at the top while scrolling; "Sign in" is a 44 px pill with a person icon,
   label kept on phones. */
.sh-home > .shop-nav{position:sticky;top:0;z-index:40;background:color-mix(in srgb,#fffdfa 93%,transparent);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.shop-nav [data-action="login"]{display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:0 16px 0 12px;border-radius:999px;font-weight:600;white-space:nowrap}
.sh-signin-ico{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
