.ggt-ph-compare-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 16px 0;
}

.ggt-ph-compare-add {
  position: relative;
  max-width: 420px;
  margin: 0 0 18px;
}

.ggt-ph-compare-add input {
  width: 100%;
  min-height: 42px;
  border: 1px solid #d0d7de;
  border-radius: 10px;
  padding: 0 12px;
  font: inherit;
}

.ggt-ph-compare-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  z-index: 30;
  overflow: hidden;
}

.ggt-ph-suggest {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: #fff;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.ggt-ph-suggest:hover,
.ggt-ph-suggest:focus {
  background: #e8fff7;
}

.ggt-ph-suggest:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.ggt-ph-compare-empty {
  border: 1px dashed #d0d7de;
  border-radius: 14px;
  padding: 24px;
  background: #fafbfc;
  margin: 12px 0 24px;
}

.ggt-ph-compare-engine .is-diff td,
.ggt-ph-compare-engine .is-diff th {
  background: #fff9eb;
}

.ggt-ph-compare-engine .is-same td {
  color: #57606a;
}

.ggt-ph-compare-colhead {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 160px;
}

.ggt-ph-compare-thumb-wrap {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #111;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28);
}
.ggt-ph-compare-thumb-wrap::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 0;
  height: 42%;
  border-radius: inherit;
  background: radial-gradient(
    120% 70% at 50% 115%,
    rgba(255, 255, 255, 0.34) 0%,
    rgba(255, 255, 255, 0.12) 35%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 2;
}
.ggt-ph-compare-thumb-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0.14) 22%,
    rgba(255, 255, 255, 0.03) 42%,
    transparent 58%
  );
  pointer-events: none;
  z-index: 2;
}
.ggt-ph-compare-thumb {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  display: block;
}
.ggt-ph-compare-thumb-fallback {
  position: relative;
  z-index: 1;
  color: #fff;
  font-family: "GT Walsheim Medium", "GT Walsheim", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.ggt-ph-compare-col-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
