/*
 * 24 Oct 2026, round 2 (owner feedback from the live site on an iPad):
 * photos that never collapse on Safari, phone shots in their real shape,
 * carousel captions below the screen with animated text, testimonials with
 * motion, a zoom lightbox, and the interactive three-step trial.
 * Loaded after brand.css and v2.css.
 */

/* Photos: pinned inside a sized frame, shimmer while loading */
.v2-item .ph { position: relative; }
.v2-item .ph picture, .v2-item .ph > img { position: absolute; inset: 18px; display: block; width: auto; height: auto; }
.v2-item .ph picture img, .v2-item .ph > img { width: 100%; height: 100%; object-fit: contain; }
.v2-item .ph > img { width: calc(100% - 36px); height: calc(100% - 36px); }
.v2-item .ph, .hw-detail .pic { background: linear-gradient(100deg, #f3f5ee 30%, #ffffff 50%, #f3f5ee 70%) 0 0 / 300% 100%; animation: v2shim 1.4s linear infinite; }
.v2-item .ph.is-loaded, .hw-detail .pic.is-loaded { animation: none; background: #fff; }
.js-img .v2-item .ph img, .js-img .hw-detail .pic img { opacity: 0; transition: opacity .45s ease, transform .5s; }
.js-img .v2-item .ph.is-loaded img, .js-img .hw-detail .pic.is-loaded img { opacity: 1; }
@keyframes v2shim { from { background-position: 100% 0; } to { background-position: 0 0; } }
.v2-zoomable { cursor: zoom-in; }
.v2-item .ph::after { content: "\2922"; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 10px; background: rgba(0,0,0,.72); color: #fff; font: 700 17px/34px var(--font-body); text-align: center; opacity: 0; transform: translateY(6px); transition: .2s; pointer-events: none; }
.v2-item:hover .ph::after, .v2-item .ph:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .v2-item .ph::after { opacity: .85; transform: none; } }

/* Phone screenshots keep their real shape */
.v2-phone img { height: auto !important; aspect-ratio: 375 / 812; object-fit: cover; cursor: zoom-in; }
.v2-phone.app img { aspect-ratio: 1320 / 2868; }
.v2-phones { max-width: 560px; margin: 0 auto; width: 100%; }
@media (max-width: 1100px) { .v2-row > .v2-phones { flex-basis: 100%; } }

/* Carousel: the caption sits BELOW the screen, never on top of it, and animates in */
.epos_demo_item { padding: 18px 18px 8px !important; }
.epos_demo_item_img { border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.55); cursor: zoom-in; }
.epos_demo_item_txt_keeper { position: static !important; transform: none !important; top: auto !important; left: auto !important;
  background: transparent !important; border: 0 !important; padding: 22px 12px 6px !important; }
.epos_demo_item_brief { background: rgba(165,199,21,.08) !important; }
.epos_demo_item_heading { font-family: var(--font-display) !important; text-transform: uppercase; font-size: clamp(19px, 3vw, 34px) !important; line-height: 1.15; max-width: 900px !important; padding: 0 12px !important; text-shadow: none !important; color: #fff !important; }
.owl-item.active .epos_demo_item_brief { animation: v2drop .6s cubic-bezier(.2,.7,.2,1) both; }
.owl-item.active .epos_demo_item_heading { animation: v2rise .8s .12s cubic-bezier(.2,.7,.2,1) both; }
.owl-item.active .epos_demo_item_img { animation: v2zoomin 1.1s cubic-bezier(.2,.7,.2,1) both; }
@keyframes v2drop { from { opacity: 0; transform: translateY(-14px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes v2rise { from { opacity: 0; transform: translateY(22px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes v2zoomin { from { opacity: .35; transform: scale(.975); } to { opacity: 1; transform: none; } }

/* Rotating typed words (data-tr-rotate) and small pop-ins */
[data-tr-rotate] { display: inline-block; min-width: 1ch; }
[data-tr-rotate]::after { content: ""; display: inline-block; width: .08em; height: .9em; margin-left: .06em; background: currentColor; vertical-align: -.08em; animation: v2caret 1s steps(1) infinite; }
@keyframes v2caret { 50% { opacity: 0; } }
.v2-pop { animation: v2popin .35s cubic-bezier(.2,.7,.2,1) both; }
@keyframes v2popin { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

/* Testimonials: quote mark, stars, animated change, progress, responsive size */
.user_review_text_keeper { position: relative; max-width: 1000px; margin: 0 auto; }
.user_review_text_keeper::before { content: "\201C"; display: block; font: 800 120px/0.7 Georgia, serif; color: var(--lime); opacity: .35; margin-bottom: 6px; text-align: center; }
.user_review_text { font-size: clamp(17px, 2.1vw, 25px) !important; line-height: 1.6 !important; }
.user_review_text.v2-swap { animation: v2rise .7s cubic-bezier(.2,.7,.2,1) both; }
.user_review_name.v2-swap, .user_review_from.v2-swap { animation: v2popin .5s .15s both; }
.v2-stars { display: flex; gap: 4px; justify-content: center; margin: 18px 0 0; color: var(--lime); font-size: 20px; letter-spacing: 2px; }
.v2-stars span { display: inline-block; animation: v2popin .4s both; }
.v2-stars span:nth-child(2) { animation-delay: .06s; } .v2-stars span:nth-child(3) { animation-delay: .12s; }
.v2-stars span:nth-child(4) { animation-delay: .18s; } .v2-stars span:nth-child(5) { animation-delay: .24s; }
.v2-review-bar { height: 3px; max-width: 280px; margin: 22px auto 0; border-radius: 3px; background: rgba(255,255,255,.12); overflow: hidden; }
.v2-review-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.v2-review-bar i.run { animation: v2bar 5.75s linear forwards; }
@keyframes v2bar { to { width: 100%; } }
.user_review_image_item { transition: transform .3s cubic-bezier(.2,.7,.2,1), filter .3s, opacity .3s; }
.user_review_image_item:not(.user_review_image_active) { filter: grayscale(.55); opacity: .75; }
.user_review_image_item:hover { transform: translateY(-6px) scale(1.06); filter: none; opacity: 1; }
.user_review_image_active { box-shadow: 0 0 0 2px var(--lime), 0 16px 40px rgba(165,199,21,.25); border-radius: 16px; }
.user_review_image { cursor: pointer; }
@media (max-width: 700px) { .user_review_text_keeper::before { font-size: 84px; } }

/* Existing sections: gentle life */
.vs-shot img, .free_offer_img, .customer_support_img { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.free_offer_container:hover .free_offer_img { transform: translateY(-6px) rotate(-2deg); }

/* Lightbox: tap to zoom, pinch, drag, double-tap, swipe, Esc */
.v2-lb { position: fixed; inset: 0; z-index: 9999; background: rgba(0,0,0,.93); opacity: 0; transition: opacity .2s ease; touch-action: none; -webkit-user-select: none; user-select: none; }
.v2-lb.open { opacity: 1; }
.v2-lb[hidden] { display: none; }
.v2-lb-stage { position: absolute; inset: 60px 10px 70px; overflow: hidden; }
.v2-lb-img { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; -webkit-user-drag: none; border-radius: 8px; background: #fff; cursor: grab; max-width: none; }
.v2-lb-img.dragging { cursor: grabbing; }
.v2-lb-img.anim { transition: transform .25s ease; }
.v2-lb-btn { position: absolute; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(20,24,14,.85); color: #fff; font: 700 22px/1 var(--font-body); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s, color .15s; }
.v2-lb-btn:hover, .v2-lb-btn:focus-visible { background: var(--lime); color: #0c1004; }
.v2-lb-close { top: 8px; right: 10px; }
.v2-lb-prev { left: 10px; top: 50%; margin-top: -24px; }
.v2-lb-next { right: 10px; top: 50%; margin-top: -24px; }
.v2-lb-bar { position: absolute; z-index: 2; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; align-items: center; color: #e8ece2; font-size: 14px; }
.v2-lb-bar .v2-lb-btn { position: static; width: 44px; height: 44px; font-size: 20px; margin: 0; }
.v2-lb-cap { position: absolute; top: 20px; left: 16px; right: 72px; color: #fff; font: 700 15px var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v2-lb-hint { position: absolute; top: 44px; left: 16px; color: #9aa58d; font-size: 12.5px; }

/* Trial: interactive three steps */
.tr-alert { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; font-size: 14.5px; }
.tr-alert.bad { background: #3a1210; color: #ffd7d2; border: 1px solid #7a2a22; }
.tr-alert.warn { background: #2b2408; color: #f5e3a1; border: 1px solid #6b5a14; }
.tr-alert.info { background: #0f1c2e; color: #cfe2ff; border: 1px solid #23466f; }
.tr-progress { list-style: none; margin: 0; padding: 0; display: flex; justify-content: space-between; max-width: 560px; }
.tr-progress li { display: flex; align-items: center; gap: 10px; color: var(--text-mute); font: 700 13px var(--font-body); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; transition: color .2s; }
.tr-progress li span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); transition: .25s; }
.tr-progress li.on { color: #fff; }
.tr-progress li.on span { background: var(--lime); border-color: var(--lime); color: #0c1004; transform: scale(1.08); }
.tr-bar { height: 4px; max-width: 560px; margin: 14px 0 28px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.tr-bar i { display: block; height: 100%; width: 0; background: var(--lime); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.tr-grid { display: flex; flex-wrap: wrap; gap: 30px; align-items: flex-start; }
.tr-steps { flex: 999 1 560px; min-width: 0; }
.tr-step { border: 0; margin: 0; padding: 0; min-width: 0; }
.tr-flow.js .tr-step { display: none; }
.tr-flow.js .tr-step.on { display: block; animation: v2rise .5s cubic-bezier(.2,.7,.2,1) both; }
.tr-flow:not(.js) .tr-step { margin-bottom: 30px; }
.tr-q { font-size: clamp(22px, 3vw, 32px) !important; margin-bottom: 18px !important; padding: 0; }
.tr-q small { font: 500 14px var(--font-body); color: var(--text-dim); text-transform: none; }
.tr-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; margin: 12px 0 14px; }
.tr-plan { position: relative; cursor: pointer; display: block; }
.tr-plan input { position: absolute; opacity: 0; pointer-events: none; }
.tr-plan-in { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; padding: 22px; border-radius: 20px; background: #0b0e08; border: 2px solid rgba(255,255,255,.1); transition: border-color .2s, transform .2s, box-shadow .2s, background .2s; }
.tr-plan:hover .tr-plan-in { transform: translateY(-4px); border-color: rgba(165,199,21,.5); }
.tr-plan input:checked + .tr-plan-in { border-color: var(--lime); background: rgba(165,199,21,.08); box-shadow: 0 16px 40px rgba(165,199,21,.15); }
.tr-plan input:focus-visible + .tr-plan-in { outline: 3px solid var(--lime); outline-offset: 2px; }
.tr-plan-in b { font: 800 19px var(--font-display); text-transform: uppercase; color: #fff; }
.tr-plan-in strong { font: 800 34px var(--font-display); color: #fff; }
.tr-plan-in strong small { font: 500 14px var(--font-body); color: var(--text-dim); }
.tr-plan-in > span { font-size: 13.5px; color: var(--text-dim); }
.tr-pop { position: absolute; top: -11px; right: 16px; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: #0c1004; font: 800 11px var(--font-body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; }
.tr-addon { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.08); }
.tr-addon b { display: block; color: #fff; }
.tr-addon input { width: 52px; min-height: 44px; text-align: center; border-radius: 12px; border: 1px solid rgba(255,255,255,.22); background: #000; color: #fff; font: 700 17px var(--font-body); -moz-appearance: textfield; }
.tr-addon input::-webkit-inner-spin-button, .tr-addon input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.tr-field { display: grid; gap: 7px; margin-bottom: 16px; font-size: 14px; color: var(--text-dim); }
.tr-field input { min-height: 52px; padding: 0 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.22); background: #000; color: #fff; font: 17px var(--font-body); transition: border-color .2s, box-shadow .2s; }
.tr-field input:focus { outline: none; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(165,199,21,.18); }
.tr-field input.tr-err { border-color: #e2574c; animation: v2shake .35s; }
@keyframes v2shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.tr-more { margin: 0 0 14px; color: var(--text-dim); }
.tr-more summary { cursor: pointer; margin-bottom: 12px; }
.tr-hp { position: absolute; left: -9999px; }
.tr-nav { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.tr-nav [hidden] { display: none !important; }
.tr-pay { animation: v2glow 2.4s ease-in-out infinite; border: 0; cursor: pointer; }
.tr-pay:disabled { opacity: .6; animation: none; }
@keyframes v2glow { 50% { box-shadow: 0 0 0 8px rgba(165,199,21,.15), 0 8px 24px rgba(165,199,21,.3); } }
.tr-sum { flex: 1 1 300px; min-width: 0; position: sticky; top: 90px; border-radius: 26px; padding: 26px; background: var(--lime); color: #0c1004; }
.tr-sum h2 { margin: 0; font: 800 22px var(--font-display); text-transform: uppercase; color: #0c1004; }
.tr-sum .hw-lines, .tr-sum .hw-tot, .tr-sum .hw-tot div, .tr-sum .hw-tot .big, .tr-sum .hw-tot .big b { color: #0c1004; border-color: rgba(0,0,0,.18); }
.tr-sum .after { font-weight: 800; }
.tr-safe { margin: 14px 0 0; font-size: 13px; line-height: 1.5; }
@media (max-width: 640px) { .tr-progress li { font-size: 0; gap: 0; } .tr-sum { position: static; } }

@media (prefers-reduced-motion: reduce) {
  .owl-item.active .epos_demo_item_brief, .owl-item.active .epos_demo_item_heading, .owl-item.active .epos_demo_item_img,
  .user_review_text.v2-swap, .v2-stars span, .tr-flow.js .tr-step.on, .tr-pay, .v2-item .ph, .hw-detail .pic { animation: none !important; }
  [data-tr-rotate]::after { display: none; }
}

/* Footer trust row (Dojo checklist, 2026-10-24) */
.v2-foot-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 22px 0; margin-top: 10px; border-top: 1px solid var(--line, #262c1b); }
.v2-foot-partners, .v2-foot-cards { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.v2-foot-partners .lbl { font: 700 11.5px var(--font-body); letter-spacing: .13em; text-transform: uppercase; color: var(--text-mute, #8b9280); margin-right: 4px; }
.v2-foot-partners .badge { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 14px; border-radius: 10px; background: #fff; }
.v2-foot-partners .badge img { height: 22px; width: auto; display: block; }
.v2-foot-partners .badge.word { font: 800 15px Arial, Helvetica, sans-serif; color: #00395d; letter-spacing: -.01em; }
.v2-foot-cards img { height: 32px; width: auto; border-radius: 6px; background: #fff; padding: 3px 6px; box-sizing: content-box; }
.footer_bottom_left p { line-height: 1.6; }
.footer_bottom_left a { color: inherit; }
.v2-secure { margin: 0; font-size: 13px; color: var(--text-mute, #8b9280); }

/* Trial headline: words swap inside a fixed one-line box, so nothing below ever moves */
.tr-swap { display: block; height: 1.12em; line-height: 1.12em; white-space: nowrap; overflow: hidden; color: var(--lime); transition: opacity .35s ease, transform .35s ease; }
.tr-swap.out { opacity: 0; transform: translateY(-.25em); }
@media (max-width: 520px) { .tr-swap { font-size: .8em; } }

/* Accreditation band logos */
.v2-logo-badge { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s; }
.v2-logo-badge:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(165,199,21,.25); }
.v2-logo-badge img { height: 24px; width: auto; display: block; }
.v2-logo-badge.word { font: 800 16px Arial, Helvetica, sans-serif; color: #00395d; }
.v2-accredit-cards { display: inline-flex; gap: 8px; align-items: center; }
.v2-accredit-cards img { height: 28px; width: auto; border-radius: 5px; background: #fff; padding: 3px 5px; box-sizing: content-box; }
