/* Credit House — вітрина v2 (25.11.2026), задум «Реєстр». Збирається з ops/claude-reject-walls-20261125/build. */
:root{--font:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;--ground:#F7F3E8;--ink:#0B2545;--ink2:#34435A;--ink3:#4A5568;--muted:#5C6573;--line:#E6DFCD;--card:#FFFFFF;--cta:#F0B429;--cta-ink:#0B2545;--ok:#12A150;--seg:#DDD5C2;--pill-bg:#F1E6C6;--pill-ink:#0B2545;--r-card:14px;--r-btn:10px;--bar-bg:#0B2545;--bar-ink:#FFFFFF;--bar-sub:#B4BFD1;--done-bg:#E7F6EC;--done-line:#CDEBD8;--done-ink:#0B5A2E;--done-sub:#34435A;--done-btn-line:#9FD3B3}
/* ---- спільна основа: скидання, каркас, юридичний блок, плашка, кроки, підвал. Вигляд картки задає кожна вітрина сама. ---- */
:root{
  --i-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-check:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  --i-star:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 3.5l2.6 5.4 5.9.8-4.3 4.1 1 5.9-5.2-2.8-5.2 2.8 1-5.9L3.5 9.7l5.9-.8L12 3.5z'/%3E%3C/svg%3E");
  --i-shield:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 4.6-3 8.3-7 10-4-1.7-7-5.4-7-10V6l7-3z'/%3E%3Cpath d='M9 12l2.2 2.2L15 10.5'/%3E%3C/svg%3E");
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);color:var(--ink);background:var(--ground);line-height:1.4;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img{max-width:100%}
button{font-family:inherit}
[hidden]{display:none!important}
a:focus-visible,button:focus-visible{outline:3px solid var(--focus,#2F6BFF);outline-offset:2px}

.cw-page{min-height:100vh;display:flex;flex-direction:column}
.cw-wrap{width:100%;max-width:1120px;margin:0 auto;padding-left:16px;padding-right:16px}
.cw-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;padding-bottom:12px}
.cw-logo{display:flex;align-items:center;color:inherit;text-decoration:none;line-height:0}
.cw-logo svg,.cw-logo img{display:block;height:40px;width:auto}
.cw-free{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 10px;border-radius:999px;background:var(--pill-bg);color:var(--pill-ink);font-size:12.5px;font-weight:700;white-space:nowrap}
.cw-free::before{content:"";width:15px;height:15px;background:currentColor;-webkit-mask:var(--i-shield) center/contain no-repeat;mask:var(--i-shield) center/contain no-repeat}

.cw-hero{display:flex;flex-direction:column;gap:14px;padding-top:8px}
.cw-hero h1{font-size:clamp(26px,4vw,44px);line-height:1.14;letter-spacing:-.02em;font-weight:800;text-wrap:balance}
.cw-tracker{display:flex;flex-direction:column;gap:8px;max-width:560px}
.cw-tracker p{font-size:15px;line-height:1.4;color:var(--ink2);text-wrap:pretty}
.cw-segs{display:flex;gap:6px}
.cw-segs span{flex:1;height:6px;border-radius:3px;background:var(--seg)}
.cw-segs span.on{background:var(--ok)}
.cw-amount{display:flex;flex-direction:column;gap:8px;max-width:420px}
.cw-amount-label{font-size:13px;font-weight:700;color:var(--ink2)}
.cw-chips{display:flex;gap:8px}
.cw-chip{flex:1 1 0;min-width:0;height:44px;border-radius:12px;border:1px solid var(--seg);background:var(--card);color:var(--ink);font-size:15px;font-weight:700;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cw-chip[aria-pressed="true"]{background:var(--ink);border-color:var(--ink);color:var(--card)}
.cw-chip:active{transform:scale(.98)}

.cw-offers{display:flex;flex-direction:column;gap:10px;padding-top:20px}
.cw-list-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:2px 12px}
.cw-list-head h2{font-size:15px;font-weight:800;letter-spacing:-.01em}
.cw-list-head span{font-size:12px;color:var(--muted);white-space:nowrap}

#offers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(330px,100%),1fr));gap:10px;align-items:start;position:relative}
#offers:empty::before,#offers:empty::after{content:"";display:block;height:200px;border-radius:var(--r-card);background:var(--seg);opacity:.6;animation:cwPulse 1.2s ease-in-out infinite}
#offers>p{grid-column:1/-1;font-size:15px;color:var(--ink2);padding:12px 0}
#offers>a,#offers>.lma-banner,#offers>.tg-banner{grid-column:1/-1}

.offer{position:relative;min-width:0;cursor:pointer;background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:14px;display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-areas:"logo info" "btn btn" "apr apr" "links links";column-gap:12px;row-gap:12px;align-items:center;-webkit-tap-highlight-color:transparent}
.offer-logo{grid-area:logo;min-width:0}
.offer-logo a{display:block;line-height:0}
.offer-logo img{display:block;width:112px;height:57px;object-fit:contain}
.offer-info{grid-area:info;list-style:none;display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;row-gap:4px;min-width:0;text-align:right}
.offer-info li{font-size:13px;color:var(--ink3);white-space:nowrap}
.offer-info .text{display:none}
.offer-info li:first-child{flex:0 0 100%}
.offer-info li:first-child .value{font-size:22px;font-weight:800;letter-spacing:-.02em;line-height:1.05;color:var(--ink);text-transform:lowercase}
.offer-info li:nth-child(3) .value::before{content:"\00a0· ставка "}
.offer-button{grid-area:btn}
.offer-button .btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:50px;border-radius:var(--r-btn);background:var(--cta);color:var(--cta-ink);text-decoration:none;font-size:16px;font-weight:800;letter-spacing:-.01em;transition:transform .12s ease}
.offer-button .btn::after{content:"";flex:none;width:18px;height:18px;background:currentColor;-webkit-mask:var(--i-arrow) center/contain no-repeat;mask:var(--i-arrow) center/contain no-repeat}
.offer-button .btn:active{transform:scale(.98)}
.offer-present{grid-area:apr;display:flex;flex-wrap:wrap;column-gap:4px;font-size:11.5px;line-height:1.35;color:var(--muted);margin-top:-2px}
.offer-present-text::after{content:":"}
.offer-present-inner{display:flex;column-gap:4px}
.offer-links{grid-area:links;display:flex;flex-wrap:wrap;column-gap:14px;font-size:11.5px;line-height:1.35;margin-top:-8px;margin-bottom:-4px}
.offer-links a{color:var(--ink2);text-decoration:underline;padding:4px 0}
.offer.is-less .offer-info::before{content:"менша сума";font-size:11px;font-weight:700;line-height:1.3;color:var(--less-ink,#7A4300);background:var(--less-bg,#FFF1DC);border-radius:6px;padding:2px 7px}

#show-more-wrap{grid-column:1/-1;margin:2px 0 0!important}
#show-more-btn{height:50px;padding:0 14px!important;border:1px solid var(--seg)!important;border-radius:var(--r-btn)!important;background:transparent!important;color:var(--ink)!important;font-size:15px!important;font-weight:700!important}

.cw-bar{position:sticky;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:40;width:100%;max-width:560px;margin:6px auto 0;display:flex;align-items:center;gap:10px;background:var(--bar-bg);color:var(--bar-ink);border-radius:var(--r-card);padding:10px 10px 10px 12px;box-shadow:0 12px 30px rgba(0,0,0,.28)}
.cw-bar-logo{flex:none;width:58px;height:44px;border-radius:10px;background:#FFFFFF;display:flex;align-items:center;justify-content:center;overflow:hidden}
.cw-bar-logo img{display:block;width:58px;height:30px;object-fit:contain}
.cw-bar-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}
.cw-bar-text span{font-size:12px;color:var(--bar-sub);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-bar-text strong{font-size:15px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cw-bar-btn{flex:none;height:48px;padding:0 16px;border-radius:var(--r-btn);background:var(--cta);color:var(--cta-ink);font-size:15px;font-weight:800;text-decoration:none;display:flex;align-items:center}
.cw-bar-btn:active{transform:scale(.98)}

.cw-offers .kb-ai-wrap{margin:14px auto 6px!important;padding:0!important;max-width:none!important}
#greeting-block{margin:0}

.cw-how{display:flex;flex-direction:column;gap:14px;padding-top:36px}
.cw-how h2{font-size:20px;font-weight:800;letter-spacing:-.02em}
.cw-steps{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:10px}
.cw-steps li{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);padding:14px;display:flex;gap:12px;align-items:flex-start}
.cw-step-n{flex:none;width:30px;height:30px;border-radius:50%;background:var(--ink);color:var(--card);display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800}
.cw-steps strong{display:block;font-size:15px;font-weight:800;margin-bottom:3px}
.cw-steps p{font-size:13.5px;line-height:1.4;color:var(--ink3)}

.cw-footer{display:flex;flex-direction:column;gap:12px;padding-top:32px;padding-bottom:40px}
.cw-footer p{font-size:12px;line-height:1.5;color:var(--muted);text-wrap:pretty}
.cw-footer-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;font-size:12px;color:var(--muted)}
.cw-footer-row a{color:var(--ink2);text-decoration:underline;padding:8px 0}

@keyframes cwNudge{0%,64%,100%{transform:translateX(0)}76%{transform:translateX(6px)}88%{transform:translateX(0)}}
@keyframes cwPulse{0%,100%{opacity:.6}50%{opacity:.3}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation:none!important}}

/* ---- вигляд цієї вітрини ---- */
.ch-eyebrow{font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7A5F17}
.cw-hero h1,.cw-how h2{font-family:'Playfair Display',Georgia,'Times New Roman',serif;font-weight:700;letter-spacing:-.01em}
.cw-hero h1{line-height:1.16}
.cw-hero h1::after{content:"";display:block;width:56px;height:3px;border-radius:2px;background:#C8A24A;margin-top:12px}
.cw-tracker{gap:12px}
.cw-segs{gap:0;align-items:center}
.cw-segs span{flex:none;width:34px;height:34px;border-radius:50%;border:1.5px solid #C8A24A;background:transparent;color:#0B2545;font:700 15px/1 'Playfair Display',Georgia,serif;font-variant-numeric:lining-nums;display:flex;align-items:center;justify-content:center;position:relative}
.cw-segs span+span{margin-left:40px}
.cw-segs span+span::before{content:"";position:absolute;right:calc(100% + 1.5px);top:50%;width:40px;height:1.5px;background:#C8A24A}
.cw-segs span.on{background:#0B2545;border-color:#0B2545;color:#F0B429}
.cw-chips{gap:0;border-bottom:1px solid var(--seg)}
.cw-chip{border:0;border-bottom:3px solid transparent;border-radius:0;background:none;margin-bottom:-1px}
.cw-chip[aria-pressed="true"]{background:none;color:#0B2545;border-color:transparent;border-bottom-color:#C8A24A}
.cw-list-head h2{font-family:'Playfair Display',Georgia,serif;font-size:16px;font-weight:700;font-variant-numeric:lining-nums}
#offers{gap:0;background:#FFFFFF;border:1px solid var(--line);border-radius:16px;overflow:hidden;counter-reset:rk}
.offer{border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px 14px;counter-increment:rk;grid-template-columns:20px 88px minmax(0,1fr);grid-template-areas:"rank logo info" "btn btn btn" "apr apr apr" "links links links";column-gap:8px}
.offer::before{content:counter(rk);grid-area:rank;font:700 20px/1 'Playfair Display',Georgia,serif;font-variant-numeric:lining-nums;color:#A8842F}
.offer-logo img{width:88px;height:45px}
.offer-info li{font-size:12.5px}
.offer-info li:first-child .value{font-family:'Playfair Display',Georgia,serif;font-weight:700;letter-spacing:0;font-size:22px;font-variant-numeric:lining-nums}
.offer-button .btn{background:#0B2545;color:#FFFFFF}
.offer-button .btn::after{background:#F0B429}
.offer.is-top{background:#0B2545;color:#FFFFFF;grid-template-areas:"badge badge badge" "rank logo info" "btn btn btn" "apr apr apr" "links links links";row-gap:14px;padding:18px 14px}
.offer.is-top::before{color:#F0B429}
.offer.is-top::after{content:attr(data-cw-badge);grid-area:badge;font-size:11.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#F0B429}
.offer.is-top .offer-logo a{height:51px;border-radius:8px;background:#FFFFFF;display:flex;align-items:center;justify-content:center;overflow:hidden}
.offer.is-top .offer-logo img{width:84px;height:43px}
.offer.is-top .offer-info li{color:#C5CEDD}
.offer.is-top .offer-info li:first-child .value{color:#FFFFFF;font-size:23px}
.offer.is-top .offer-button .btn{background:#F0B429;color:#0B2545;height:56px;font-size:17px}
.offer.is-top .offer-button .btn::after{background:currentColor;width:20px;height:20px;animation:cwNudge 2.6s ease-in-out infinite}
.offer.is-top .offer-present{color:#B4BFD1}
.offer.is-top .offer-links a{color:#CBD3E0}
#show-more-wrap{padding:12px 14px!important}
.cw-bar{border:1px solid rgba(200,162,74,.5)}

/* ---- стан «заявку відкрито»: однаковий каркас на всіх вітринах (іде після стилів вітрини, щоб перекрити її розкладку) ---- */
.offer.is-done{background:var(--done-bg);border:1px solid var(--done-line);color:var(--ink);padding:10px 10px 10px 12px;box-shadow:none;display:grid;grid-template-columns:64px minmax(0,1fr) auto;grid-template-areas:"logo info btn" "apr apr apr" "links links links";column-gap:10px;row-gap:8px;align-items:center;max-width:none;margin:0;transform:none}
.offer.is-done::before,.offer.is-done::after{content:none}
.offer.is-done .offer-logo{grid-area:logo;position:static;margin:0;padding:0;background:none;border:0;width:auto;height:auto}
.offer.is-done .offer-logo::before,.offer.is-done .offer-logo::after{content:none}
.offer.is-done .offer-logo a{height:44px;width:64px;border-radius:10px;background:#FFFFFF;display:flex;align-items:center;justify-content:center;overflow:hidden;margin:0;border:0}
.offer.is-done .offer-logo img{width:64px;height:33px}
.offer.is-done .offer-info{grid-area:info;display:block;text-align:left;margin:0;padding:0;background:none;border:0}
.offer.is-done .offer-info::before{content:"Заявку відкрито";display:block;font-size:13px;font-weight:800;line-height:1.3;white-space:nowrap;color:var(--done-ink);padding:0;margin:0;border-radius:0;background:none;text-transform:none;letter-spacing:0}
.offer.is-done .offer-info::after{content:none}
.offer.is-done .offer-info li{display:none}
.offer.is-done .offer-info li::before,.offer.is-done .offer-info li::after{content:none}
.offer.is-done .offer-info li:first-child{display:block;margin:2px 0 0;padding:0;background:none;border:0;text-align:left}
.offer.is-done .offer-info li:first-child .text{display:none}
.offer.is-done .offer-info li:first-child .value{font-family:inherit;font-size:12.5px;font-weight:500;letter-spacing:0;line-height:1.3;color:var(--done-sub);text-transform:lowercase}
.offer.is-done .offer-button{grid-area:btn;position:static;margin:0;padding:0;border:0;background:none;width:auto;height:auto}
.offer.is-done .offer-button::before,.offer.is-done .offer-button::after{content:none}
.offer.is-done .offer-button .btn{width:auto;height:44px;padding:0 14px;border-radius:10px;background:var(--done-btn-bg,#FFFFFF);border:1px solid var(--done-btn-line);color:var(--done-ink);font-size:0;gap:0;box-shadow:none;text-transform:none;letter-spacing:0;transform:none}
.offer.is-done .offer-button .btn::before{content:"Відкрити";font-family:inherit;font-size:13px;font-weight:700;letter-spacing:0;width:auto;height:auto;background:none;-webkit-mask:none;mask:none;position:static}
.offer.is-done .offer-button .btn::after{content:none}
.offer.is-done .offer-present{grid-area:apr;color:var(--done-sub);margin:0;padding:0;border:0;font-family:inherit}
.offer.is-done .offer-links{grid-area:links;margin:-6px 0 -4px;padding:0;border:0}
.offer.is-done .offer-links a{color:var(--done-sub)}
.offer.is-done{border:0;border-bottom:1px solid var(--done-line)}
