/* Golden Horse — repair cost calculator (static site add-on) */
.ghc{--g:#004C3F;--g2:#0a6a58;--gold:#BAAA88;--ink:#171d26;--mute:#6b7280;--line:#e5e7eb;--bg:#f7f8f8;font-family:inherit;color:var(--ink);margin:40px auto;max-width:1330px;padding:0 15px;box-sizing:border-box}
.ghc *{box-sizing:border-box}
.ghc-card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.06);overflow:hidden}
.ghc-head{background:var(--g);color:#fff;padding:28px 32px;display:flex;justify-content:space-between;gap:20px;align-items:flex-end;flex-wrap:wrap}
.ghc-head h2{margin:0;font-size:28px;line-height:1.15;color:#fff}
.ghc-head p{margin:6px 0 0;color:#cfe3dd;font-size:14px}
.ghc-badge{background:var(--gold);color:var(--ink);font-weight:700;font-size:12px;letter-spacing:.06em;text-transform:uppercase;padding:6px 10px;border-radius:6px}
.ghc-body{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:0}
.ghc-body>*{min-width:0}
.ghc-step,.ghc-items,.ghc-grid{min-width:0}
.ghc-chips{max-width:100%}
.ghc-steps{padding:26px 32px;border-right:1px solid var(--line)}
.ghc-step{margin-bottom:26px}
.ghc-step h3{font-size:16px;margin:0 0 12px;display:flex;align-items:center;gap:10px}
.ghc-step h3 span{display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--g);color:#fff;font-size:13px;align-items:center;justify-content:center;flex:none}
.ghc-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.ghc-grid label{font-size:12px;color:var(--mute);display:block;margin-bottom:4px}
.ghc input,.ghc select,.ghc textarea{width:100%;height:46px;border:1px solid var(--line);border-radius:8px;padding:0 12px;font:inherit;font-size:15px;background:#fff;color:var(--ink)}
.ghc textarea{height:80px;padding:10px 12px;resize:vertical}
.ghc input:focus,.ghc select:focus,.ghc textarea:focus{outline:none;border-color:var(--g);box-shadow:0 0 0 3px rgba(0,76,63,.12)}
.ghc-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}
.ghc .ghc-chips .ghc-chip{display:inline-block;border:1px solid var(--line)!important;background:#fff!important;border-radius:999px!important;padding:8px 14px!important;font:inherit!important;font-size:13px!important;line-height:1.2!important;cursor:pointer;color:var(--ink)!important;text-transform:none!important;letter-spacing:0!important;height:auto!important;min-width:0!important;box-shadow:none!important}
.ghc .ghc-chips .ghc-chip.on{background:var(--g)!important;color:#fff!important;border-color:var(--g)!important}
.ghc .ghc-qty button{background:#fff!important;color:var(--ink)!important;padding:0!important;min-width:0!important;height:28px!important;line-height:1!important}
.ghc-items{border:1px solid var(--line);border-radius:10px;overflow:hidden}
.ghc-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid var(--line);cursor:pointer}
.ghc-item:last-child{border-bottom:0}
.ghc-item:hover{background:var(--bg)}
.ghc-item input[type=checkbox]{width:20px;height:20px;flex:none;accent-color:var(--g);margin:0}
.ghc-item .t{flex:1;font-size:15px}
.ghc-item .t small{display:block;color:var(--mute);font-size:12px;margin-top:2px}
.ghc-item .p{font-weight:700;white-space:nowrap;font-size:14px}
.ghc-item .p.req{color:var(--mute);font-weight:500}
.ghc-qty{display:none;align-items:center;gap:6px}
.ghc-item.on .ghc-qty{display:inline-flex}
.ghc-qty button{width:28px;height:28px;border-radius:6px;border:1px solid var(--line);background:#fff;font-size:16px;cursor:pointer;line-height:1}
.ghc-qty b{min-width:18px;text-align:center;font-size:14px}
.ghc-extras{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.ghc-extra{display:flex;gap:10px;align-items:flex-start;border:1px solid var(--line);border-radius:10px;padding:12px;cursor:pointer;font-size:14px}
.ghc-extra input{width:18px;height:18px;margin:2px 0 0;accent-color:var(--g);flex:none}
.ghc-extra small{display:block;color:var(--mute);font-size:12px}
.ghc-sum{padding:26px 28px;background:var(--bg);display:flex;flex-direction:column;gap:14px;position:sticky;top:90px;align-self:start}
.ghc-sum h3{margin:0;font-size:16px}
.ghc-lines{display:flex;flex-direction:column;gap:6px;font-size:13px;max-height:220px;overflow:auto}
.ghc-lines div{display:flex;justify-content:space-between;gap:10px}
.ghc-lines div span:last-child{white-space:nowrap;font-weight:600}
.ghc-total{border-top:1px solid var(--line);padding-top:12px}
.ghc-total .row{display:flex;justify-content:space-between;font-size:14px;color:var(--mute);margin:4px 0}
.ghc-total .big{font-size:26px;font-weight:800;color:var(--g);margin-top:6px}
.ghc-total .big small{font-size:13px;font-weight:500;color:var(--mute);margin-inline-start:6px}
.ghc-note{font-size:12px;color:var(--mute);line-height:1.4}
.ghc-btn{display:flex;align-items:center;justify-content:center;gap:10px;height:52px;border-radius:10px;font-weight:700;font-size:15px;border:0;cursor:pointer;text-decoration:none;width:100%}
.ghc-btn.wa{background:#25D366;color:#fff}.ghc-btn.wa:hover{background:#1ebe5b}
.ghc-btn.tg{background:#229ED9;color:#fff}
.ghc-btn.call{background:var(--ink);color:#fff}
.ghc-btn:disabled{opacity:.5;cursor:not-allowed}
.ghc-btn svg{width:22px;height:22px;fill:currentColor}
.ghc-promo{font-size:13px;background:#fff;border:1px dashed var(--gold);border-radius:8px;padding:10px 12px}
.ghc-promo b{color:var(--g);letter-spacing:.08em}
.ghc-callform{display:none;gap:8px;flex-direction:column}
.ghc-callform.on{display:flex}
.ghc-ok{background:#e6f4ef;color:#0a4d3c;border-radius:8px;padding:10px 12px;font-size:14px}
.ghc-empty{color:var(--mute);font-size:13px;text-align:center;padding:10px}
.ghc[dir=rtl] .ghc-steps{border-right:0;border-left:1px solid var(--line)}
@media(max-width:1024px){.ghc-body{grid-template-columns:minmax(0,1fr)}.ghc-steps{border-right:0;border-bottom:1px solid var(--line)}.ghc-sum{position:static}.ghc-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.ghc-head{padding:20px}.ghc-head h2{font-size:22px}.ghc-steps,.ghc-sum{padding:18px}.ghc-grid,.ghc-extras{grid-template-columns:1fr}.ghc-item .t{font-size:14px}}

.ghc-more{padding:12px;text-align:center;color:var(--g);font-weight:600;cursor:pointer;background:var(--bg);font-size:14px}
.ghc-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:99;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(0,0,0,.08);padding:10px 14px;align-items:center;gap:12px}
.ghc-bar.on{display:flex}
.ghc-bar-t{flex:1;line-height:1.15}.ghc-bar-t b{font-size:18px;color:var(--g);display:block}.ghc-bar-t small{color:var(--mute);font-size:12px}
.ghc-bar .ghc-btn{width:auto;height:44px;padding:0 18px;flex:none}
.ghc-static{margin:0 0 18px}.ghc-static ul{columns:2;gap:24px;padding-left:18px;font-size:14px;color:var(--ink)}.ghc-static li{margin:0 0 6px;break-inside:avoid}
@media(min-width:1025px){.ghc-bar{display:none!important}}
@media(max-width:600px){.ghc input,.ghc select,.ghc textarea{font-size:16px}.ghc-chips{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;margin-left:-18px;margin-right:-18px;padding-left:18px;padding-right:18px;scrollbar-width:none}.ghc-chips::-webkit-scrollbar{display:none}.ghc .ghc-chips .ghc-chip{white-space:nowrap;flex:none}.ghc-item{padding:12px}.ghc-item .p{font-size:13px}.ghc-static ul{columns:1}}
@media(max-width:480px){.ghc-bar{bottom:50px}}
