/* Green Pi V5.1: grouped location menu, faster intro, sharper zoom and product-page polish */
body.greenpi-map-home{background:#dfe8ea}
.gp-map-viewport{background:#e9eff0}
.gp-camera{inset:auto;left:0;top:0;width:auto;height:auto;transform-origin:0 0;will-change:transform;backface-visibility:hidden;contain:layout paint style}
.gp-map-image{display:block;width:100%;height:100%;max-width:none;object-fit:fill;image-rendering:auto;user-select:none;pointer-events:none;backface-visibility:hidden}
.gp-map-vignette{background:linear-gradient(90deg,rgba(0,15,25,.08),transparent 26%,transparent 74%,rgba(0,18,28,.12)),linear-gradient(180deg,rgba(2,15,24,.02),transparent 76%,rgba(2,15,24,.10))}
.gp-hotspot{transform:translate(-50%,-50%) scale(var(--gp-inverse-zoom,1));will-change:transform}

/* The intro now uses a single scene layer instead of 24 repeated full-screen image tiles. */
.gp-construction{background:#eef4f5}
.gp-construction-tiles{display:none!important}
.gp-map-viewport.is-building .gp-camera{animation:none!important;filter:none!important;opacity:.18;transition:opacity .8s ease}
.gp-map-viewport:not(.is-building) .gp-camera{opacity:1}
.gp-build-reveal{z-index:1;background-size:cover;background-position:center;clip-path:inset(100% 0 0 0);transform:translateY(32px) scale(.995);filter:none;animation:gpFastCityBuild calc(var(--gp-intro-ms,2500ms) * .92) cubic-bezier(.16,.78,.18,1) forwards}
.gp-blueprint-grid{z-index:2;background-size:56px 56px;opacity:.30;animation:gpFastGrid var(--gp-intro-ms,2500ms) forwards}
.gp-build-lines{position:absolute;inset:0;z-index:3;background:linear-gradient(90deg,transparent 0 15%,rgba(53,211,154,.23) 15.2%,transparent 15.4% 44%,rgba(8,117,201,.18) 44.2%,transparent 44.4% 73%,rgba(53,211,154,.18) 73.2%,transparent 73.4%);opacity:0;animation:gpBuildLines var(--gp-intro-ms,2500ms) ease forwards}
.gp-build-scan{z-index:4;animation:gpFastScan calc(var(--gp-intro-ms,2500ms) * .82) .08s cubic-bezier(.2,.75,.2,1) forwards}
.gp-build-flash{z-index:5;animation:gpFastFlash var(--gp-intro-ms,2500ms) forwards}
@keyframes gpFastCityBuild{0%{clip-path:inset(100% 0 0 0);transform:translateY(32px) scale(.995);opacity:.35}28%{opacity:.8}82%{clip-path:inset(0 0 0 0);transform:translateY(0) scale(1);opacity:1}100%{clip-path:inset(0 0 0 0);transform:none;opacity:1}}
@keyframes gpFastGrid{0%,45%{opacity:.32}100%{opacity:0}}
@keyframes gpBuildLines{0%,20%{opacity:0}48%{opacity:.75}100%{opacity:0}}
@keyframes gpFastScan{0%{top:100%;opacity:0}10%{opacity:1}88%{opacity:1}100%{top:0;opacity:0}}
@keyframes gpFastFlash{0%,78%{opacity:0}90%{opacity:.45}100%{opacity:0}}

/* Compact grouped location dock */
.gp-map-dock{top:18px;right:18px;bottom:auto;width:min(var(--gp-panel-width),calc(100vw - 36px));height:min(74vh,670px);border-radius:24px;background:linear-gradient(180deg,rgba(4,20,31,.92),rgba(5,31,43,.84));box-shadow:0 22px 68px rgba(0,20,33,.34);backdrop-filter:blur(17px) saturate(1.12);transition:height .46s ease,opacity .55s ease,transform .55s ease}
.admin-bar .gp-map-dock{top:50px;height:min(calc(74vh - 32px),638px)}
.gp-map-dock.is-product-mode{bottom:18px;height:auto;max-height:none}
.admin-bar .gp-map-dock.is-product-mode{bottom:18px;height:auto}
.gp-dock-header,.gp-product-panel-head{min-height:68px;padding:12px 14px}
.gp-dock-brand{min-width:0}.gp-dock-brand>span:last-child{min-width:0}.gp-dock-brand small{display:block;color:rgba(255,255,255,.44);font-size:9px;font-weight:800;letter-spacing:.17em;text-transform:uppercase}.gp-dock-brand strong{display:block;margin-top:3px;font-size:17px}.gp-dock-mark{width:37px;height:37px;border-radius:12px;font-size:21px}
.gp-location-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:10px 11px;border-bottom:1px solid rgba(255,255,255,.08)}
.gp-group-tab{min-width:0;min-height:48px;padding:7px 6px;border:1px solid rgba(255,255,255,.08);border-radius:13px;color:rgba(255,255,255,.62);background:rgba(255,255,255,.035);font-size:9px;font-weight:850;line-height:1.25;text-align:center;cursor:pointer;transition:.22s ease}
.gp-group-tab:hover,.gp-group-tab.is-active{border-color:rgba(53,211,154,.52);color:#fff;background:linear-gradient(145deg,rgba(53,211,154,.18),rgba(8,117,201,.13));box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.gp-group-panels{flex:1;min-height:0;overflow:hidden}
.gp-group-panel{display:none;height:100%;min-height:0;flex-direction:column}.gp-group-panel.is-active{display:flex}
.gp-group-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;padding:13px 15px 9px}.gp-group-heading small{display:block;color:rgba(255,255,255,.4);font-size:8px;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.gp-group-heading h2{margin:4px 0 0;color:#fff;font-size:18px;line-height:1.1}.gp-group-heading>span{flex:0 0 auto;padding:5px 8px;border-radius:999px;color:#7cebc2;background:rgba(53,211,154,.10);font-size:9px;font-weight:800}
.gp-location-menu{flex:1;min-height:0;padding:3px 11px 13px}
.gp-location-item{grid-template-columns:30px 1fr 20px;min-height:60px;margin-bottom:6px;padding:8px 10px;border-radius:14px}.gp-location-item:hover,.gp-location-item.is-active{transform:translateX(-2px)}.gp-location-copy strong{font-size:13px}.gp-location-copy small{margin-top:3px;font-size:10px}.gp-location-arrow{font-size:17px}

/* Product panel loaded asynchronously */
.gp-product-view{height:100%}.gp-panel-product-list{min-height:0}.gp-product-skeleton{display:grid;grid-template-columns:78px 1fr;gap:12px;margin:0 0 9px;padding:10px;border:1px solid rgba(255,255,255,.07);border-radius:16px;background:rgba(255,255,255,.035)}.gp-product-skeleton>i{display:block;height:74px;border-radius:12px;background:linear-gradient(90deg,rgba(255,255,255,.06),rgba(255,255,255,.13),rgba(255,255,255,.06));background-size:220% 100%;animation:gpSkeleton 1.25s infinite}.gp-product-skeleton>span{display:flex;flex-direction:column;gap:8px;padding-top:6px}.gp-product-skeleton b{display:block;height:9px;border-radius:999px;background:rgba(255,255,255,.09)}.gp-product-skeleton b:nth-child(1){width:38%}.gp-product-skeleton b:nth-child(2){width:88%}.gp-product-skeleton b:nth-child(3){width:68%}@keyframes gpSkeleton{to{background-position:-220% 0}}
.gp-panel-load-more-wrap{padding:0 12px 8px}.gp-panel-load-more{width:100%;min-height:38px;border:1px solid rgba(255,255,255,.13);border-radius:12px;color:#fff;background:rgba(255,255,255,.055);font-size:11px;font-weight:800;cursor:pointer}.gp-panel-load-more:hover{background:rgba(53,211,154,.13)}.gp-panel-load-more[hidden]{display:none}.gp-panel-load-more:disabled{opacity:.45;cursor:wait}

/* Product pages: light corporate canvas, blue-green technical header, white content cards. */
body.single-greenpi_product,body.post-type-archive-greenpi_product,body.tax-greenpi_brand,body.tax-greenpi_sector,body.tax-greenpi_category,body.tax-greenpi_feature{background:#edf5f6}
.gp-product-page{background:radial-gradient(circle at 88% 8%,rgba(53,211,154,.10),transparent 26%),linear-gradient(180deg,#eef7f7 0,#f7fafb 440px,#edf5f6 100%)}
.gp-product-hero{position:relative;overflow:hidden;padding:34px 0;color:#fff;background:radial-gradient(circle at 80% 20%,rgba(53,211,154,.22),transparent 28%),linear-gradient(135deg,#061722,#0b3c51)}
.gp-product-hero::after{content:"";position:absolute;inset:0;opacity:.12;background-image:linear-gradient(rgba(255,255,255,.15) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.15) 1px,transparent 1px);background-size:44px 44px;pointer-events:none}.gp-product-breadcrumb{position:relative;z-index:1;color:rgba(255,255,255,.72)}.gp-product-breadcrumb a{color:#85efc9}
.gp-product-layout{align-items:start}.gp-product-gallery,.gp-product-copy,.gp-quote-card{border-color:rgba(8,79,106,.10);box-shadow:0 18px 54px rgba(0,42,61,.07)}.gp-gallery-main{background:linear-gradient(145deg,#fff,#edf7f7)}.gp-product-copy{position:relative;overflow:hidden}.gp-product-copy::before{content:"";position:absolute;left:0;top:0;width:6px;height:110px;background:linear-gradient(var(--gp-blue),var(--gp-green))}.gp-quote-card{border-top:4px solid var(--gp-green);background:linear-gradient(180deg,#fff,#f4fbf9)}

@media(max-width:1100px){.gp-map-dock{width:min(370px,calc(100vw - 30px));right:15px;top:15px}.admin-bar .gp-map-dock{top:47px}}
@media(max-width:700px){.gp-map-dock,.gp-map-dock.is-product-mode{left:8px;right:8px;top:auto;bottom:8px;width:auto;height:min(48vh,430px);border-radius:21px}.admin-bar .gp-map-dock,.admin-bar .gp-map-dock.is-product-mode{top:auto;bottom:8px;height:min(46vh,410px)}.gp-location-groups{gap:4px;padding:8px}.gp-group-tab{min-height:42px;padding:5px 4px;font-size:8px}.gp-group-heading{padding:10px 12px 7px}.gp-group-heading h2{font-size:16px}.gp-location-menu{padding:2px 8px 10px}.gp-location-item{min-height:54px}.gp-location-copy small{display:none}.gp-camera{bottom:auto}.gp-floating-reset{bottom:calc(min(48vh,430px) + 18px)}}

/* V5.2: Zoom sırasında harita sınırlarının dışına taşmayı görsel olarak da güvenceye alır. */
.gp-map-viewport{background:#dfe8ea}
.gp-camera{overflow:visible;transform-style:preserve-3d}
.gp-map-image{background:#dfe8ea}
.gp-map-viewport.is-focused .gp-camera{filter:none!important}
