/* ==========================================================================
   sspa.gc.ui.css — shared gift certificate widget styles
   Loaded by in-app (Bootstrap 3) and online (Bootstrap 5) pages.
   Every rule is scoped to .sgc-* classes, so neither theme is affected.
   ========================================================================== */
.sgc-designs { display: flex; flex-wrap: wrap; gap: 8px; }
.sgc-design {
  flex: 1 1 calc(50% - 8px); display: flex; align-items: center; gap: 10px;
  min-height: 46px; padding: 7px 11px; text-align: left; cursor: pointer;
  background: #fff; border: 1px solid #e5e7eb; border-radius: 10px;
  font: inherit; line-height: 1.2; color: #111827; box-shadow: none;
}
.sgc-design:hover { border-color: #9ca3af; }
.sgc-design:focus-visible { outline: 2px solid #111827; outline-offset: 2px; }
.sgc-design.is-active { border: 2px solid #111827; padding: 6px 10px; background: #f9fafb; }
.sgc-design b { display: block; font-size: 14px; font-weight: 700; color: #111827; }
.sgc-design small { display: block; font-size: 12px; color: #4b5563; }
.sgc-chip { width: 26px; height: 18px; flex: 0 0 26px; border-radius: 4px; border: 1px solid #d1d5db; }

.sgc-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.sgc-swatch { width: 36px; height: 36px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px #d1d5db; padding: 0; cursor: pointer; }
.sgc-swatch.is-active { box-shadow: 0 0 0 2px #111827; }
.sgc-custom { width: 48px; height: 36px; padding: 0; border: 1px solid #d1d5db; border-radius: 8px; background: #fff; cursor: pointer; }

.sgc-preview { background: #f3f4f6; border-radius: 16px; padding: 16px; min-height: 200px; transition: opacity .15s; }
.sgc-preview.is-loading { opacity: .55; }
.sgc-preview .gc3 { zoom: .7; }
.sgc-preview .gc3-thermal { zoom: .95; }
.sgc-empty { color: #4b5563; text-align: center; padding: 60px 0; font-size: 14px; }
@media (max-width: 575.98px) {
  .sgc-preview { padding: 10px; }
  .sgc-preview .gc3 { zoom: .55; }
}

/* occasion picker */
.sgc-occasions { display: flex; flex-wrap: wrap; gap: 6px; }
.sgc-occ {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 34px;
  border: 1px solid #d1d5db; border-radius: 999px; background: #fff; cursor: pointer;
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1.2; color: #111827; box-shadow: none;
}
.sgc-occ:hover { border-color: #9ca3af; }
.sgc-occ:focus-visible { outline: 2px solid #111827; outline-offset: 2px; }
.sgc-occ.is-active { border: 2px solid #111827; padding: 5px 11px; background: #f9fafb; }
.sgc-occ-g { font-size: 14px; line-height: 1; font-family: "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", Arial, sans-serif; }
