.product.gm-glass-configurator form.cart .gm-configurator-banner {
  background-color: #093852 !important;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 650;
}

.product.gm-glass-configurator .gm-pilot-viewer {
  --gm-ink: #093852;
  --gm-muted: #526e7d;
  --gm-border: #d7e3e9;
  border-radius: 12px;
  font-family: Inter, system-ui, sans-serif;
}

.product.gm-glass-configurator .gm-pilot-viewer__switch,
.product.gm-glass-configurator .gm-pilot-viewer__axis {
  background: #edf5f7;
}

.gm-pilot-side-picker {
  box-sizing: border-box;
  width: 100%;
  margin: 6px 0 14px;
  padding: 12px 14px;
  border: 1px solid #d7e3e9;
  border-radius: 8px;
  background: #edf5f7;
  color: #093852;
}

.gm-pilot-side-picker[hidden] {
  display: none !important;
}

.gm-pilot-side-picker label {
  display: block;
  margin-bottom: 5px;
}

.gm-pilot-side-picker select {
  min-height: 44px;
  margin-bottom: 5px;
  font-size: 16px;
}

.gm-pilot-side-picker p {
  margin: 0;
  font-size: 13px;
  color: #3d5968;
}

.product.gm-glass-configurator .gm-pilot-viewer[data-side='back'] .gm-pilot-viewer__side {
  background: var(--gm-ink);
  border-color: var(--gm-ink);
}

.product.gm-glass-configurator .gm-pilot-viewer button:focus-visible,
.product.gm-glass-configurator .gm-glass-pilot .gm-pilot-collapse:focus-visible,
#tm-extra-product-options.gm-compact .gm-shape-div .tc-images-container:focus-visible {
  outline: 2px solid #477d97;
  outline-offset: 2px;
}

#tm-extra-product-options.gm-compact .gm-ux-duplicate-model {
  display: none !important;
}

#tm-extra-product-options.gm-compact .gm-ux-polished-photo-missing :is(picture,.tc-lightbox-image-wrap,.tc-lightbox-button,img.tc-image),
#tm-extra-product-options.gm-compact .gm-ux-polished-sample[hidden] {
  display: none !important;
}

#tm-extra-product-options.gm-compact .gm-ux-polished-sample:not([hidden]) {
  aspect-ratio: 1;
  background: #edf5f7;
  border-radius: 5px;
  display: block;
  margin: 0 auto 8px;
  max-width: 128px;
  overflow: hidden;
  pointer-events: none;
  position: relative;
  width: 100%;
}

#tm-extra-product-options.gm-compact .gm-ux-polished-sample::before {
  background: linear-gradient(154deg, #dcebed 0%, #fafeff 67%, #b9d8d8 100%);
  border: 1px solid #87b2b2;
  border-radius: 2px 3px 0 1px;
  content: '';
  inset: 26% 10% 30%;
  position: absolute;
  transform: skew(-13deg, 12deg);
}

#tm-extra-product-options.gm-compact .gm-ux-polished-sample::after {
  background: linear-gradient(to bottom, #edfafa 0%, #82b8b0 26%, #eefafa 55%, #558b86 100%);
  border: 1px solid #699793;
  border-radius: 0 0 3px 3px;
  content: '';
  inset: 66% 12% 24%;
  position: absolute;
  transform: skew(-13deg, 12deg);
}

@media (max-width: 640px), (pointer: coarse) {
  .product.gm-glass-configurator .gm-pilot-viewer .gm-pilot-viewer__switch button,
  .product.gm-glass-configurator .gm-pilot-viewer .gm-pilot-viewer__controls button:not([data-gm-camera='touch']),
  .product.gm-glass-configurator .gm-pilot-viewer .gm-pilot-viewer__enlarge,
  .product.gm-glass-configurator .gm-glass-pilot .gm-pilot-collapse,
  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-edge-help-button {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 480px) {
  .product.gm-glass-configurator #tm-extra-product-options.gm-compact :is(input.tmcp-textfield,select,textarea) {
    font-size: 16px !important;
    min-height: 44px;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact :is(.gm-shape-div,.gm-c-dimensions) .tc-images-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-shape-div .tc-images-container {
    overscroll-behavior-y: auto;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact :is(.gm-shape-div,.gm-c-dimensions) .tc-label-text {
    font-size: .8125rem !important;
    overflow-wrap: anywhere;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-side-choice .tmcp-ul-wrap {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-side-choice .tm-epo-field-label {
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    min-height: 70px;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-side-choice .gm-side-diagram {
    height: 48px;
    width: 66px;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-spec-card {
    min-width: 0;
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact .gm-spec-card .tc-result-wrap {
    font-size: clamp(17px, 5.25vw, 22px);
    overflow-wrap: anywhere;
    white-space: normal;
  }
}

@media (max-width: 360px) {
  .product.gm-glass-configurator #tm-extra-product-options.gm-compact :is(.gm-measure-layout,.gm-dimension-layout) {
    grid-template-columns: minmax(0, 1fr);
  }

  .product.gm-glass-configurator #tm-extra-product-options.gm-compact :is(.gm-measure-preview,.gm-model-preview) {
    justify-self: start;
  }
}
