/* GEODOMAS Store · geo calc + production kits */
/* Geo calc hub — premium Dome Studio panelė */
.geo-calc-hub {
  padding: 0 0 2.5rem;
}

.geo-calc-studio {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 0 1rem;
}

.geo-calc-panel-shell {
  position: relative;
  padding: 1.35rem 1.35rem 1.1rem;
  border-radius: 1.75rem 1.75rem 0 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(250, 248, 255, 0.92) 100%);
  border: 1px solid rgba(29, 91, 55, 0.14);
  border-bottom: none;
  box-shadow:
    0 24px 48px -28px rgba(15, 31, 23, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.geo-calc-panel-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 1.75rem 1.75rem 0 0;
  background: linear-gradient(90deg, #b8e6cc, #1d5b37 35%, #173326 65%, #d4ebe0);
  opacity: 0.95;
}

.geo-calc-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.geo-calc-head-copy {
  flex: 1 1 18rem;
  min-width: 0;
}

.geo-calc-badge {
  margin-bottom: 0.55rem;
}

.geo-calc-panel-head {
  margin-bottom: 1.1rem;
}

.geo-calc-panel-head .section-sub {
  max-width: 40rem;
  margin-top: 0.35rem;
}

.geo-calc-open {
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 91, 55, 0.22);
  background: rgba(255, 255, 255, 0.75);
  color: #173326;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all .22s ease;
  box-shadow: 0 8px 22px rgba(12,31,22,.08);
}

.geo-calc-open:hover {
  border-color: rgba(29, 91, 55, 0.45);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(29,91,55,.18);
}

.geo-calc-controls {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.95rem;
}

.geo-calc-status {
  flex: 0 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.12rem;
  padding: 0.45rem 0.85rem;
  border-radius: 0.9rem;
  background: rgba(29, 91, 55, 0.06);
  border: 1px solid rgba(29, 91, 55, 0.12);
}

.geo-calc-status-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #607268;
}

.geo-calc-status-value {
  font-size: 0.82rem;
  font-weight: 700;
  color: #173326;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 16rem;
}

.geo-calc-picker {
  padding-top: 0.15rem;
}

.geo-cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1 1 auto;
}

