/* TF Tactical: Plate Size circle swatches (single product) */
.tft-swatch-wrap { position: relative; }
.tft-swatch-wrap select {
  position: absolute !important; width: 1px !important; height: 1px !important;
  opacity: 0 !important; pointer-events: none !important; overflow: hidden; clip: rect(0 0 0 0);
}
.tft-swatches {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 14px 16px; padding: 6px 2px 4px;
}
.tft-swatch {
  --sw: 56px;
  appearance: none; -webkit-appearance: none;
  background: none !important; border: 0 !important; padding: 0 !important; margin: 0;
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  cursor: pointer; color: #C7C8BE; border-radius: 0 !important; min-width: 0; box-shadow: none !important;
}
.tft-swatch__disc {
  width: var(--sw); height: var(--sw); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: radial-gradient(circle at 34% 28%, #ffffff 0%, #e4e5df 45%, #b9bbb0 100%);
  color: #14150F; font-weight: 800; font-size: calc(var(--sw) * 0.3); line-height: 1;
  box-shadow: inset 0 -3px 6px rgba(0,0,0,0.18), 0 2px 6px rgba(0,0,0,0.45);
  transition: transform 150ms ease, box-shadow 150ms ease, opacity 150ms ease;
}
.tft-swatch__label { font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }
.tft-swatch:hover .tft-swatch__disc { transform: translateY(-2px); }
.tft-swatch:focus-visible { outline: none; }
.tft-swatch:focus-visible .tft-swatch__disc { box-shadow: 0 0 0 3px #14150F, 0 0 0 5px #E8E8E5; }
.tft-swatch.is-selected .tft-swatch__disc {
  box-shadow: 0 0 0 3px #14150F, 0 0 0 6px #6B7A4B, 0 4px 14px rgba(107,122,75,0.45);
}
.tft-swatch.is-selected .tft-swatch__label { color: #6B7A4B; }
.tft-swatch.is-disabled { cursor: not-allowed; }
.tft-swatch.is-disabled .tft-swatch__disc { opacity: 0.3; }
.tft-swatch-selected { margin-top: 10px; font-size: 13px; color: #8f9484; min-height: 1em; }
.tft-swatch-selected strong { color: #E8E8E5; font-weight: 600; }
.summary > .price.tft-live-price { transition: color 200ms ease; }

/* ---- Option cards (Caliber / Thickness, Stand, ...) ---- */
.tft-swatches--cards {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px; padding: 2px 0;
}
.tft-swatch.tft-card {
  position: relative;
  display: flex !important; flex-direction: column; align-items: flex-start; justify-content: center; gap: 3px;
  min-height: 58px; width: 100%;
  padding: 12px 34px 12px 14px !important;
  background: #1B1D14 !important;
  border: 1px solid #3A3F2C !important;
  border-radius: var(--tft-btn-radius, 8px) !important;
  text-align: left; color: #E8E8E5;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}
.tft-card__title { font-size: 14px; font-weight: 700; letter-spacing: 0.2px; color: #E8E8E5; line-height: 1.25; text-transform: none; }
.tft-card__detail { font-size: 12px; font-weight: 400; color: #8f9484; line-height: 1.35; text-transform: none; letter-spacing: 0; }
.tft-swatch.tft-card:hover { border-color: #6B7A4B !important; }
.tft-swatch.tft-card::after {
  content: ''; position: absolute; top: 12px; right: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid #4A5038; transition: all 150ms ease;
}
.tft-swatch.tft-card.is-selected {
  background: rgba(107, 122, 75, 0.16) !important;
  border-color: #6B7A4B !important;
  box-shadow: inset 0 0 0 1px #6B7A4B !important;
}
.tft-swatch.tft-card.is-selected::after {
  border-color: #6B7A4B;
  background: #6B7A4B radial-gradient(circle, #14150F 0 2.5px, transparent 3px);
}
.tft-swatch.tft-card.is-selected .tft-card__detail { color: #C7C8BE; }
.tft-swatch.tft-card:focus-visible { outline: 2px solid #E8E8E5; outline-offset: 2px; }
.tft-swatch.tft-card.is-disabled { opacity: 0.35; }

/* ---- "Clear" selection: subtle text link instead of a white button ---- */
.single-product .variations_form .reset_variations {
  display: inline-flex; align-items: center; gap: 6px;
  margin: 12px 0 0 !important; padding: 0 !important;
  background: none !important; border: 0 !important; box-shadow: none !important;
  color: #8f9484 !important; font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
}
.single-product .variations_form .reset_variations:hover { color: #6B7A4B !important; }
.single-product .variations_form .reset_variations svg,
.single-product .variations_form .reset_variations path { fill: currentColor !important; stroke: none; }
.single-product .variations_form .variations td.value { display: block; }
/* variation lookup: no white flash – invisible click-guard + subtle price loading state */
html body .variations_form .blockUI.blockOverlay {
  background: transparent !important; opacity: 1 !important; cursor: progress !important;
}
html body .variations_form .blockUI.blockOverlay::before { display: none !important; content: none !important; }
.variations_form .single_variation_wrap { transition: opacity .15s ease; }
.variations_form:has(.blockOverlay) .single_variation_wrap { opacity: .45; }
.variations_form:has(.blockOverlay) .woocommerce-variation-price { position: relative; }
.variations_form:has(.blockOverlay) .woocommerce-variation-price::after {
  content: ''; display: inline-block; width: 16px; height: 16px; margin-left: 12px; vertical-align: middle;
  border: 2px solid rgba(157,176,111,.3); border-top-color: #9DB06F; border-radius: 50%; animation: tftSpin .6s linear infinite;
}
@keyframes tftSpin { to { transform: rotate(360deg); } }