/* Hallmark · component: QO coupon-tab shell · genre: modern-minimal
 * theme: existing Quick Order · pre-emit critique: P5 H5 E4 S5 R5 V4
 * Component scope: retain the current tab strip and typography.
 */
.sst-qct-tab,
.sst-qct-panel {
  --sst-qct-ink: #1a1a1a;
  --sst-qct-muted: #656565;
  --sst-qct-paper: #fff;
  --sst-qct-rule: #ececec;
  --sst-qct-accent: #9e2c5f;
  --sst-qct-accent-hover: #84234e;
  --sst-qct-button-label: var(--sst-qct-paper);
  --sst-qct-focus: var(--sst-qct-accent);
  --sst-qct-clear: transparent;
  --sst-qct-font: Inter, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  box-sizing: border-box;
  font-family: var(--sst-qct-font);
}
/* Follow the site's own theme switch and palette; the light tokens above stay
   unchanged. Button labels remain separate from the now-dark paper surface. */
html[data-sst-theme="dark"] .sst-qct-tab,
html[data-sst-theme="dark"] .sst-qct-panel {
  --sst-qct-ink: var(--sst-ink);
  --sst-qct-muted: var(--sst-muted);
  --sst-qct-paper: var(--sst-paper);
  --sst-qct-rule: var(--sst-line);
  --sst-qct-accent: var(--sst-accent);
  --sst-qct-accent-hover: var(--sst-accent-dark);
  --sst-qct-button-label: var(--sst-btn-label);
  --sst-qct-focus: var(--sst-focus);
}
.sst-qct-panel[hidden] { display: none !important; }
.sst-qct--open .sst-qo__group,
.sst-qct--open .sst-top-block,
.sst-qct--open [data-qo-subgroup-tabs],
.sst-qct--open [data-qo-damaged-grade-tabs],
.sst-qct--open .sst-qo__count-top { display: none !important; }
/* Native border-color transitions otherwise leave TOP's old underline visible
   briefly while the new shell is already open. This applies only in the shell. */
.sst-qct--open [data-qo-family-tabs] [data-qo-family-tab] {
  border-bottom-color: transparent !important;
  transition: none !important;
}
/* Override generic filled-button rules for this one native-style tab. */
.sst-qo button.sst-qct-tab {
  appearance: none;
  flex: 0 0 auto;
  min-height: 44px !important;
  padding: 10px 18px;
  border: 0 !important;
  border-bottom: 2px solid var(--sst-qct-clear) !important;
  border-radius: 0 !important;
  background: var(--sst-qct-clear) !important;
  color: var(--sst-qct-muted) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
  cursor: pointer;
  transition: none !important;
}
.sst-qo button.sst-qct-tab[aria-pressed="true"] {
  color: var(--sst-qct-ink) !important;
  border-bottom-color: var(--sst-qct-accent) !important;
}
.sst-qct-panel {
  min-width: 0;
  padding: 24px 0 32px;
  background: var(--sst-qct-paper);
  color: var(--sst-qct-ink);
  overflow-wrap: anywhere;
}
.sst-qct-title {
  margin: 0 0 12px;
  min-width: 0;
  font-size: 22px;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.sst-qct-message {
  margin: 0 0 24px;
  color: var(--sst-qct-muted);
  font-size: 14px;
  line-height: 1.6;
}
.sst-qo button.sst-qct-back {
  appearance: none;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--sst-qct-accent);
  border-radius: 4px;
  background: var(--sst-qct-accent);
  color: var(--sst-qct-button-label);
  font-family: var(--sst-qct-font);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
}
.sst-qo button.sst-qct-tab:focus-visible,
.sst-qo button.sst-qct-back:focus-visible {
  outline: 2px solid var(--sst-qct-focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--sst-qct-paper);
}
.sst-qo button.sst-qct-tab:active,
.sst-qo button.sst-qct-back:active { transform: translateY(1px); }
@media (hover: hover) {
  .sst-qo button.sst-qct-tab:hover { color: var(--sst-qct-ink) !important; }
  .sst-qo button.sst-qct-back:hover { background: var(--sst-qct-accent-hover); color: var(--sst-qct-button-label); }
}
@media (max-width: 760px) {
  .sst-qo button.sst-qct-tab { padding: 10px 12px; font-size: 12px; }
  .sst-qct-panel { padding-top: 16px; }
  .sst-qct-title { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sst-qo button.sst-qct-tab:active,
  .sst-qo button.sst-qct-back:active { transform: none; }
}
