/* Калькулятор V3. Згенеровано зі скрипта з public/calculadora-v3/ — не редагувати вручну. */

#calc3,#calc3 *{box-sizing:border-box}#calc3{margin:0;background:#f5f8fb;color:#142333;font:14px/1.5 'Segoe UI',Arial,sans-serif}#calc3 button,#calc3 input,#calc3 select{font:inherit}#calc3 button{cursor:pointer;color:inherit}#calc3 button:focus-visible,#calc3 input:focus-visible,#calc3 select:focus-visible{outline:3px solid #00bfff;outline-offset:3px}#calc3 button:disabled{cursor:default;opacity:.45}#calc3 h1,#calc3 h2,#calc3 h3,#calc3 p{margin:0}#calc3 h1{font-size:38px;letter-spacing:-1.5px;line-height:1.15;font-weight:650}#calc3 h2{font-size:23px;letter-spacing:-.6px}#calc3 h3{font-size:17px}#calc3 small,#calc3 .muted{color:#607184}#calc3 small{font-size:12px}#calc3 .wordmark{font-weight:800;font-size:29px;letter-spacing:-1px;color:#00bfff}#calc3 .demo{font-size:12px;color:#607184;background:#f2f6f9;border-radius:20px;padding:5px 12px}#calc3 .wrap{max-width:1220px;margin:auto;padding:30px 24px 50px}#calc3 .intro{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:25px}#calc3 .intro p{margin-top:9px;color:#607184}#calc3 .eyebrow{color:#0086b5;text-transform:uppercase;font-size:11px;font-weight:700;letter-spacing:1.7px;margin-bottom:10px}#calc3 .steps{display:flex;gap:18px;white-space:nowrap;color:#758495;font-size:12px}#calc3 .steps span{display:flex;gap:8px;align-items:center}#calc3 .steps b{background:#e6ecf1;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}#calc3 .steps .active{color:#142333}#calc3 .steps .active b{background:#00bfff;color:#fff}#calc3 .layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:22px;align-items:start}#calc3 .catalog{background:white;padding:22px;border:1px solid #e4ebf1;border-radius:20px}#calc3 .heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:17px}#calc3 .pill,#calc3 .help{border:1px solid #dfe8ef;background:#fff;padding:8px 13px;border-radius:30px;font-size:12px}#calc3 .help{background:#edfaff;color:#007da9;border-color:#c5edfb;font-weight:600}#calc3 .filters{display:flex;gap:7px;flex-wrap:wrap}#calc3 .filters button[aria-pressed=true]{background:#163046;color:white;border-color:#163046}#calc3 .category button{font-size:14px}#calc3 .resulthead{display:flex;align-items:center;justify-content:space-between;margin:15px 0 9px}#calc3 .photo-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}#calc3 .tile{position:relative;border:1px solid #e2e9ef;border-radius:14px;overflow:hidden;background:white;padding:0;text-align:left;transition:border-color .15s,box-shadow .15s}#calc3 .tile:hover{border-color:#00bfff;box-shadow:0 3px 14px #16304610}#calc3 .tile.selected{border:2px solid #00bfff}#calc3 .photo{height:112px;background:linear-gradient(180deg,#f7f9fc,#f0f5f9);display:flex;align-items:center;justify-content:center;padding:2px 10px}#calc3 .photo img{width:100%;height:100%;object-fit:contain}#calc3 .caption{padding:10px 12px;display:flex;justify-content:space-between;align-items:center;gap:8px}#calc3 .caption strong{display:block;font-weight:600;font-size:13px;line-height:1.3}#calc3 .caption small{font-size:11px}#calc3 .plus{flex-shrink:0;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#eaf8fd;color:#007ea9}/* Смуга вибраного: на всю ширину, впритул до верху — читається як продовження рамки. */#calc3 .picked{position:absolute;left:0;right:0;top:0;background:#00bfff;color:#fff;border-radius:0;padding:4px 8px;font-size:11px;font-weight:600;text-align:center;line-height:1.25}#calc3 .foothelp{display:flex;justify-content:space-between;gap:12px;align-items:center;background:#f6fafc;border-radius:12px;padding:12px 14px;margin-top:14px;font-size:12px}#calc3 .textbutton{border:0;background:transparent;color:#007ba5;text-decoration:underline;text-underline-offset:3px;padding:5px;font-size:12px}#calc3 .summary{background:#142536;color:#fff;padding:23px;border-radius:20px;position:sticky;top:20px}#calc3 .summary .muted,#calc3 .summary small{color:#aec0d1}#calc3 .sumlist{margin:18px 0;border-bottom:1px solid #344557}#calc3 .sumitem{display:flex;gap:9px;margin-bottom:14px;align-items:center}#calc3 .sumitem img{width:52px;height:43px;object-fit:contain;background:#eaf0f5;border-radius:8px}#calc3 .sumitem button{color:#fff;background:none;border:0;text-align:left;padding:0;flex:1;font-size:12px}#calc3 .sumitem .remove{flex:0;display:flex;align-items:center;color:#9caebe;padding:7px;transition:color .15s}#calc3 .sumitem .remove svg{width:16px;height:16px}#calc3 .sumitem .remove:hover{color:#ff8b8b}#calc3 .sumitem span{display:block;color:#94dffc;font-size:11px}#calc3 .moneyrow{display:flex;justify-content:space-between;font-size:12px;margin-top:7px}#calc3 .discount{color:#8be1ff}#calc3 .total{font-size:38px;letter-spacing:-1px;line-height:1.2;margin:6px 0 10px}#calc3 .leadnote{font-size:12px;color:#aec0d1;margin-bottom:14px}#calc3 .primary{background:#00bfff;border:0;border-radius:30px;color:#fff;padding:13px 18px;font-weight:650;transition:background .15s}#calc3 .primary:hover{background:#0097cc}#calc3 .wide{width:100%}#calc3 .secondary{background:white;border:1px solid #d8e2ea;border-radius:30px;padding:11px 16px;color:#41556b;font-weight:500;transition:background .15s,color .15s,border-color .15s}#calc3 .secondary:hover{background:#e6f8ff;color:#0097cc;border-color:#b9e7f7}#calc3 .fields{display:grid;gap:10px}#calc3 .fields label{font-size:12px;display:block}#calc3 .fields input,#calc3 .fields select{display:block;width:100%;padding:10px 12px;margin-top:4px;border-radius:9px;border:1px solid #cedbe5;background:white;color:#142333;font-size:16px}#calc3 .summary .fields input{border-color:#405466;background:#223749;color:white}#calc3 .consent{font-size:11px;display:flex;gap:8px;align-items:start;margin:13px 0;color:#bdccda}
/* Implicit consent under the CTA — same wording as .hero-form__privacy on the site. */
#calc3 .formprivacy{font-size:11px;color:#aec0d1;text-align:center;margin:8px 0 0;line-height:1.45}
#calc3 .formprivacy a{color:#8ddffc;text-decoration:underline}#calc3 .consent input{accent-color:#00bfff;margin-top:3px}#calc3 .perks{border-top:1px solid #344557;padding-top:14px;margin-top:17px;font-size:11px;color:#bdd3e0;display:grid;gap:5px}#calc3 .error{color:#ffb9b9;font-size:12px;margin-bottom:10px}#calc3 .successnote{background:#e9fbf0;color:#166339;padding:12px;border-radius:10px;margin-bottom:14px}#calc3 .modal{border:0;border-radius:23px;padding:0;width:min(840px,calc(100% - 28px));max-height:90vh;box-shadow:0 30px 100px #00102055;color:#142333}#calc3 .modal::backdrop{background:#10273999;backdrop-filter:blur(3px)}/* Тягнення від низу картки не має прокручувати сторінку під модалкою. */#calc3 .modal{overscroll-behavior:contain}html.calc3-lock{overflow:hidden!important}html.calc3-lock body{position:fixed;left:0;right:0;width:100%;overflow:hidden!important}#calc3 .modal-head{position:sticky;top:0;background:white;z-index:3;padding:22px 25px 16px;border-bottom:1px solid #e7edf2;display:flex;justify-content:space-between;align-items:start;gap:20px}#calc3 .close{background:#edf2f6;border:0;display:grid;place-items:center;line-height:1;padding:0;border-radius:50%;width:34px;height:34px;font-size:21px;flex-shrink:0;color:#41556b;transition:background .15s,color .15s}#calc3 .close:hover{background:#e6f8ff;color:#0097cc}/* Гліфи ×/+/− лежать на 2.5–3.5px нижче центру через метрики шрифту, тому іконки — SVG. */#calc3 .close svg{width:15px;height:15px}#calc3 .quantity button svg{width:17px;height:17px}#calc3 .modal-body{padding:22px 25px}#calc3 .comparison{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}#calc3 .compare-card{background:#f4f8fb;border:1px solid #dfebf3;border-radius:14px;padding:14px;text-align:center}#calc3 .compare-card img{width:100%;height:95px;object-fit:contain;transform:scale(1.05)}#calc3 .people{display:flex;justify-content:center;gap:5px;margin:12px 0}#calc3 .person{display:inline-block;position:relative;width:12px;height:20px}#calc3 .person:before{content:'';position:absolute;top:0;left:3px;width:7px;height:7px;background:#009bce;border-radius:50%}#calc3 .person:after{content:'';position:absolute;top:8px;left:0;width:12px;height:12px;background:#009bce;border-radius:5px 5px 2px 2px}#calc3 .compare-card button{margin-top:10px;padding:8px 12px;font-size:12px}#calc3 .note{background:#eef8fc;padding:13px 15px;border-radius:11px;color:#356174;font-size:13px}#calc3 .editgrid{display:grid;grid-template-columns:230px 1fr;gap:22px}#calc3 .editpic{background:#f4f8fb;border-radius:15px;display:grid;place-items:center}#calc3 .editpic img{width:100%;max-height:210px;object-fit:contain;transform:scale(1.06)}#calc3 .quantity{display:flex;gap:15px;align-items:center;margin:15px 0}#calc3 .quantity button{border:1px solid #d8e4ed;background:white;display:grid;place-items:center;line-height:1;padding:0;border-radius:50%;width:38px;height:38px;font-size:20px}#calc3 .opt{display:flex;gap:12px;border:1px solid #dce7ef;border-radius:12px;padding:13px;margin-top:8px;align-items:start}#calc3 .opt input{accent-color:#00bfff;margin-top:5px}#calc3 .opt b{display:block;font-size:13px}#calc3 .opt small{display:block;margin-top:3px}#calc3 .editactions{display:flex;justify-content:space-between;align-items:center;margin-top:18px;gap:12px}#calc3 .booking-grid{display:grid;grid-template-columns:1fr 300px;gap:22px}#calc3 .dates{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:22px 0}#calc3 .date{border:1px solid #dce7ed;border-radius:12px;padding:13px;background:white}#calc3 .date b{display:block;font-size:23px}#calc3 .date[aria-pressed=true],#calc3 .slot[aria-pressed=true]{background:#e9faff;border:2px solid #00bfff}#calc3 .slots{display:flex;gap:10px;flex-wrap:wrap;margin:15px 0 24px}#calc3 .slot{background:white;border:1px solid #dce7ed;border-radius:30px;padding:10px 18px}#calc3 .book-summary{background:#142536;color:white;padding:22px;border-radius:18px}#calc3 .book-summary p{margin:13px 0;color:#bdcdda}#calc3 .book-summary b{color:white}#calc3 .final-state{text-align:center;padding:50px 20px}#calc3 .final-state h2{font-size:30px}#calc3 .final-state p{margin:15px 0}#calc3 .mobilebar{display:none}
/* Etapas: aparecen solo cuando el precio ya se ha revelado. */
#calc3 .steps{opacity:0;transform:translateY(-4px);pointer-events:none;transition:opacity .25s ease,transform .25s ease}
#calc3.is-priced .steps{opacity:1;transform:none;pointer-events:auto}
#calc3 .stepbar{display:none;position:sticky;top:0;z-index:6;align-items:center;gap:10px;padding:8px max(24px,calc((100vw - 1220px)/2));font-size:11px;color:#758495;background:transparent;border-bottom:1px solid transparent;transition:background .18s ease,border-color .18s ease,box-shadow .18s ease}/* Підкладка зʼявляється лише коли смужка прилипла до верху екрана. */#calc3 .stepbar.is-stuck{background:#fffffff2;backdrop-filter:blur(8px);border-bottom-color:#e3eaf0;box-shadow:0 4px 14px #10203010}
#calc3 .stepbar__item{display:flex;align-items:center;gap:6px;white-space:nowrap;transition:color .2s}
#calc3 .stepbar__item b{display:grid;place-items:center;width:18px;height:18px;border-radius:50%;background:#e6ecf1;color:#758495;font-size:10px;transition:background .2s,color .2s}
#calc3 .stepbar__item.is-active{color:#142333;font-weight:600}
#calc3 .stepbar__item.is-active b{background:#00bfff;color:#fff}
#calc3 .stepbar__track{flex:1;height:2px;min-width:16px;border-radius:2px;background:#e6ecf1;overflow:hidden}
#calc3 .stepbar__track i{display:block;height:100%;width:50%;border-radius:2px;background:#00bfff;transition:width .35s ease}
@media(prefers-reduced-motion:reduce){#calc3 .steps,#calc3 .stepbar__track i{transition:none}}
 #calc3 [hidden]{display:none!important}
@media(max-width:980px){#calc3 .layout{grid-template-columns:minmax(0,1fr) 275px}#calc3 .wrap{padding:24px 16px}#calc3 .catalog{padding:16px}#calc3 .steps{display:none}#calc3.is-priced .stepbar{display:flex}#calc3 .stepbar{padding-inline:16px}#calc3 .photo{height:97px}#calc3 .caption{padding:9px}#calc3 .caption strong{font-size:12px}}
@media(max-width:740px){#calc3 h1{font-size:31px}#calc3 .layout,#calc3 .booking-grid{grid-template-columns:1fr}#calc3 .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#calc3 .photo{height:120px}#calc3 .summary{position:static}#calc3 .heading{align-items:start}#calc3 .heading h2{font-size:20px}#calc3 .help{max-width:145px}#calc3 .intro{margin-bottom:20px}#calc3 .comparison{grid-template-columns:repeat(2,1fr)}#calc3 .editgrid{grid-template-columns:1fr}#calc3 .editpic img{height:196px}#calc3 .modal-head,#calc3 .modal-body{padding:18px}#calc3 .mobilebar{display:flex;position:sticky;bottom:0;align-items:center;justify-content:space-between;gap:12px;background:#142536;color:white;padding:10px 17px;z-index:4;box-shadow:0 -5px 18px #10203020}#calc3 .mobilebar small{color:#b8c9d9}/* Закріплена підказка: та сама мова, що й нижня панель вибору. */#calc3 .calchint{position:fixed;left:0;right:0;bottom:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;background:#142536;color:#fff;padding:12px 16px calc(12px + env(safe-area-inset-bottom));font-size:13px;line-height:1.4;box-shadow:0 -5px 18px #10203020}#calc3 .calchint__close{flex-shrink:0;width:32px;height:32px;display:grid;place-items:center;line-height:1;padding:0;border:0;border-radius:50%;background:#ffffff1f;color:#fff;font-size:19px}#calc3 .calchint__close:hover{background:#ffffff33}#calc3 .mobilebar strong{display:block}#calc3 .mobilebar button{font-size:12px}#calc3 .foothelp{align-items:start}#calc3 .wrap{padding-bottom:20px}}
@media(prefers-reduced-motion:reduce){#calc3,#calc3 *{scroll-behavior:auto!important;transition:none!important}}
#calc3 .photo-grid{max-height:374px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:1px 8px 42px 1px;scroll-snap-type:y proximity;scrollbar-width:thin;scrollbar-color:#9fb1c0 #edf2f6}#calc3 .photo-grid::-webkit-scrollbar{width:8px}#calc3 .photo-grid::-webkit-scrollbar-track{background:#edf2f6;border-radius:8px}#calc3 .photo-grid::-webkit-scrollbar-thumb{background:#9fb1c0;border-radius:8px}#calc3 .photo-grid .tile{scroll-snap-align:start}#calc3 .scrollstatus{display:flex;justify-content:center;align-items:center;gap:7px;margin-top:-34px;height:34px;position:relative;z-index:2;pointer-events:none;background:linear-gradient(180deg,#ffffff00,#fff 55%);color:#607184;font-size:11px}#calc3 .scrollstatus:before{content:'↓';display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:#e7f8fe;color:#007fa9}#calc3 .foothelp{margin-top:10px}@media(max-width:740px){#calc3 .photo-grid{max-height:480px}}
#calc3 .custom-date-callout{margin:4px 0 22px;padding:14px;border:1px dashed #b9dce9;border-radius:13px;background:#f4fbfe;text-align:center}#calc3 .custom-date-callout p{font-size:12px;color:#526b79;margin-bottom:9px}#calc3 .custom-date-form{display:grid;gap:13px}#calc3 .custom-date-form textarea{display:block;width:100%;min-height:82px;resize:vertical;padding:10px 12px;margin-top:4px;border-radius:9px;border:1px solid #cedbe5;color:#142333;font:16px 'Segoe UI',Arial,sans-serif}#calc3 .pending-choice{background:#fff8e7;color:#76540b;border:1px solid #f0d68d;border-radius:11px;padding:11px 13px;margin:13px 0;font-size:12px}
#calc3 .ff{position:relative;margin:0;min-width:0;padding:9px 14px;border:1.5px solid #94a3b8;border-radius:14px;background:#fff;box-shadow:inset 0 1px 2px #0f172a0d;transition:border-color 180ms,box-shadow 180ms,background 180ms}#calc3 .ff:focus-within,#calc3 .ff.is-filled{border-color:#00bfffd9;box-shadow:none}#calc3 .ff__legend{position:absolute;top:0;left:14px;transform:translateY(-50%);line-height:1;font-size:10.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#475569;white-space:nowrap;background:#fff;border-radius:6px;max-width:0;overflow:hidden;opacity:0;padding:0;transition:max-width 180ms ease,opacity 180ms ease,padding 180ms ease,color 180ms}#calc3 .ff:focus-within>.ff__legend,#calc3 .ff.is-filled>.ff__legend{max-width:100%;opacity:1;padding:0 4px;color:#0097cc}#calc3 .ff__input,#calc3 .ff__select,#calc3 .ff__area{display:block;width:100%;min-width:0;border:0!important;background:transparent!important;outline:0!important;padding:0!important;margin:0!important;box-shadow:none!important;color:#0f172a!important;font:16px 'Segoe UI',Arial,sans-serif!important;min-height:22px}#calc3 .ff__input::placeholder,#calc3 .ff__area::placeholder{color:#94a3b8;opacity:1}#calc3 .ff:focus-within .ff__input::placeholder,#calc3 .ff:focus-within .ff__area::placeholder{color:transparent}#calc3 .ff__area{min-height:74px;resize:vertical}#calc3 .summary .ff{background:#fff}#calc3 .summary .ff__legend{background:#fff}#calc3 .address-choice{display:flex;gap:8px;align-items:flex-start;margin:10px 0 3px;font-size:12px;color:#526879}#calc3 .address-choice input{margin-top:3px;accent-color:#00bfff}#calc3 .ff.is-disabled{background:#f1f5f9;border-color:#d8e1e8}#calc3 .ff.is-disabled .ff__input{color:#94a3b8!important}
#calc3 .modal{overflow:hidden}#calc3 .modal-body{max-height:calc(90vh - 86px);overflow-y:auto;overscroll-behavior:contain}#calc3 .editactions{position:sticky;bottom:-22px;z-index:4;margin:22px -25px -22px;padding:13px 25px;background:#fff;border-top:1px solid #dce7ef;box-shadow:0 -9px 24px #14253614}#calc3 .editactions small{max-width:48%;line-height:1.35}#calc3 .back-to-catalog{display:none}@media(max-width:740px){#calc3 .editactions{bottom:-18px;margin:20px -18px -18px;padding:12px 18px}#calc3 .editactions .primary{padding-inline:15px}#calc3 .back-to-catalog{display:block;margin-top:6px;color:#8ddffc}#calc3 .summary{scroll-margin-top:12px}#calc3 .catalog{scroll-margin-top:12px}}
/* Responsive refinements: reserved modal actions, readable narrow layouts. */
#calc3 .layout>*,#calc3 .booking-grid>*,#calc3 .editgrid>*{min-width:0}#calc3 .fields{gap:10px}#calc3 .summary .fields{gap:10px}#calc3 .ff__legend{max-width:calc(100% - 24px)!important;white-space:normal;line-height:1.15;letter-spacing:.04em;font-size:10px}#calc3 .ff{min-height:48px;display:flex;align-items:center}#calc3 .ff__input,#calc3 .ff__select{min-height:26px}#calc3 .resulthead{gap:12px;flex-wrap:wrap}#calc3 .caption{min-height:67px}#calc3 .photo-grid{grid-auto-rows:max-content;align-content:start}#calc3 .tile{min-height:0}#calc3 .summary{scroll-margin-top:18px}#calc3 .book-summary{align-self:start}#calc3 .editactions small{max-width:none;min-width:0}#calc3 .modal-head{flex-shrink:0}#calc3 .modal-body{min-height:0}#calc3 .modal{max-height:90svh}#calc3 #editor[open]{display:flex;flex-direction:column;max-height:90vh;max-height:90svh}#calc3 #editor>.modal-head,#calc3 #editor>.editactions{flex:0 0 auto}#calc3 #editor>.modal-body{flex:1 1 auto;min-height:0}#calc3 #editor>.modal-body{max-height:none;overflow-y:auto}#calc3 #editor>.editactions{position:static;margin:0;padding:16px 24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;background:#142536;color:white;border-top:1px solid #344557;box-shadow:none}#calc3 #editor>.editactions small{color:#c0d4e2;line-height:1.5}#calc3 #editor .primary{white-space:normal}#calc3 .summary:focus{outline:none}
@media(max-width:740px){#calc3 .demo{font-size:11px;text-align:right;max-width:210px}#calc3 .wrap{padding:22px 14px 34px}#calc3 .intro p{font-size:13px}#calc3 .catalog,#calc3 .summary,#calc3 .book-summary{padding:18px;border-radius:16px}#calc3 .heading{gap:10px}#calc3 .heading .help{padding:9px 10px;font-size:11px;flex-shrink:0;width:125px}#calc3 .heading small{display:block;margin-top:5px}#calc3 .filters{gap:6px}#calc3 .pill{padding:9px 12px;min-height:40px}#calc3 .category button{font-size:13px}#calc3 .photo-grid{max-height:390px;gap:9px;padding-right:6px}#calc3 .photo{height:108px;padding:2px 8px}#calc3 .caption{padding:9px;min-height:70px}#calc3 .caption strong{font-size:12px;overflow-wrap:anywhere}#calc3 .caption small{font-size:11px}#calc3 .resulthead{font-size:11px;gap:3px;margin:13px 0 10px}#calc3 .resulthead small{font-size:11px}#calc3 .foothelp{gap:8px;padding:11px}#calc3 .foothelp .textbutton{min-width:90px}#calc3 .mobilebar{position:fixed;left:0;right:0;bottom:0;padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:12px}#calc3 .mobilebar>div{min-width:0}#calc3 .mobilebar strong{font-size:13px}#calc3 .mobilebar small{font-size:11px}#calc3 .mobilebar .primary{min-height:44px;font-size:12px;flex-shrink:0;padding:10px 14px}#calc3 .back-to-catalog{padding:10px 0;min-height:40px}#calc3 .summary .leadnote{margin:12px 0 18px}#calc3 .modal{width:calc(100% - 20px);border-radius:18px;max-height:92svh}#calc3 #editor[open]{max-height:92svh}#calc3 .modal-head{padding:18px 16px 14px;gap:12px}#calc3 .modal-head h2{font-size:21px}#calc3 .modal-body{padding:18px 16px;max-height:calc(92svh - 105px)}#calc3 #editor>.modal-body{max-height:none}#calc3 #editor>.editactions{padding:13px 16px calc(26px + env(safe-area-inset-bottom));gap:12px}#calc3 #editor>.editactions .primary{font-size:13px;min-height:46px;padding:11px 14px}#calc3 #editor>.editactions small{font-size:11px}#calc3 .editgrid{gap:14px}#calc3 .editpic img{height:164px}#calc3 .quantity{margin:12px 0}#calc3 .quantity button{width:44px;height:44px}#calc3 .opt{padding:12px;gap:10px}#calc3 .opt input{width:17px;height:17px;flex-shrink:0}#calc3 .editactions small{max-width:none}#calc3 .dates{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0;max-height:210px;overflow-y:auto;overscroll-behavior:contain;padding-right:4px;scrollbar-width:thin;scrollbar-color:#9fb1c0 #edf2f6}#calc3 .dates::-webkit-scrollbar{width:6px}#calc3 .dates::-webkit-scrollbar-thumb{background:#9fb1c0;border-radius:6px}#calc3 .date{padding:9px 5px;border-radius:10px}#calc3 .date b{font-size:19px}#calc3 .date small{font-size:10px;line-height:1.25}#calc3 .slots{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}#calc3 .slot{padding:10px 8px;min-height:44px}#calc3 .fields{gap:10px}#calc3 .book-summary .primary{min-height:46px}#calc3 .compare-card{padding:10px}#calc3 .compare-card img{height:118px}#calc3 .compare-card h3{font-size:15px}#calc3 .compare-card .secondary{width:100%;padding:10px 6px}#calc3 .ff__legend{font-size:10px;letter-spacing:.015em}#calc3 .primary{min-height:44px}
}
@media(max-width:360px){#calc3 .wrap{padding-inline:10px}#calc3 .catalog,#calc3 .summary{padding:14px}#calc3 h1{font-size:28px}#calc3 .heading{flex-wrap:wrap}#calc3 .heading .help{width:auto}#calc3 .photo{height:92px;padding:2px 6px}#calc3 .photo-grid{max-height:355px}#calc3 .caption{gap:4px;padding:8px}#calc3 .caption .plus{width:22px;height:22px}#calc3 .mobilebar{padding-inline:12px}#calc3 .mobilebar strong{font-size:12px}#calc3 #editor>.editactions{grid-template-columns:1fr;gap:7px}#calc3 #editor>.editactions small{text-align:center}#calc3 .editactions .primary{width:100%}#calc3 .comparison{gap:8px}}
/* Category cards — same language as the site blocks. */
#calc3 .catbox{background:#f1f5f9;border-radius:14px;padding:8px;margin-bottom:15px;display:flex;flex-direction:column;gap:8px}
#calc3 .catrow{position:relative;overflow:hidden}
/* Edge arrows over a blurred fog — same treatment as .tabs-arrow / .tabs-fog on the site. */
#calc3 .catarrow-wrap{position:absolute;top:50%;transform:translateY(-50%);z-index:30;pointer-events:none;display:none}
#calc3 .catarrow-wrap--l{left:0}
#calc3 .catarrow-wrap--r{right:0}
#calc3 .catrow.can-l .catarrow-wrap--l,#calc3 .catrow.can-r .catarrow-wrap--r{display:block}
#calc3 .catarrow{pointer-events:auto;position:relative;z-index:2;display:flex;align-items:center;justify-content:center;padding:4px;border:0;background:transparent;box-shadow:none;color:#475569;cursor:pointer;transition:color .18s ease}
#calc3 .catarrow:hover{color:#0f172a}
#calc3 .catfog{position:absolute;z-index:1;pointer-events:none;top:-36px;bottom:-36px;width:180px;background:rgba(241,245,249,.95);filter:blur(26px);-webkit-mask-image:radial-gradient(farthest-side,rgba(0,0,0,1) 55%,rgba(0,0,0,0) 100%);mask-image:radial-gradient(farthest-side,rgba(0,0,0,1) 55%,rgba(0,0,0,0) 100%)}
#calc3 .catfog::after{content:"";position:absolute;inset:-44px;background:rgba(241,245,249,.55);filter:blur(60px);pointer-events:none;-webkit-mask-image:radial-gradient(farthest-side,rgba(0,0,0,1) 45%,rgba(0,0,0,0) 100%);mask-image:radial-gradient(farthest-side,rgba(0,0,0,1) 45%,rgba(0,0,0,0) 100%)}
#calc3 .catarrow-wrap--l .catfog{left:0;transform:translateX(-70%)}
#calc3 .catarrow-wrap--r .catfog{right:0;transform:translateX(70%)}
/* Cards never shrink below 150px: the strip stretches when there is room and
   scrolls (with arrows) when there is not — at any breakpoint. */
#calc3 .ba-cat-grid{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(150px,1fr);gap:10px;width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth}
#calc3 .ba-cat-grid::-webkit-scrollbar{display:none}
#calc3 .ba-cat-card{display:flex;align-items:center;gap:11px;padding:13px;border-radius:12px;width:100%;text-align:left;cursor:pointer;font-family:inherit;background:transparent;border:0;box-shadow:none;transition:background 200ms,box-shadow 200ms}
#calc3 .ba-cat-card:hover{background:#e6f8ff}
#calc3 .ba-cat-card:hover .ba-cat-card__name{color:#0097cc}
#calc3 .ba-cat-card[data-state=active],#calc3 .ba-cat-card[data-state=active]:hover{background:#fff;box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
#calc3 .ba-cat-card__icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:13px;flex-shrink:0;background:#f0f9ff;color:#0097cc;transition:background 200ms,color 200ms}
#calc3 .ba-cat-card[data-state=active] .ba-cat-card__icon{background:#00bfff;color:#fff}
#calc3 .ba-cat-card__text{min-width:0;display:flex;flex-direction:column}
#calc3 .ba-cat-card__name{font-size:14px;font-weight:650;line-height:1.2;color:#142333}
#calc3 .ba-cat-card[data-state=active] .ba-cat-card__name{color:#0097cc}
/* Drill-down: main categories, or the chosen category's filters — never both. */
#calc3 .ba-row--off{display:none!important}
#calc3 .ba-sub-row{display:flex;flex-direction:column;align-items:stretch;gap:8px;width:100%}
#calc3 .ba-back{align-self:flex-start;display:inline-block;padding:6px 10px;border:0;border-radius:8px;background:transparent;color:#607184;font-size:13px;line-height:1.3;cursor:pointer;transition:color .15s,background .15s}
#calc3 .ba-back:hover{color:#0097cc;background:#e6f8ff}
/* Subcategory + shape filters, styled like the site's subcategory tabs. */
#calc3 #shapes,#calc3 #subcats{gap:8px;flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-behavior:smooth}
#calc3 #shapes::-webkit-scrollbar,#calc3 #subcats::-webkit-scrollbar{display:none}
#calc3 #compare-shapes{gap:8px}
#calc3 #shapes .pill,#calc3 #subcats .pill,#calc3 #compare-shapes .pill{flex:0 0 auto;white-space:nowrap;height:40px;padding:0 16px;border:0;border-radius:12px;background:transparent;color:#607184;font-size:14px;font-weight:500;cursor:pointer;transition:background .15s,color .15s}
#calc3 #subcats .pill{display:inline-flex;align-items:center;gap:8px}
#calc3 #subcats .pill svg{width:16px;height:16px;flex-shrink:0}
/* Desktop: subcategories share the full row width (grow, never shrink — if they
   stop fitting they keep their natural size and the strip scrolls instead). */
@media(min-width:741px){#calc3 #subcats .pill{flex:1 0 auto;justify-content:center}}
/* Hover matches the site nav (primary-soft). */
#calc3 #shapes .pill:hover,#calc3 #subcats .pill:hover,#calc3 #compare-shapes .pill:hover{background:#e6f8ff;color:#0097cc}
/* Subcategories repeat the site's active tab: white pill, primary text, soft shadow. */
#calc3 #subcats .pill[aria-pressed=true],#calc3 #subcats .pill[aria-pressed=true]:hover{background:#fff;color:#0097cc;box-shadow:0 1px 3px 0 rgb(0 0 0/.1),0 1px 2px -1px rgb(0 0 0/.1)}
/* Shape filters (catalog + guide) stay solid brand blue; filled buttons darken on hover like on the site. */
#calc3 #shapes .pill[aria-pressed=true],#calc3 #compare-shapes .pill[aria-pressed=true]{background:#00bfff;color:#fff}
#calc3 #shapes .pill[aria-pressed=true]:hover,#calc3 #compare-shapes .pill[aria-pressed=true]:hover{background:#0097cc;color:#fff}
/* Groups we do not price online yet. */
#calc3 .emptycat{grid-column:1/-1;text-align:center;padding:34px 20px;border:1px dashed #cfdde7;border-radius:14px;background:#f8fbfd}
#calc3 .emptycat strong{display:block;font-size:16px;margin-bottom:6px}
#calc3 .emptycat p{color:#607184;font-size:13px;max-width:340px;margin:0 auto 14px}
@media(max-width:740px){
 #calc3 .ba-cat-grid{grid-auto-columns:minmax(142px,1fr);gap:9px}
 #calc3 .ba-cat-card{padding:11px;gap:9px}
 #calc3 .ba-cat-card__icon{width:38px;height:38px;border-radius:11px}
 #calc3 .ba-cat-card__name{font-size:13px}
}
#calc3 .summary .perks{border:0;padding:0;margin:14px 0;gap:8px}#calc3 .benefit-row{padding:10px 12px;border-radius:10px;background:#ffffff08;color:#c5d5e4;font-size:12px;display:flex;gap:9px;align-items:center}#calc3 .benefit-row .checkmark{color:#77dcb3;font-size:15px}#calc3 .offer-button{display:block;width:100%;padding:12px;text-align:left;border:1px solid #38bdf855;border-radius:11px;background:#0ea5e923;color:#c2eeff;line-height:1.45;font-size:13px}#calc3 .offer-button strong{display:block}#calc3 .offer-button small{display:none}@media(max-width:740px){#calc3 .offer-button small{display:block}}#calc3 .offer-button small{margin:4px 0 0;font-size:11px;color:#9ac8dc}#calc3 .offer-button:hover{background:#0ea5e936}#calc3 .summary .leadnote.price-instruction{margin:16px 0 20px;padding:13px;border:1px solid #38bdf84d;border-radius:11px;background:#0ea5e920;color:#c5efff;font-size:13px;line-height:1.55}#calc3 .price-instruction strong{color:#fff}#calc3 .offer-button:focus-visible{outline-offset:3px}@media(prefers-reduced-motion:no-preference){#calc3 .perks.offer-updated{animation:calc3-benefit-entry 240ms ease-out}@keyframes calc3-benefit-entry{from{opacity:.5;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}}
#calc3 .identify-callout{border:1px solid #c7e8f5;background:linear-gradient(120deg,#f0faff,#f7fbfd);padding:16px;gap:14px;align-items:center}#calc3 .identify-callout b{font-size:14px;color:#17374b}#calc3 .identify-trigger{min-height:44px;white-space:nowrap;background:#fff;border-color:#99d9f0;padding:11px 15px;flex-shrink:0}#calc3 .identify-trigger:hover{background:#e0f6ff}#calc3 .identify-dialog[open]{display:flex;flex-direction:column;max-height:90vh;max-height:90svh;width:min(600px,calc(100% - 24px));overflow:hidden}#calc3 .identify-dialog>.modal-head,#calc3 .identify-dialog>.editactions{flex:0 0 auto}#calc3 .identify-dialog>.modal-body{flex:1 1 auto;min-height:0}#calc3 .identify-dialog>.modal-body{min-height:0;max-height:none;overflow-y:auto;padding:22px}#calc3 .identify-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}#calc3 .identify-option{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding:16px;text-align:left;background:#f7fbfd;border:1px solid #d5e7f0;border-radius:14px;min-width:0}#calc3 .identify-option:hover{border-color:#00bfff;background:#ecf9ff}#calc3 .identify-symbol{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#dff5ff;color:#007ba4;font-size:26px}#calc3 .identify-option strong{font-size:14px}#calc3 .identify-option small{font-size:12px;white-space:normal}#calc3 .identify-formats{font-size:11px;color:#64788b;margin:12px 0 18px;line-height:1.5}#calc3 .identify-tips{font-size:13px;color:#496375;background:#f4f7fa;padding:14px 16px;border-radius:12px}#calc3 .identify-tips strong{color:#243e51}#calc3 .identify-tips ol{margin:8px 0 0;padding-left:19px}#calc3 .identify-tips li+li{margin-top:5px}#calc3 .identify-preview{margin-top:16px;border:1px solid #dce8ef;border-radius:13px;overflow:hidden;background:#f0f5f8}#calc3 .identify-preview img{display:block;width:100%;height:220px;object-fit:contain;padding:10px}#calc3 .identify-preview-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;background:#fff;font-size:12px}#calc3 .identify-preview-meta>span{min-width:0;overflow-wrap:anywhere}#calc3 .identify-preview-meta button{flex-shrink:0;min-height:40px}#calc3 .identify-status{font-size:12px;color:#607687;margin-top:16px;line-height:1.5}#calc3 .identify-error{padding:12px;background:#fff1f0;color:#962c28;border:1px solid #f2c7c3;border-radius:10px;font-size:13px;margin-top:14px}#calc3 .identify-footer{background:#f6fafc;border-top:1px solid #deebf1;padding:15px 22px;display:flex;align-items:center;justify-content:space-between;gap:15px}#calc3 .identify-footer small{font-size:12px;line-height:1.4}#calc3 .identify-footer button{flex-shrink:0;min-height:44px;font-size:12px}@media(max-width:540px){#calc3 .identify-callout{flex-direction:column;align-items:stretch;padding:14px}#calc3 .identify-trigger{width:100%;text-align:center}#calc3 .identify-dialog>.modal-body{padding:16px}#calc3 .identify-choices{gap:9px}#calc3 .identify-option{padding:12px;gap:8px}#calc3 .identify-option strong{font-size:13px}#calc3 .identify-option small{font-size:11px}#calc3 .identify-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));flex-wrap:wrap;gap:9px}#calc3 .identify-footer button{width:100%}#calc3 .identify-preview img{height:185px}}
#calc3 .camera-view{margin-top:16px;background:#142536;border-radius:14px;overflow:hidden}#calc3 .camera-view video{display:block;width:100%;max-height:340px;object-fit:contain;background:#0c1823}#calc3 .camera-actions{display:flex;gap:10px;flex-wrap:wrap;padding:12px}#calc3 .camera-actions button{min-height:44px;flex:1}#calc3 .camera-view p{color:#c5d8e7;font-size:12px;padding:0 12px 12px}/* Поки камера відкрита, показуємо лише її: інакше кнопки зйомки йдуть під екран. */#calc3 .identify-dialog.is-capturing .identify-choices,#calc3 .identify-dialog.is-capturing .identify-formats,#calc3 .identify-dialog.is-capturing .identify-tips{display:none}#calc3 .identify-dialog.is-capturing .camera-view{margin-top:0}#calc3 .camera-view video{max-height:min(340px,44svh)}/* Режим зйомки: ховаємо все зайве; відео — звичайний блок, contain (портрет без обрізання), висота під екран. */#calc3 .identify-dialog.is-capturing .camera-view{margin-top:0}#calc3 .identify-dialog.is-capturing .camera-view video{max-height:min(340px,34svh)}#calc3 .identify-dialog.is-capturing .identify-preview,#calc3 .identify-dialog.is-capturing #ai-results{display:none}
#calc3 .ai-candidate{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;padding:14px;border:1px solid #c7e8f5;border-radius:14px;margin-top:12px;background:#f7fbfd}#calc3 .ai-candidate img{width:76px;height:76px;object-fit:contain}#calc3 .ai-candidate p{font-size:12px;color:#607687;margin-top:5px}#calc3 .ai-candidate button{grid-column:1/-1;min-height:44px;white-space:normal}#calc3 #ai-results{margin-top:16px}#calc3 #ai-results>p{font-size:13px;line-height:1.5;margin-top:12px}#calc3 .identify-footer>div{min-width:0}#calc3 .identify-footer>div>button{display:block}#calc3 .identify-footer>button{white-space:normal}@media(max-width:360px){#calc3 .ai-candidate{grid-template-columns:58px minmax(0,1fr);padding:10px}#calc3 .ai-candidate img{width:58px;height:58px}}

/* The .help cap (145px) is narrower than this label, and nowrap made it overflow. */
@media(max-width:740px){
 #calc3 .identify-trigger{max-width:none;width:100%;text-align:center;white-space:normal;padding:11px 12px}
 #calc3 .identify-callout{flex-wrap:wrap}
}

/* sofa-mechanisms.css */
#calc3 .mechanisms{margin-top:18px;text-align:left}#calc3 .mechanisms>strong{font-size:14px;display:block}#calc3 .mechanisms>p{font-size:12px;color:#607184;margin:6px 0 12px}#calc3 .mechanism-row{display:flex;align-items:center;gap:4px;border:1px solid #d9e6ee;border-radius:12px;background:#f7fbfd;margin-top:9px;padding:5px}#calc3 .mechanism-row:has(input:checked){border-color:#00a8dc;background:#ecfaff}#calc3 .mechanism-row label{display:flex;align-items:center;gap:10px;flex:1;min-width:0;min-height:44px;padding:7px;cursor:pointer;font-size:13px;line-height:1.4}#calc3 .mechanism-row input{width:18px;height:18px;flex-shrink:0;accent-color:#009ac8}#calc3 .mechanism-info{width:44px;min-height:44px;flex-shrink:0;border:0;border-radius:9px;background:transparent;color:#007da9;font-size:24px}#calc3 .mechanism-info:hover{background:#dbf3fc}#calc3 .mechanism-help{padding:12px;background:#f1f7fa;border:1px solid #d9e6ee;border-radius:12px;margin-top:6px}#calc3 .mechanism-help p{font-size:12px;line-height:1.6;margin-top:10px;color:#385469}#calc3 .mechanisms .mechanism-note{font-size:11px;margin-top:10px}#calc3 .mechanisms .mechanism-selection{color:#007da9;margin-bottom:0}#calc3 .mechanism-selection:empty{display:none}

/* price-first.css */
#calc3 .intro .price-first-later{font-size:12px;margin-top:10px;color:#6b7e8d;max-width:550px}#calc3 .intro h1{max-width:650px}#calc3 .summary h2{font-size:21px}#calc3 .summary.price-is-ready h2{font-size:19px}#calc3 .summary .leadnote.price-instruction{display:flex;gap:9px;align-items:flex-start;margin:16px 0 14px;padding:12px 13px;border:1px solid #38bdf880;border-radius:11px;background:#0ea5e92e;color:#e6f6ff;font-size:13px;line-height:1.5;font-weight:500}#calc3 .summary .leadnote.price-instruction::before{content:'i';flex:0 0 18px;height:18px;margin-top:1px;display:grid;place-items:center;border-radius:50%;background:#38bdf8;color:#06283a;font-size:12px;font-weight:800;line-height:1;font-style:italic}#calc3 .price-reassurance{font-size:11px;color:#b9cbd8;text-align:center;margin:10px 0}#calc3 .availability-invitation{border-top:1px solid #344557;padding-top:15px;margin:15px 0 12px}#calc3 .availability-invitation strong{font-size:14px}#calc3 .availability-invitation p{font-size:12px;color:#b9cbd8;margin:5px 0 0}#calc3 .mechanism-info{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:44px;line-height:1.1}#calc3 .mechanism-info .info-caption{font-size:10px;line-height:1.3;font-weight:500}#calc3 .book-summary .booking-confirmation-note{font-size:12px;margin:14px 0 0;line-height:1.6}#calc3 .booking-demo-note{display:block;color:#bdcdda;font-size:11px;margin-top:10px}#calc3 .final-state .eyebrow{color:#627b8b}/* Фінальний екран: підтвердження в мові сайту. */#calc3 .final-state{max-width:560px;margin:0 auto;padding:44px 20px 40px}#calc3 .final-icon{width:56px;height:56px;margin:0 auto 16px;border-radius:50%;background:#e6f8ff;color:#0097cc;display:grid;place-items:center}#calc3 .final-icon svg{width:28px;height:28px}#calc3 .final-state .eyebrow{color:#0097cc}#calc3 .final-state h2{font-size:clamp(1.5rem,3vw,2rem);line-height:1.2;margin:6px 0 8px}#calc3 .final-lead{color:#607184;font-size:15px;margin:0 0 22px}#calc3 .final-card{position:relative;text-align:left;background:#fff;border:1px solid #e2e9ef;border-radius:16px;padding:18px 18px 16px;margin:0 0 22px;box-shadow:0 3px 14px #16304610}#calc3 .final-row{display:flex;justify-content:space-between;gap:16px;padding:9px 0;border-bottom:1px solid #eef2f6;font-size:14px}#calc3 .final-row:last-of-type{border-bottom:0}#calc3 .final-label{color:#607184;flex:0 0 auto}#calc3 .final-value{color:#142333;font-weight:600;text-align:right;white-space:pre-line}#calc3 .final-row--total{padding-top:12px;margin-top:4px;border-top:1px solid #e2e9ef}#calc3 .final-row--total .final-value{font-size:20px;color:#0097cc}#calc3 .final-status{display:inline-block;margin-top:12px;padding:5px 11px;border-radius:999px;background:#fff7e6;color:#9a6700;font-size:12px;font-weight:600}#calc3 .final-steps{list-style:none;padding:0;margin:0 0 26px;text-align:left;display:grid;gap:10px}#calc3 .final-steps li{display:flex;gap:12px;align-items:flex-start;font-size:14px;color:#3b4d5e;line-height:1.5}#calc3 .final-steps b{flex:0 0 24px;height:24px;border-radius:50%;background:#00bfff;color:#fff;font-size:12px;display:grid;place-items:center;margin-top:1px}#calc3 .final-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch}#calc3 .final-actions .primary{display:flex;align-items:center;justify-content:center;text-decoration:none}@media(min-width:741px){#calc3 .final-actions{flex-direction:row;justify-content:center}#calc3 .final-actions .primary,#calc3 .final-actions .secondary{min-width:220px}}@media(max-width:400px){#calc3 .summary h2{font-size:19px}#calc3 .intro h1{font-size:29px}}

/* ── Адаптація під сайт ─────────────────────────────────────────────
   Прототип живе на порожній сторінці, тут над ним висить липка навігація
   (#site-nav: sticky, top:0, height:64px, z-index:60). */
#calc3{padding:30px 0 10px}
/* Мобільна смужка етапів лишається липкою, але під навігацією, а не під нею. */
#calc3 .stepbar{top:64px}
/* Сайт задає .ba-cat-grid{grid-template-columns:72px} під компактну картку «Todos»
   у блоці «до та після», а .ba-cat-card{min-width:120px}. У калькуляторі колонки
   рахує grid-auto-columns, тож явний трек треба зняти — інакше перша картка
   втискається у 72px і налазить на сусідню. */
#calc3 .ba-cat-grid{grid-template-columns:none}
#calc3 .ba-cat-card{min-width:0}
/* На ПК етапи закріплені справа вгорі, навпроти заголовка секції. */
#calc3 .intro{align-items:flex-start}
#calc3 .steps{padding-top:6px}
/* Tailwind-preflight сайту (*,::backdrop{margin:0}) забирає в <dialog> браузерний
   margin:auto, через що модалка притискається до лівого верхнього кута. */
#calc3 .modal{margin:auto}

/* ── Шапка калькулятора у мові сайту: підказка + заголовок по центру ──
   Ті самі значення, що й у «Cómo funciona» / «Opiniones»; етапи на ПК
   стоять справа абсолютно, тому не зсувають центрований текст. */
#calc3 .intro{display:block;position:relative;text-align:center;margin-bottom:28px}
#calc3 .intro .eyebrow{color:hsl(var(--primary,192 100% 50%));font-size:.75rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;margin-bottom:8px}
#calc3 .intro h1{font-family:var(--font-display,'Outfit',system-ui,sans-serif);font-weight:700;font-size:clamp(1.75rem,3vw,2.25rem);letter-spacing:normal;line-height:1.2;color:var(--brand-ink,#0f172a);max-width:720px;margin:0 auto}
#calc3 .intro p{margin:10px auto 0;max-width:560px}
#calc3 .intro .price-first-later{margin:8px auto 0}
@media(min-width:981px){#calc3 .steps{position:absolute;right:0;top:4px;padding-top:0}}

/* ── Кнопка «наступний крок»: після ціни та сама кнопка веде до дат ──
   Іконка календаря + ореол + одноразовий пульс у момент зміни. */
#calc3 #leadcta{display:flex;align-items:center;justify-content:center;gap:10px}
#calc3 #leadcta svg{width:18px;height:18px;flex-shrink:0}
#calc3 #leadcta.is-next{outline:4px solid rgba(0,191,255,.28);outline-offset:3px;animation:calc3-next-pulse .9s ease-out 1}
@keyframes calc3-next-pulse{0%{box-shadow:0 0 0 0 rgba(0,191,255,.6)}100%{box-shadow:0 0 0 18px rgba(0,191,255,0)}}
@media(prefers-reduced-motion:reduce){#calc3 #leadcta.is-next{animation:none}}

/* Підказка-дія: стрілка вниз справа і курсор — веде до полів даних. */
#calc3 .leadnote.price-instruction.is-cta{cursor:pointer;padding-right:40px;position:relative;transition:background .15s}
#calc3 .leadnote.price-instruction.is-cta:hover{background:#0ea5e93d}
#calc3 .leadnote.price-instruction.is-cta::after{content:"";position:absolute;right:14px;top:50%;width:9px;height:9px;margin-top:-7px;border-right:1.5px solid #8ddffc;border-bottom:1.5px solid #8ddffc;transform:rotate(45deg)}
#calc3 .leadnote.price-instruction.is-cta:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}
/* Camera mode: reserve controls first and let only the video shrink. */
#calc3 .identify-dialog>.identify-footer{flex:0 0 auto}
#calc3 .identify-dialog.is-capturing[open]{height:90svh;height:90dvh}
#calc3 .identify-dialog.is-capturing>.identify-footer,
#calc3 .identify-dialog.is-capturing #photo-status{display:none}
#calc3 .identify-dialog.is-capturing>.modal-body{display:flex;flex-direction:column;overflow:auto}
#calc3 .identify-dialog.is-capturing .camera-view{display:flex;flex-direction:column;flex:1 1 auto;min-height:0}
#calc3 .identify-dialog.is-capturing .camera-view video{flex:1 1 auto;min-height:0;height:0;max-height:none;object-fit:contain}
#calc3 .identify-dialog.is-capturing .camera-actions,
#calc3 .identify-dialog.is-capturing .camera-view>p{flex:0 0 auto}
@media(max-width:740px){
 #calc3 .identify-dialog.is-capturing .modal-head{padding:12px 16px}
 #calc3 .identify-dialog.is-capturing .modal-head .eyebrow,
 #calc3 .identify-dialog.is-capturing .modal-head small{display:none}
 #calc3 .identify-dialog.is-capturing .modal-head h2{font-size:18px;line-height:1.25}
 #calc3 .identify-dialog.is-capturing>.modal-body{padding:10px}
 #calc3 .identify-dialog.is-capturing .camera-actions{padding-bottom:calc(12px + env(safe-area-inset-bottom,0px))}
}
