/* ===== Base ===== */
.gt-wrap,.gt-form,.gt-single,.gt-terms,.gt-listpage{--gt-accent:#e30613;--gt-btn:#ff6b2f;--gt-bd:#e3e6ea;--gt-bg:#f6f7f9;--gt-tx:#1d2327;--gt-mut:#6b7280}
.gt-wrap{max-width:1120px;margin:0 auto;padding:24px 16px;box-sizing:border-box}
.gt-wrap.gt-wrap-single,.gt-wrap.gt-wrap-list{max-width:none}
.gt-head h1{margin:0 0 4px}
.gt-muted{color:var(--gt-mut);font-size:.9rem}
.gt-hp{position:absolute;left:-9999px}
.gt-req{color:var(--gt-accent)}

.gt-btn,.gtn-button{display:inline-block;background:#ff6b2f;color:#fff!important;border:0;padding:10px 18px;border-radius:8px;font-size:.95rem;font-weight:600;text-decoration:none!important;cursor:pointer;line-height:1.2}
.gt-btn:hover,.gtn-button:hover{opacity:.9}
.gt-btn.gt-btn-dark{background:#1d2327}
.gt-btn.gt-btn-light{background:#fff;color:var(--gt-tx)!important;border:1px solid var(--gt-bd)}
.gt-btn.gt-btn-autoscout{background:#f5f200;color:#000!important}
.gt-btn-lg{padding:14px 28px;font-size:1.05rem}
.gt-btn[disabled]{opacity:.6;cursor:wait}

.badge-marchio{display:inline-block;background:#777;color:#fff!important;border-radius:8px;padding:3px 10px;font-size:.8rem;line-height:1.5;text-decoration:none!important}
a.badge-marchio:hover{opacity:.9}

.gt-stars{display:inline-block;font-size:1.1rem;letter-spacing:2px;line-height:1;--p:calc(var(--r,0) / 5 * 100%)}
.gt-stars:before{content:"★★★★★";background:linear-gradient(90deg,#fbbc04 var(--p),#d0d4d9 var(--p));-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}
.gt-rating{display:inline-flex;align-items:center;gap:6px;text-decoration:none;color:var(--gt-tx);margin:0 0 8px}
.gt-ratingrow{margin:0 0 8px}

.gt-listpage{width:1200px;max-width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box}
.gt-search{width:100%;box-sizing:border-box;padding:12px 14px;border:1px solid var(--gt-bd);border-radius:8px;font-size:1rem;margin:14px 0 0}
.gt-map{width:100%;margin:16px 0;border-radius:8px;z-index:0;border:1px solid var(--gt-bd)}
.gt-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px}
.gt-card{border:1px solid var(--gt-bd);border-radius:8px;overflow:hidden;background:#fff;display:flex;flex-direction:column}
.gt-card-img img{width:100%;height:170px;object-fit:cover;display:block}
.gt-card-body{padding:14px 16px}
.gt-card h3{margin:0 0 6px;font-size:1.05rem}
.gt-card h3 a{text-decoration:none}
.gt-addr{margin:0 0 8px;color:var(--gt-mut);font-size:.92rem}
.gt-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}
.gt-status{font-weight:600;font-size:.88rem}
.gt-status.is-open{color:#1a8f3c}
.gt-status.is-closed{color:#c0392b}
.gt-status:before{content:"";display:inline-block;width:9px;height:9px;border-radius:8px;background:currentColor;margin-right:6px}
.gt-terms{list-style:none;padding:0;margin:0 auto;max-width:1120px;display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.gt-terms a{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;border:1px solid var(--gt-bd);border-radius:8px;text-decoration:none;color:var(--gt-tx);background:#fff}
.gt-terms a:hover{border-color:var(--gt-accent)}
.gt-terms b{background:var(--gt-bg);border-radius:8px;padding:1px 9px;font-size:.8rem}

.gt-single{width:1200px;max-width:100%;margin-left:auto;margin-right:auto;box-sizing:border-box}
.gt-back{margin:0 0 12px;font-size:.9rem}
.gt-hero{display:flex;flex-wrap:wrap;align-items:flex-start;gap:12px 28px;margin-bottom:16px}
.gt-hero-txt{flex:0 1 auto;min-width:0}
.gt-hero-cover{flex:0 0 auto;max-width:100%}
.gt-hero h1{margin:0 0 10px;color:#ff6b2f}
.gt-hero-cover a.gt-lb{display:block;line-height:0;cursor:zoom-in;border-radius:8px;overflow:hidden}
.gt-hero-cover a.gt-lb:hover img{opacity:.92}
.gt-hero-cover img,.gt-cover{display:block;width:auto;height:auto;max-width:320px;max-height:170px;margin:0;border-radius:8px}
.gt-actions{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:22px}
.gt-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}
.gt-cols.gt-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.gt-panel{border:1px solid var(--gt-bd);border-radius:8px;padding:16px 20px;background:#fff;margin-bottom:18px}
.gt-cols .gt-panel{margin-bottom:0}
.gt-panel h2{margin:0 0 12px;font-size:1.15rem}
.gt-panel-ads{min-height:240px;padding:0;overflow:hidden;display:flex;align-items:center;justify-content:center}
.gt-desc img{display:none}
.gt-dl{display:grid;grid-template-columns:96px 1fr;gap:8px 12px;margin:0}
.gt-dl dt{color:var(--gt-mut)}
.gt-dl dd{margin:0;overflow-wrap:anywhere}

.gt-hours,.gt-hours-edit{width:100%;border:0!important;border-collapse:collapse}
.gt-hours th,.gt-hours td,.gt-hours-edit th,.gt-hours-edit td{border-left:0!important;border-right:0!important;border-top:0!important;border-bottom:1px solid var(--gt-bd)!important;background:transparent;text-align:left}
.gt-hours th,.gt-hours td{padding:9px 4px;font-weight:400}
.gt-hours th{font-weight:600;width:135px;white-space:nowrap}
.gt-hours tr:last-child th,.gt-hours tr:last-child td{border-bottom:0!important}
.gt-dot{display:inline-flex;align-items:center;justify-content:center;width:1.4em;height:1.4em;border-radius:8px;color:#fff;font-size:.75rem;font-weight:700;line-height:1;margin-left:8px;vertical-align:middle}
.gt-dot.is-open{background:#1a8f3c}
.gt-dot.is-closed{background:#c0392b}
.gt-single .gt-map{margin:0}

.gt-lightbox{position:fixed;top:0;right:0;bottom:0;left:0;z-index:999999;background:rgba(0,0,0,.9);display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.gt-lightbox[hidden]{display:none}
.gt-lightbox img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;border-radius:8px;background:#111;box-shadow:0 8px 40px rgba(0,0,0,.6)}
.gt-lb-btn{position:absolute;border:0;background:rgba(255,255,255,.14);color:#fff;cursor:pointer;line-height:1;padding:0;border-radius:8px;width:44px;height:44px;font-size:26px;display:flex;align-items:center;justify-content:center}
.gt-lb-btn:hover{background:rgba(255,255,255,.28)}
.gt-lb-btn[hidden]{display:none}
.gt-lb-close{top:16px;right:16px;font-size:32px}
.gt-lb-prev{left:16px;top:50%;margin-top:-22px}
.gt-lb-next{right:16px;top:50%;margin-top:-22px}

.gt-form{counter-reset:gtbox;max-width:820px;margin:0 auto}
.gt-box{background:#fff;border:1px solid var(--gt-bd);border-radius:8px;margin:0 0 18px;overflow:hidden;counter-increment:gtbox}
.gt-box>header{padding:14px 20px;background:var(--gt-bg);border-bottom:1px solid var(--gt-bd)}
.gt-box>header h2{margin:0;font-size:1.1rem;padding:0;display:flex;align-items:center;gap:10px}
.gt-box>header h2:before{content:counter(gtbox);background:var(--gt-accent);color:#fff;width:26px;height:26px;border-radius:8px;display:inline-flex;align-items:center;justify-content:center;font-size:.85rem}
.gt-box>header p{margin:4px 0 0 36px;color:var(--gt-mut);font-size:.9rem}
.gt-box-body{padding:18px 20px}
.gt-grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}
.gt-w2{grid-column:1/-1}
.gt-f{margin:0 0 14px}
.gt-grid2 .gt-f{margin:0}
.gt-f label{display:block;font-weight:600;font-size:.9rem;margin-bottom:5px}
.gt-f input[type=text],.gt-f input[type=tel],.gt-f input[type=email],.gt-f input[type=url],.gt-f textarea{width:100%;max-width:none;box-sizing:border-box;padding:10px 12px;border:1px solid #cfd4da;border-radius:8px;font-size:1rem}
.gt-f input:focus,.gt-f textarea:focus{outline:2px solid var(--gt-accent);outline-offset:0;border-color:transparent}
.gt-f small{display:block;color:var(--gt-mut);margin-top:4px;font-size:.82rem}
.gt-checks{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px 10px}
.gt-checks label{font-weight:400;margin:0}
.gt-formmap{height:360px;border-radius:8px;border:1px solid var(--gt-bd);z-index:0}
.gt-map-tools{display:flex;gap:12px;align-items:center;margin-bottom:12px;flex-wrap:wrap}
.gt-sameall{display:flex;gap:10px;align-items:flex-start;background:#eef6ff;border:1px solid #cfe3fb;border-radius:8px;padding:12px 14px;margin:0 0 14px;cursor:pointer}
.gt-sameall input{margin-top:4px}
.gt-sameall small{color:var(--gt-mut)}
.gt-table-wrap{overflow-x:auto}
.gt-hours-edit{min-width:520px}
.gt-hours-edit th,.gt-hours-edit td{padding:6px 4px}
.gt-hours-edit thead th{font-size:.85rem;color:var(--gt-mut)}
.gt-hours-edit tbody th{font-weight:600;width:105px}
.gt-hours-edit tr.is-synced>*{background:#f4f9ff}
.gt-pair{display:inline-flex;align-items:center;gap:4px}
.gt-hours-edit input[type=time]{padding:6px;border:1px solid #cfd4da;border-radius:8px;background:#fff}
.gt-hours-edit tr.is-closed input[type=time]{color:#9aa0a6}
.gt-c{text-align:center!important}
#gt-photo-prev{max-width:280px;border-radius:8px;margin:0 0 14px;display:block}
#gt-photo-prev[hidden]{display:none}
.gt-notice{padding:14px 18px;border-radius:8px;margin:0 auto 18px;max-width:820px}
.gt-ok{background:#e6f6ea;color:#176b2c}
.gt-err{background:#fdecea;color:#a02017}

.gt-admin{max-width:none;margin:16px 0}
.gt-admin .gt-box>header h2{margin:0}
.gt-admin-h{padding-left:0}

.gt-g-list{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0 0 12px;padding:0}
.gt-g-list li{position:relative;width:96px;height:96px;margin:0;border:1px solid #c3c4c7;border-radius:8px;overflow:hidden;cursor:move;background:#f6f7f9}
.gt-g-list li img{width:100%;height:100%;object-fit:cover;display:block}
.gt-g-del{position:absolute;top:2px;right:2px;width:22px;height:22px;border:0;border-radius:8px;background:rgba(0,0,0,.65);color:#fff;font-size:15px;line-height:20px;cursor:pointer;padding:0}

@media(max-width:1000px){
  .gt-cols.gt-cols-3{grid-template-columns:1fr 1fr}
  .gt-cols-3 .gt-panel-ads{grid-column:1/-1;min-height:120px}
}
@media(max-width:900px){
  .gt-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .gt-cols,.gt-cols.gt-cols-3,.gt-grid2{grid-template-columns:1fr}
  .gt-hero{flex-direction:column;gap:14px}
  .gt-hero-cover img,.gt-cover{max-width:100%}
  .gt-dl{grid-template-columns:90px 1fr}
}
@media(max-width:600px){
  .gt-list{grid-template-columns:1fr}
}

.gt-pin{width:75px;height:75px;border-radius:8px;background:#fff;border:2px solid #333;display:flex;align-items:center;justify-content:center;font:700 14px sans-serif;overflow:hidden;box-shadow:0 1px 4px rgba(0,0,0,.4);box-sizing:border-box}
.gt-pin img{object-fit:contain}
.leaflet-marker-icon.gt-pin-img{background:none;border:0;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.35))}

.leaflet-marker-icon.gt-cluster{background:#ff6b2f;color:#fff;border:3px solid #fff;border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.45);display:flex;align-items:center;justify-content:center;font:700 17px/1 sans-serif;box-sizing:border-box;cursor:pointer}
.leaflet-marker-icon.gt-cluster span{display:block;text-align:center}
.leaflet-marker-icon.gt-cluster:hover{background:#e85a1f}

.gt-map .leaflet-bar,.gt-formmap .leaflet-bar{border-radius:8px}
.gt-map .leaflet-bar a:first-child,.gt-formmap .leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}
.gt-map .leaflet-bar a:last-child,.gt-formmap .leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px}
.gt-map .leaflet-popup-content-wrapper,.gt-formmap .leaflet-popup-content-wrapper{border-radius:8px}
.gt-map .leaflet-control-attribution,.gt-formmap .leaflet-control-attribution{border-radius:8px}
