/* Shopify Online Store page only. Loaded via `extra: crm, p-shopify-online-store`. Every class is scoped with .psos- */
:root { --psos-g: #5E8E3E; --psos-g2: #95BF47; --psos-gbg: #EAF4E2; --psos-ink: #082238; --psos-line: #E2E8F0; }

/* ---------- hero: sections stacking into a storefront ---------- */
.psos-hero .psos-hero__grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); }
.psos-hero .crm-sub { max-width: 40ch; }
.psos-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.psos-chips li { display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid #DCE7EF; border-left: 3px solid var(--psos-g); box-shadow: 0 10px 20px -16px rgba(8,34,56,.5); }
.psos-chips b { font: 700 14px/1.2 var(--f-display); color: var(--psos-ink); }
.psos-chips span { font: 500 12.5px/1.3 var(--f-body); color: #64748B; }
.psos-badge img { width: 40px !important; height: 40px; padding: 6px; border-radius: 12px; background: var(--psos-gbg); }

.psos-stack { position: relative; margin: 0; padding: 8px 0 0 34px; min-width: 0; }
.psos-stack__win { position: relative; border-radius: 16px; background: #fff; border: 1px solid var(--psos-line); box-shadow: 0 50px 90px -50px rgba(8,34,56,.6); overflow: hidden; }
.psos-stack__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #F3F7F9; border-bottom: 1px solid var(--psos-line); }
.psos-stack__bar i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.psos-stack__bar span { margin-left: 8px; padding: 4px 12px; border-radius: 999px; background: #fff; font: 500 11.5px/1 var(--f-body); color: #64748B; }
.psos-stack__bar em { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #fff; font: 600 10.5px/1 var(--f-body); font-style: normal; color: #64748B; }
.psos-stack__secs { display: grid; gap: 0; margin: 0; padding: 0 0 4px; list-style: none; min-height: 380px; align-content: start; }
.psos-s { position: relative; transition: transform .6s cubic-bezier(.2,.9,.25,1.1), opacity .45s, box-shadow .4s; }
.psos-s::after { content: ""; position: absolute; inset: 2px; border: 2px dashed transparent; border-radius: 8px; pointer-events: none; transition: border-color .3s; }
.psos-s.is-new::after { border-color: var(--psos-g2); }
.psos-s--ann { padding: 7px 12px; background: var(--psos-ink); text-align: center; font: 600 10.5px/1.2 var(--f-body); color: #E6F0F7; letter-spacing: .02em; }
.psos-s--hdr { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid #EEF2F6; font: 500 11.5px/1 var(--f-body); color: #475569; }
.psos-s--hdr b { margin-right: auto; font: 800 14px/1 var(--f-display); color: var(--psos-ink); letter-spacing: .01em; }
.psos-s--hdr i { padding: 5px 9px; border-radius: 999px; background: var(--psos-gbg); color: var(--psos-g); font-style: normal; font-weight: 700; }
.psos-s--hero { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 10px; margin: 10px 12px 0; padding: 16px; border-radius: 12px; background: linear-gradient(135deg, #F4EFE4, #E3D7BF); }
.psos-s--hero b { display: block; font: 800 18px/1.15 var(--f-display); color: #3B2F1C; }
.psos-s--hero span { display: block; margin: 6px 0 10px; font: 500 11.5px/1.35 var(--f-body); color: #6B5A3E; }
.psos-s--hero em { display: inline-block; padding: 7px 12px; border-radius: 8px; background: #3B2F1C; color: #fff; font: 700 11px/1 var(--f-body); font-style: normal; }
.psos-s--hero svg { width: 100%; height: 76px; fill: #C9A66B; }
.psos-s--hero svg circle { fill: #F0C76E; }
.psos-s--grid { padding: 12px 12px 0; }
.psos-s--grid p { margin: 0 0 8px; font: 700 12.5px/1 var(--f-display); color: var(--psos-ink); }
.psos-s--grid div { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.psos-s--grid span { display: grid; gap: 3px; font: 500 10.5px/1.2 var(--f-body); color: #475569; }
.psos-s--grid span i { display: block; height: 44px; border-radius: 8px; background: linear-gradient(160deg, #E8EEF3, #D3DEE7); }
.psos-s--grid span:nth-child(2) i { background: linear-gradient(160deg, #EAF4E2, #CFE3BE); }
.psos-s--grid span:nth-child(3) i { background: linear-gradient(160deg, #F6E9E4, #E7CBBE); }
.psos-s--grid b { color: var(--psos-ink); }
.psos-s--rev { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 12px 0; padding: 11px 14px; border-radius: 10px; background: #F7FAFC; border: 1px solid #EEF2F6; }
.psos-s--rev q { font: 700 13px/1.2 var(--f-display); color: var(--psos-ink); }
.psos-s--rev span { font: 500 10.5px/1 var(--f-body); color: #64748B; white-space: nowrap; }
.psos-s--ftr { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; background: #F3F7F9; font: 500 10.5px/1 var(--f-body); color: #64748B; }
.psos-s--ftr em { margin-left: auto; padding: 6px 10px; border-radius: 8px; border: 1px solid #CBD5E1; font-style: normal; font-weight: 700; color: var(--psos-ink); }
.psos-stack__tags { position: absolute; left: 0; top: 56px; display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.psos-stack__tags li { padding: 4px 8px; border-radius: 6px; background: var(--psos-ink); color: #DDF4E6; font: 600 10px/1 ui-monospace, SFMono-Regular, Menlo, monospace; transform: translateX(-6px); opacity: 0; transition: opacity .35s, transform .35s; box-shadow: 0 8px 16px -10px rgba(8,34,56,.7); }
.psos-stack__cap { margin-top: 12px; text-align: right; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: #64748B; }
/* animated state: JS adds .is-anim, then .is-on to each li */
.psos-stack.is-anim .psos-s { opacity: 0; transform: translateY(-40px) scale(.97); }
.psos-stack.is-anim .psos-s.is-on { opacity: 1; transform: none; }
.psos-stack.is-anim .psos-stack__tags li.is-on { opacity: 1; transform: none; }
.psos-stack:not(.is-anim) .psos-stack__tags li { opacity: 1; transform: none; }

/* ---------- what it is ---------- */
.psos-what__grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 18px; margin-top: 34px; }
.psos-what__card { padding: 24px; border-radius: 18px; background: #fff; border: 1px solid var(--psos-line); box-shadow: 0 20px 40px -34px rgba(8,34,56,.5); }
.psos-what__card h3 { margin: 0 0 14px; font: 700 19px/1.2 var(--f-display); color: var(--psos-ink); }
.psos-dl { display: grid; gap: 12px; margin: 0; }
.psos-dl div { display: grid; grid-template-columns: 82px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.psos-dl dt { padding: 4px 8px; border-radius: 6px; background: var(--psos-gbg); font: 700 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--psos-g); text-align: center; }
.psos-dl dd { margin: 0; font: 400 14.5px/1.5 var(--f-body); color: #334155; }
.psos-what__card ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.psos-what__card li { position: relative; padding-left: 26px; font: 400 15px/1.5 var(--f-body); color: #334155; }
.psos-what__card li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--psos-g) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.psos-what__card--no li::before { background: #B45309 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5 5l6 6M11 5l-6 6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center/11px no-repeat; }
.psos-what__card--yes { border-top: 4px solid var(--psos-g); }
.psos-what__card--no { border-top: 4px solid #F0A400; }
.psos-what__card a { color: #0A6FA8; font-weight: 600; }

/* ---------- services: numbered list ---------- */
.psos-svc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 30px 0 0; padding: 0; list-style: none; counter-reset: none; }
.psos-svc__list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--psos-line); }
.psos-svc__n { font: 800 30px/1 var(--f-display); color: var(--c); letter-spacing: -.03em; }
.psos-svc__list h3 { margin: 2px 0 8px; font: 700 19px/1.25 var(--f-display); color: var(--psos-ink); }
.psos-svc__list p { margin: 0; font: 400 15px/1.6 var(--f-body); color: #334155; }

/* ---------- story: filmstrip ---------- */
.psos-film { background: #F3F7F9; overflow-x: clip; }
.psos-film__wrap { margin-top: 28px; }
.psos-film__ctrl { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.psos-film__btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #CBD5E1; background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.psos-film__btn:hover, .psos-film__btn:focus-visible { border-color: var(--psos-g); background: var(--psos-gbg); }
.psos-film__btn svg { width: 18px; height: 18px; fill: none; stroke: var(--psos-ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.psos-film__btn[disabled] { opacity: .4; cursor: default; }
.psos-film__dots { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.psos-film__dots li { width: 22px; height: 4px; border-radius: 4px; background: #CBD5E1; transition: background .3s, width .3s; }
.psos-film__dots li.is-on { width: 38px; background: var(--psos-g); }
.psos-film__strip { display: flex; gap: 0; margin: 0; padding: 18px max(16px, calc((100vw - 1200px) / 2)); list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: #0B1A2A; position: relative; }
.psos-film__strip::-webkit-scrollbar { display: none; }
.psos-film__strip:focus-visible { outline: 3px solid var(--psos-g2); outline-offset: -3px; }
.psos-fr { flex: 0 0 min(320px, 78vw); scroll-snap-align: center; position: relative; padding: 26px 18px 22px; background: #13263A; border-left: 1px solid #0B1A2A; border-right: 1px solid #0B1A2A; color: #CFE0EC; transition: opacity .3s; }
.psos-fr::before, .psos-fr::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, transparent 0 10px, #0B1A2A 10px 22px); }
.psos-fr::before { top: 6px; } .psos-fr::after { bottom: 6px; }
.psos-fr__pic { display: grid; gap: 5px; padding: 10px; height: 168px; align-content: start; border-radius: 6px; background: #fff; position: relative; overflow: hidden; }
.psos-fr__pic .b { display: block; height: 14px; border-radius: 3px; background: #E2E8F0; transition: background .3s; }
.psos-fr__pic .w { height: 9px; background: #CBD5E1; }
.psos-fr__pic .r { background: #FBD5D5; }
.psos-fr__pic .g { height: 30px; background: repeating-linear-gradient(90deg, #E2E8F0 0 22%, transparent 22% 26%); }
.psos-fr__pic .h { height: 40px; background: linear-gradient(135deg, #F4EFE4, #E3D7BF); }
.psos-fr__pic .c { height: 22px; background: repeating-linear-gradient(90deg, #DDF4EF 0 31%, transparent 31% 34.5%); }
.psos-fr__pic .q { height: 16px; background: #EAF4E2; }
.psos-fr__pic .x { opacity: .35; background: repeating-linear-gradient(45deg, #FBD5D5 0 6px, #fff 6px 10px); }
.psos-fr__pic .on { outline: 2px dashed var(--psos-g); outline-offset: 1px; }
.psos-fr__pic--mess .b { height: 15px; }
.psos-fr__pic--live em { position: absolute; right: 8px; top: 8px; padding: 4px 8px; border-radius: 999px; background: var(--psos-g); color: #fff; font: 700 10px/1 var(--f-body); font-style: normal; }
.psos-fr__n { margin: 14px 0 6px; font: 600 11.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--psos-g2); letter-spacing: .04em; }
.psos-fr h3 { margin: 0 0 6px; font: 700 17px/1.25 var(--f-display); color: #fff; }
.psos-fr p:last-child { margin: 0; font: 400 14px/1.55 var(--f-body); color: #B9CCDA; }
.psos-film__strip.is-js .psos-fr { opacity: .55; }
.psos-film__strip.is-js .psos-fr.is-on { opacity: 1; }
.psos-film__note { margin-top: 12px; font: 400 13px/1.5 var(--f-body); color: #64748B; }

/* ---------- interactive: section reorder (dark band) ---------- */
.psos-re__box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; margin-top: 30px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); }
.psos-re__presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; font: 600 12.5px/1 var(--f-body); color: #9FC0D8; }
.psos-re__presets button { padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: 600 12.5px/1 var(--f-body); cursor: pointer; transition: background .2s, border-color .2s; }
.psos-re__presets button:hover, .psos-re__presets button:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.psos-re__lock { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px dashed rgba(255,255,255,.2); font: 600 13px/1 var(--f-body); color: #9FC0D8; }
.psos-re__lock svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.psos-re__list { display: grid; gap: 6px; margin: 6px 0; padding: 0; list-style: none; }
.psos-re__item { display: grid; grid-template-columns: 22px 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 8px 8px 8px 10px; border-radius: 10px; background: #fff; color: var(--psos-ink); font: 600 14px/1.2 var(--f-body); box-shadow: 0 10px 18px -14px rgba(0,0,0,.6); transition: transform .25s, opacity .2s, box-shadow .2s; touch-action: none; }
.psos-re__item.is-off { background: #DCE5ED; color: #64748B; }
.psos-re__item.is-off .psos-re__name { text-decoration: line-through; }
.psos-re__item.is-drag { opacity: .45; }
.psos-re__item.is-over { box-shadow: 0 -3px 0 var(--psos-g2), 0 10px 18px -14px rgba(0,0,0,.6); }
.psos-re__item.is-moved { animation: psos-pop .5s; }
@keyframes psos-pop { 40% { transform: scale(1.03); box-shadow: 0 0 0 3px var(--psos-g2); } }
.psos-re__grip { width: 18px; height: 18px; cursor: grab; fill: #94A3B8; }
.psos-re__ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--c, #EAF4E2); }
.psos-re__ic i { display: block; width: 14px; height: 10px; border-radius: 2px; background: var(--k, #5E8E3E); }
.psos-re__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.psos-re__acts { display: flex; gap: 4px; }
.psos-re__acts button { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; border: 1px solid #E2E8F0; background: #F7FAFC; cursor: pointer; }
.psos-re__acts button:hover, .psos-re__acts button:focus-visible { border-color: var(--psos-g); background: var(--psos-gbg); }
.psos-re__acts button[disabled] { opacity: .35; cursor: default; }
.psos-re__acts svg { width: 16px; height: 16px; fill: none; stroke: var(--psos-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.psos-re__prev { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 22px; align-items: start; }
.psos-re__phone { padding: 14px 10px 12px; border-radius: 30px; background: #fff; border: 7px solid #0B1A2A; box-shadow: 0 40px 60px -30px rgba(0,0,0,.8); }
.psos-re__top { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 8px; border-bottom: 1px solid #EEF2F6; }
.psos-re__top b { font: 800 12px/1 var(--f-display); color: var(--psos-ink); }
.psos-re__top i { font: 600 10px/1 var(--f-body); font-style: normal; color: var(--psos-g); }
.psos-re__page { display: grid; gap: 6px; padding: 8px 2px; min-height: 330px; align-content: start; }
.psos-pv { display: grid; gap: 4px; padding: 7px; border-radius: 8px; background: var(--c); animation: psos-in .4s both; }
@keyframes psos-in { from { opacity: 0; transform: translateY(-8px); } }
.psos-pv b { font: 700 10.5px/1.15 var(--f-display); color: var(--k); }
.psos-pv span { font: 500 9px/1.3 var(--f-body); color: #475569; }
.psos-pv u { display: grid; grid-template-columns: repeat(var(--n, 3), 1fr); gap: 4px; text-decoration: none; }
.psos-pv u i { display: block; height: var(--h, 18px); border-radius: 4px; background: rgba(255,255,255,.75); }
.psos-pv--top { outline: 2px solid #FFB81C; outline-offset: 1px; }
.psos-re__foot { padding: 8px 4px 2px; border-top: 1px solid #EEF2F6; font: 500 9.5px/1 var(--f-body); color: #64748B; }
.psos-re__count { margin: 0 0 10px; font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--psos-g2); }
.psos-re__say { margin: 0; font: 400 15.5px/1.6 var(--f-body); color: #E6F0F7; }
.psos-re__say b { color: #fff; }
.psos-re__fine { margin-top: 16px; font: 400 13px/1.5 var(--f-body); color: #9FC0D8; }

/* ---------- Zoho links ---------- */
.psos-zoho__rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 30px; border: 1px solid var(--psos-line); border-radius: 18px; overflow: hidden; background: #fff; }
.psos-link { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; padding: 24px; border-bottom: 1px solid var(--psos-line); }
.psos-link:nth-child(odd) { border-right: 1px solid var(--psos-line); }
.psos-link:nth-last-child(-n+2) { border-bottom: 0; }
.psos-link p { margin: 0; font: 400 15px/1.6 var(--f-body); color: #334155; }
.psos-link b { display: block; margin-bottom: 4px; font: 700 17px/1.3 var(--f-display); color: var(--psos-ink); }
.psos-link a, .psos-zoho__more a, .psos-bill a { color: #0A6FA8; font-weight: 600; }
.psos-zoho__more { margin-top: 18px; font: 400 15px/1.6 var(--f-body); color: #334155; }

/* ---------- pricing ---------- */
.psos-cost__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.psos-bill { position: relative; padding: 22px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--psos-line); }
.psos-bill::before { content: ""; position: absolute; left: 20px; right: 20px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: var(--psos-g2); }
.psos-bill__k { margin: 0 0 8px; font: 700 11.5px/1 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--psos-g); }
.psos-bill h3 { margin: 0 0 8px; font: 700 18px/1.25 var(--f-display); color: var(--psos-ink); }
.psos-bill p:last-child { margin: 0; font: 400 14.5px/1.55 var(--f-body); color: #334155; }
.psos-bill--us { background: var(--psos-ink); border-color: var(--psos-ink); }
.psos-bill--us::before { background: #FFB81C; }
.psos-bill--us .psos-bill__k { color: #FFB81C; }
.psos-bill--us h3 { color: #fff; }
.psos-bill--us p:last-child { color: #CFE0EC; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .psos-what__grid { grid-template-columns: 1fr 1fr; }
  .psos-what__card:first-child { grid-column: 1 / -1; }
  .psos-cost__grid { grid-template-columns: 1fr 1fr; }
  .psos-re__box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .psos-hero .psos-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .psos-stack { max-width: 560px; }
}
@media (max-width: 720px) {
  .psos-svc__list { grid-template-columns: minmax(0, 1fr); }
  .psos-zoho__rows { grid-template-columns: minmax(0, 1fr); }
  .psos-link:nth-child(odd) { border-right: 0; }
  .psos-link:nth-last-child(2) { border-bottom: 1px solid var(--psos-line); }
  .psos-re__prev { grid-template-columns: minmax(0, 1fr); }
  .psos-re__phone { width: 230px; max-width: 100%; margin: 0 auto; }
}
@media (max-width: 560px) {
  .psos-what__grid, .psos-cost__grid { grid-template-columns: minmax(0, 1fr); }
  .psos-stack { padding-left: 0; }
  .psos-stack__tags { display: none; }
  .psos-s--grid div { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .psos-s--grid span:nth-child(n+3) { display: none; }
  .psos-s--hdr span { display: none; }
  .psos-s--ftr span:nth-child(3) { display: none; }
  .psos-re__box { padding: 14px; }
  .psos-svc__list li { grid-template-columns: 44px minmax(0, 1fr); }
  .psos-svc__n { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .psos-s, .psos-stack__tags li, .psos-re__item, .psos-pv, .psos-fr { transition: none !important; animation: none !important; }
  .psos-film__strip { scroll-behavior: auto; }
}
