/* VisionScaper Site Kit: pricing, compare, Designer, before/after, forms, calculator. Uses the theme's colors (theme.json). */
.vsk-pricing { --r: 16px; }
.vsk-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--wp--preset--color--base-2, #E4EEEC); border: 1px solid var(--wp--preset--color--border, #DEE1E1); margin: 0 auto 1.5rem; }
.vsk-pricing { text-align: center; }
.vsk-toggle button { border: 0; background: transparent; padding: .6rem 1.2rem; border-radius: 999px; font: inherit; font-weight: 800; color: var(--wp--preset--color--contrast, #12282A); cursor: pointer; min-height: 44px; }
.vsk-toggle button[aria-pressed="true"] { background: var(--wp--preset--color--nav, #0D3B40); color: #fff; }
.vsk-save { font-size: .8rem; font-weight: 800; background: var(--wp--preset--color--cta, #F6C445); color: #10161A; padding: .1rem .5rem; border-radius: 999px; margin-left: .3rem; }
.vsk-plans { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); align-items: stretch; text-align: left; }
.vsk-plan { position: relative; background: var(--wp--preset--color--surface, #fff); border: 1px solid var(--wp--preset--color--border, #DEE1E1); border-radius: var(--r); padding: 1.5rem 1.3rem; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(13,59,64,.08), 0 8px 24px rgba(13,59,64,.08); }
.vsk-plan.is-popular { border: 2px solid var(--wp--preset--color--brand, #0F7378); box-shadow: 0 2px 4px rgba(13,59,64,.10), 0 18px 40px rgba(13,59,64,.18); }
.vsk-badge { position: absolute; top: -.8rem; left: 1.2rem; margin: 0; background: var(--wp--preset--color--cta, #F6C445); color: #10161A; font-weight: 900; font-size: .8rem; padding: .25rem .8rem; border-radius: 999px; }
.vsk-plan h3 { margin: 0; font-size: 1.35rem; }
.vsk-tag { margin: .2rem 0 .8rem; color: var(--wp--preset--color--muted, #506263); }
.vsk-price { margin: 0; line-height: 1; } .vsk-price strong { font-size: 2.4rem; font-weight: 900; } .vsk-price span:last-child { color: var(--wp--preset--color--muted, #506263); }
.vsk-note { margin: .3rem 0 1rem; font-size: .92rem; color: var(--wp--preset--color--muted, #506263); }
.vsk-cta { display: block; text-align: center; text-decoration: none; background: var(--wp--preset--color--cta, #F6C445); color: #10161A !important; font-weight: 800; padding: .8rem 1rem; border-radius: 999px; margin: 0 0 1rem; min-height: 44px; }
.vsk-cta:hover { background: #E7B532; }
.vsk-limits, .vsk-incl, .vsk-excl { list-style: none; padding: 0; margin: 0 0 .8rem; }
.vsk-limits { border-block: 1px solid var(--wp--preset--color--border, #DEE1E1); padding: .7rem 0; font-weight: 700; }
.vsk-limits li, .vsk-incl li { margin: .3rem 0; }
.vsk-incl li:not(.vsk-incl-head) { padding-left: 1.5rem; position: relative; } .vsk-incl li:not(.vsk-incl-head)::before { content: "✓"; position: absolute; left: 0; color: var(--wp--preset--color--brand, #0F7378); font-weight: 900; }
.vsk-incl-head { font-weight: 800; }
.vsk-notin { margin: .6rem 0 .2rem; font-weight: 800; font-size: .92rem; } .vsk-excl li { color: var(--wp--preset--color--muted, #506263); text-decoration: line-through; margin: .2rem 0; }
.vsk-foot { margin-top: 1.4rem; color: var(--wp--preset--color--muted, #506263); }
/* monthly/yearly: both shown without JS; with JS only the chosen one */
.vsk-pricing[data-js="1"][data-billing="month"] .vsk-p-year, .vsk-pricing[data-js="1"][data-billing="year"] .vsk-p-month { display: none; }
.vsk-pricing:not([data-js="1"]) .vsk-toggle { display: none; }
.vsk-pricing:not([data-js="1"]) .vsk-price { display: flex; flex-wrap: wrap; gap: .5rem 1rem; }
.vsk-pricing.is-compact .vsk-plan { padding: 1.2rem 1.1rem; }
.vsk-scroll { position: relative; overflow-x: auto; border: 1px solid var(--wp--preset--color--border, #DEE1E1); border-radius: 12px; background: var(--wp--preset--color--surface, #fff); }
.vsk-compare { border-collapse: collapse; width: 100%; min-width: 640px; }
.vsk-compare th, .vsk-compare td { padding: .75rem 1rem; border-bottom: 1px solid var(--wp--preset--color--border, #DEE1E1); text-align: center; }
.vsk-compare th[scope="row"], .vsk-compare thead th:first-child { text-align: left; }
.vsk-compare thead th { background: var(--wp--preset--color--nav, #0D3B40); color: #fff; }
.vsk-compare tbody th { font-weight: 700; }

/* Designer embed */
.vsk-designer { display: flex; align-items: center; gap: 2rem; max-width: 980px; margin: 0 auto; padding: 1.5rem; border-radius: 20px; background: linear-gradient(160deg, #0D3B40, #0F5A5F); color: #F2F6F3; }
.vsk-designer-mark { flex: none; width: 140px; height: auto; background: #F1F6F5; border-radius: 16px; padding: .6rem; }
.vsk-designer h2 { color: #fff; margin: 0 0 .4rem; }
.vsk-designer p { margin: 0 0 1rem; } .vsk-designer a:not(.wp-element-button) { color: #A8EDEA; }
.vsk-designer .wp-element-button, .vsk-designer-btn { background: #F6C445; color: #10161A; border: 0; border-radius: 999px; padding: .85rem 1.6rem; font: inherit; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-block; min-height: 44px; }
.vsk-designer .wp-element-button:hover { background: #E7B532; }
.vsk-micro { font-size: .92rem; color: #B9D3D3; }
body .vsk-designer-host .dreamscaper-launch { display: none; }
@media (max-width: 640px) { .vsk-designer { flex-direction: column; text-align: center; } .vsk-designer-mark { width: 100px; } }

/* before / after */
.vsk-ba { margin: 0; }
.vsk-ba-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #0D3B40; }
.vsk-ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.vsk-ba-before { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.vsk-ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.25); transform: translateX(-50%); pointer-events: none; }
.vsk-ba-handle::after { content: "↔"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 40px; height: 40px; border-radius: 50%; background: #F6C445; color: #10161A; display: grid; place-items: center; font-weight: 900; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.vsk-ba-tag { position: absolute; top: .7rem; padding: .2rem .7rem; border-radius: 999px; background: rgba(13,59,64,.88); color: #fff; font-weight: 800; font-size: .85rem; }
.vsk-ba-tag.is-before { left: .7rem; } .vsk-ba-tag.is-after { right: .7rem; }
.vsk-ba-ctl { display: block; padding: .5rem .9rem 0; background: var(--wp--preset--color--surface, #fff); }
.vsk-ba-range { width: 100%; min-height: 44px; accent-color: #0F7378; }
.vsk-ba figcaption { padding-top: 0; }

/* forms */
.vsk-form { max-width: 640px; }
.vsk-field { margin: 0 0 1rem; } .vsk-field label { display: block; font-weight: 800; margin-bottom: .3rem; }
.vsk-field input, .vsk-field select, .vsk-field textarea { width: 100%; box-sizing: border-box; min-height: 44px; padding: .65rem .8rem; border: 2px solid #80908F; border-radius: 10px; font: inherit; background: var(--wp--preset--color--surface, #fff); color: var(--wp--preset--color--contrast, #12282A); }
.vsk-field input:focus, .vsk-field select:focus, .vsk-field textarea:focus { outline: 3px solid #6D28D9; outline-offset: 1px; border-color: #0F7378; }
.vsk-check label { display: flex; gap: .6rem; align-items: flex-start; } .vsk-check input { width: 22px; height: 22px; margin-top: .15rem; flex: none; }
.vsk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.vsk-form .wp-element-button, .vsk-form button { background: #F6C445; color: #10161A; border: 0; border-radius: 999px; padding: .85rem 1.8rem; font: inherit; font-weight: 800; cursor: pointer; min-height: 44px; }
.vsk-form-err { background: #FDECEA; border-left: 4px solid #B3261E; padding: .8rem 1rem; border-radius: 8px; color: #6B1410; font-weight: 700; }
.vsk-hint { display: block; font-size: .9rem; color: var(--wp--preset--color--muted, #506263); margin-top: .25rem; }

/* calculator */
.vsk-calc { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-bottom: 2rem; }
.vsk-calc-form, .vsk-calc-out { background: var(--wp--preset--color--surface, #fff); border: 1px solid var(--wp--preset--color--border, #DEE1E1); border-radius: 14px; padding: 1.3rem; }
.vsk-calc h3 { margin-top: 0; }
.vsk-calc-out dl { margin: 0; } .vsk-calc-out dl > div { display: flex; justify-content: space-between; padding: .6rem 0; border-bottom: 1px solid var(--wp--preset--color--border, #DEE1E1); }
.vsk-calc-out dt { color: var(--wp--preset--color--muted, #506263); } .vsk-calc-out dd { margin: 0; font-weight: 900; }
.vsk-calc-out [data-out="price"] { font-size: 1.6rem; color: var(--wp--preset--color--brand, #0F7378); }
.vsk-calc-msg { color: var(--wp--preset--color--muted, #506263); margin: .8rem 0 0; }
.vsk-quote-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.vsk-quotes { max-width: 1180px; margin: 0 auto; }
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