.geo-cat-tab {
  appearance: none;
  border: 1px solid rgba(29, 91, 55, 0.14);
  background: rgba(255, 255, 255, 0.82);
  color: #607268;
  border-radius: 999px;
  padding: 0.48rem 0.82rem;
  font: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.geo-cat-tab em {
  font-style: normal;
  opacity: 0.5;
  font-size: 0.72rem;
  margin-left: 0.22rem;
  font-weight: 500;
}

.geo-cat-tab:hover {
  border-color: rgba(29, 91, 55, 0.35);
  color: #173326;
  background: #fff;
}

.geo-cat-tab.is-active {
  background: linear-gradient(135deg, #1d5b37 0%, #173326 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px -10px rgba(29, 91, 55, 0.65);
}

.geo-cat-tab.is-active em {
  opacity: 0.88;
}

.geo-cat-panel {
  display: none;
  animation: geoFadeIn 0.28s ease;
}

.geo-cat-panel.is-active {
  display: block;
}

@keyframes geoFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.geo-model-subgroup {
  margin-bottom: 0.75rem;
}

.geo-model-subgroup:last-child {
  margin-bottom: 0;
}

.geo-model-subgroup-label {
  display: block;
  margin: 0 0 0.45rem;
  padding-left: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f8178;
}

.geo-model-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.geo-model-grid-compact .geo-model-btn {
  padding: 0.45rem 0.62rem 0.45rem 0.72rem;
}

.geo-model-grid-compact .geo-model-label {
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.geo-model-grid-compact .geo-model-meta {
  font-size: 0.62rem;
  max-width: none;
}

.geo-model-btn {
  appearance: none;
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.14rem;
  min-width: 0;
  max-width: 100%;
  padding: 0.5rem 0.72rem 0.5rem 0.82rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(29, 91, 55, 0.12);
  background: rgba(255, 255, 255, 0.92);
  color: #173326;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all .22s ease;
  box-shadow: 0 1px 2px rgba(17, 25, 21), 0.04);
}

.geo-model-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  bottom: 0.45rem;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: transparent;
  transition: all .22s ease;
}

.geo-model-label {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.geo-model-meta {
  font-size: 0.67rem;
  line-height: 1.25;
  color: #607268;
  max-width: 12rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.geo-model-btn:hover {
  border-color: rgba(29, 91, 55, 0.35);
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px -12px rgba(15, 31, 23, 0.35);
}

.geo-model-btn.is-active {
  border-color: rgba(29, 91, 55, 0.45);
  background: linear-gradient(180deg, rgba(29, 91, 55, 0.14), rgba(29, 91, 55, 0.05));
  box-shadow:
    0 0 0 1px rgba(29, 91, 55, 0.18),
    0 10px 20px -14px rgba(15, 31, 23, 0.4);
}

.geo-model-btn.is-active::before {
  background: linear-gradient(180deg, #7bc9a2, #173326);
}

.geo-model-btn.is-active .geo-model-label {
  color: #173326;
}

.geo-calc-model-dock {
  margin-top: 0.85rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(29, 91, 55, 0.12);
  box-shadow: 0 10px 28px -18px rgba(15, 31, 23, 0.28);
}

.geo-calc-model-dock[hidden] {
  display: none !important;
}

.geo-calc-model-dock .geo-calc-controls {
  margin-bottom: 0.75rem;
}

.geo-calc-model-dock .geo-calc-picker {
  padding-top: 0;
}

.geo-calc-controls--remas {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.store-kit-panel[data-kit-panel="remas"] .geo-calc-controls--remas {
  padding-top: 0.15rem;
}

.geo-calc-viewer {
  border: 1px solid rgba(29, 91, 55, 0.14);
  border-top: 1px solid rgba(29, 91, 55, 0.08);
  border-radius: 0;
  overflow: hidden;
  background: #f5f8f6;
  box-shadow:
    0 28px 56px -32px rgba(17, 25, 21), 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.geo-calc-viewer-chrome {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem;
  background: linear-gradient(180deg, #f8fbf8 0%, #eef5f0 100%);
  border-bottom: 1px solid rgba(29, 91, 55, 0.1);
}

.geo-calc-viewer-dots {
  display: inline-flex;
  gap: 0.28rem;
}

.geo-calc-viewer-dots i {
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #d4ebe0;
}

.geo-calc-viewer-dots i:nth-child(1) { background: #fca5a5; }
.geo-calc-viewer-dots i:nth-child(2) { background: #fde68a; }
.geo-calc-viewer-dots i:nth-child(3) { background: #86efac; }

.geo-calc-viewer-title {
  flex: 1;
  font-size: 0.74rem;
  font-weight: 600;
  color: #607268;
  letter-spacing: 0.02em;
}

.geo-calc-viewer-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1d5b37;
}

.geo-calc-pulse {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  animation: geoPulse 1.8s ease infinite;
}

@keyframes geoPulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.geo-calc-iframe-wrap {
  position: relative;
  width: 100%;
  background: linear-gradient(180deg, #f3f8f5 0%, #e8f0eb 100%);
}

.geo-calc-iframe-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(250, 248, 255, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.geo-calc-iframe-loader.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.geo-calc-iframe-loader span {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(29, 91, 55, 0.18);
  font-size: 0.78rem;
  font-weight: 600;
  color: #173326;
  box-shadow: 0 8px 22px rgba(12,31,22,.08);
}

.geo-calc-iframe-wrap iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 560px;
  height: 560px;
  display: block;
  border: none;
  background: #fff;
}

.geo-calc-presentations {
  border: 1px solid rgba(29, 91, 55, 0.14);
  border-top: none;
  border-radius: 0 0 1.75rem 1.75rem;
  padding: 1rem 1.15rem 1.2rem;
  background: linear-gradient(180deg, #f8fbf8 0%, #edf5ef 100%);
  box-shadow:
    0 28px 56px -32px rgba(17, 25, 21), 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}

.geo-calc-presentations[hidden] {
  display: none !important;
}

.geo-calc-presentations-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-bottom: 0.75rem;
}

.geo-calc-presentations-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1d5b37;
}

.geo-calc-presentations-sub {
  margin: 0;
  font-size: 0.74rem;
  color: #607268;
}

.geo-pres-panel[hidden] {
  display: none !important;
}

.geo-pres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  gap: 0.55rem;
}

.geo-pres-btn {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.1rem 0.45rem;
  align-items: center;
  padding: 0.62rem 0.75rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(29, 91, 55, 0.16);
  background: rgba(255, 255, 255, 0.88);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.geo-pres-btn:hover {
  border-color: rgba(23, 51, 38, 0.35);
  background: #fff;
  box-shadow: 0 10px 24px -16px rgba(15, 31, 23, 0.45);
  transform: translateY(-1px);
}

.geo-pres-btn-wide {
  grid-column: 1 / -1;
  max-width: 28rem;
}

.geo-pres-label {
  grid-column: 1;
  font-size: 0.82rem;
  font-weight: 700;
  color: #173326;
  line-height: 1.25;
}

.geo-pres-meta {
  grid-column: 1;
  font-size: 0.7rem;
  color: #607268;
  line-height: 1.3;
}

.geo-pres-ext {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #173326;
  opacity: 0.85;
}

.geo-pres-subgroup {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(29, 91, 55, 0.18);
}

.geo-pres-common {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(29, 91, 55, 0.18);
}

.geo-pres-subgroup-label {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #607268;
}

@media (max-width: 900px) {
  .geo-calc-status {
    align-items: flex-start;
    width: 100%;
  }

  .geo-calc-status-value {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .geo-calc-panel-shell {
    padding: 1rem 0.9rem 0.85rem;
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .geo-calc-viewer {
    border-radius: 0;
  }

  .geo-calc-presentations {
    border-radius: 0 0 1.25rem 1.25rem;
    padding: 0.85rem 0.9rem 1rem;
  }

  .geo-pres-grid {
    grid-template-columns: 1fr;
  }

  .geo-calc-open {
    width: 100%;
    justify-content: center;
  }

  .geo-cat-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .geo-cat-tabs::-webkit-scrollbar {
    display: none;
  }

  .geo-cat-tab {
    flex: 0 0 auto;
  }

  .geo-model-grid {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: none;
  }

  .geo-model-grid::-webkit-scrollbar {
    display: none;
  }

  .geo-model-btn {
    flex: 0 0 auto;
  }

  .geo-calc-iframe-wrap iframe {
    min-height: 480px;
    height: 480px;
  }

/* Store production kit layers */
.store-kit-shell { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(29, 91, 55, .12); }
.store-kit-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.store-kit-tabs { display: flex; flex-wrap: wrap; gap: .45rem; flex: 1 1 auto; }
.store-kit-tab { appearance: none; border: 1px solid rgba(29, 91, 55, .14); background: rgba(255,255,255,.88); color: #607268; border-radius: 999px; padding: .48rem .95rem; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; transition: all .22s ease; }
.store-kit-tab em { font-style: normal; opacity: .55; font-size: .72rem; margin-left: .22rem; font-weight: 600; }
.store-kit-tab:hover { border-color: rgba(29, 91, 55, .32); color: #173326; background: #fff; }
.store-kit-tab.is-active { background: linear-gradient(135deg, #1d5b37 0%, #173326 100%); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -10px rgba(23, 51, 38, .55); }
.store-kit-tab.is-active em { opacity: .88; }
.store-kit-status { display: flex; flex-direction: column; align-items: flex-end; gap: .12rem; padding: .45rem .85rem; border-radius: .9rem; background: rgba(29, 91, 55, .06); border: 1px solid rgba(29, 91, 55, .12); }
.store-kit-status-kicker { font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #607268; }
.store-kit-status-value { font-size: .82rem; font-weight: 700; color: #173326; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 16rem; }
.store-kit-panel { display: none; animation: geoFadeIn .28s ease; }
.store-kit-panel.is-active { display: block; }
.store-kit-intro { margin: 0 0 .75rem; color: #607268; font-size: .9rem; line-height: 1.55; }
.store-kit-grid { display: flex; flex-wrap: wrap; gap: .45rem; }
.store-kit-btn { appearance: none; position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: .14rem; padding: .5rem .72rem .5rem .82rem; border-radius: .85rem; border: 1px solid rgba(29, 91, 55, .12); background: rgba(255,255,255,.92); color: #173326; font: inherit; text-align: left; cursor: pointer; transition: all .22s ease; box-shadow: 0 1px 2px rgba(17,25,21,.04); }
.store-kit-btn::before { content: ""; position: absolute; left: 0; top: .45rem; bottom: .45rem; width: 3px; border-radius: 0 3px 3px 0; background: transparent; transition: all .22s ease; }
.store-kit-label { font-size: .8rem; font-weight: 700; line-height: 1.2; }
.store-kit-meta { font-size: .67rem; line-height: 1.25; color: #607268; }
.store-kit-btn:hover { border-color: rgba(29, 91, 55, .32); background: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(15,31,23,.28); }
.store-kit-btn.is-active { border-color: rgba(29, 91, 55, .38); background: linear-gradient(180deg, rgba(29,91,55,.12), rgba(29,91,55,.04)); box-shadow: 0 0 0 1px rgba(29,91,55,.14), 0 10px 20px -14px rgba(15,31,23,.28); }
.store-kit-btn.is-active::before { background: linear-gradient(180deg, #7bc9a2, #1d5b37); }
.geo-calc-badge { display: inline-flex; align-items: center; padding: .35rem .7rem; border-radius: 999px; background: #edf7ef; border: 1px solid rgba(29, 91, 55, .12); color: #1d5b37; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) { .store-kit-status { align-items: flex-start; width: 100%; } .store-kit-status-value { max-width: 100%; } }
@media (max-width: 720px) {
  .store-kit-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .25rem; scrollbar-width: none; }
  .store-kit-tabs::-webkit-scrollbar { display: none; }
  .store-kit-tab { flex: 0 0 auto; }
  .store-kit-grid { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .35rem; scrollbar-width: none; }
  .store-kit-grid::-webkit-scrollbar { display: none; }
  .store-kit-btn { flex: 0 0 auto; }
}
