.wypc-configurator {
  margin: 28px 0;
  padding: 0;
  border: none;
  background: transparent;
  clear: both;
}

.wypc-configurator .screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.wypc-configurator .description,
.wypc-configurator .wypc-addon-desc {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 12px;
  line-height: 1.45;
}

.wypc-configurator .wypc-addon-desc {
  margin: 0;
  display: block;
}

.wypc-layout {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 820px;
}

.wypc-primary {
  padding: 14px 18px 8px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fff;
}

.wypc-trust-ribbon {
  margin: 0 0 14px;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
}

.wypc-trust-chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
}

.wypc-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 5px 10px 5px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  color: #1e3a5f;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  white-space: nowrap;
}

.wypc-trust-chip-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #2563eb;
}

.wypc-trust-chip-text {
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .wypc-trust-chip {
    font-size: 10px;
    padding: 4px 8px 4px 6px;
  }
}

.wypc-delivery-strip {
  margin: 0 0 14px;
  padding: 10px 0 12px;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  background: transparent;
}

.wypc-delivery-strip-meta {
  max-width: 42em;
}

.wypc-delivery-strip-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 16px 28px;
  margin-top: 2px;
}

.wypc-delivery-fact {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  min-width: 0;
}

.wypc-delivery-fact-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: #64748b;
}

.wypc-delivery-fact--rush .wypc-delivery-fact-icon {
  color: #b45309;
}

.wypc-delivery-fact-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.wypc-delivery-fact-label {
  font-size: 12px;
  font-weight: 500;
  color: #6b7280;
  line-height: 1.3;
}

.wypc-delivery-fact-date {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.wypc-step-title {
  display: block;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 8px;
  color: #111827;
}

.wypc-step select,
.wypc-step textarea {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}

.wypc-color-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wypc-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wypc-swatch {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 2px solid #e5e7eb;
  border-radius: 50%;
  cursor: pointer;
  background: #f3f4f6;
  overflow: hidden;
  flex-shrink: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wypc-swatch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wypc-swatch:hover {
  border-color: #9ca3af;
}

.wypc-swatch.is-selected {
  border-color: #111827;
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #111827;
}

.wypc-swatch.wypc-swatch--unavailable {
  opacity: 0.48;
  cursor: not-allowed;
  position: relative;
}

.wypc-swatch.wypc-swatch--unavailable::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 130%;
  height: 2px;
  background: rgba(17, 24, 39, 0.45);
  transform: translate(-50%, -50%) rotate(-42deg);
  border-radius: 1px;
  pointer-events: none;
}

.wypc-swatch.wypc-swatch--unavailable img,
.wypc-swatch.wypc-swatch--unavailable .wypc-swatch-fallback {
  filter: grayscale(0.35);
}

.wypc-swatch .wypc-swatch-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 11px;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
}

.wypc-step-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

.wypc-step-row.wypc-qty-tier-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

.wypc-method-picker {
  margin-top: 2px;
}

.wypc-method-picker-lead {
  margin: 0 0 10px;
  font-size: 12px;
  line-height: 1.45;
  color: #64748b;
}

.wypc-method-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.wypc-method-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  font: inherit;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wypc-method-card:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.wypc-method-card.is-selected {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 55%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.wypc-method-card:focus {
  outline: none;
}

.wypc-method-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.wypc-method-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.wypc-method-card.is-selected .wypc-method-card-icon {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.wypc-method-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wypc-method-card-name {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

.wypc-method-card-hint {
  font-size: 11px;
  line-height: 1.4;
  color: #64748b;
}

.wypc-step-grow {
  min-width: 0;
}

.wypc-stitch-count.wypc-stitch-from-design {
  background: #f8fafc;
  color: #0f172a;
  cursor: not-allowed;
}

.wypc-stitch-simple {
  margin-top: 4px;
}

.wypc-stitch-simple .wypc-stitch-show-advanced {
  margin-top: 6px;
  padding: 0;
  font-size: 13px;
}

.wypc-stitch-advanced-field {
  margin-top: 8px;
  max-width: 200px;
}

.wypc-step-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 6px;
}

.wypc-step-title-row .wypc-step-title {
  margin-bottom: 0;
}

.wypc-info-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
}

.wypc-info-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  padding: 2px;
  margin: 0;
  cursor: pointer;
  color: #64748b;
  border-radius: 999px;
  line-height: 0;
  transition: color 0.12s ease, box-shadow 0.12s ease;
}

.wypc-info-btn:hover,
.wypc-info-btn:focus-visible {
  color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.35);
}

.wypc-tooltip {
  position: absolute;
  /* Anchor to the (i) control’s trailing edge so the bubble grows left into the column — avoids clipping off the right side of the viewport. */
  left: auto;
  right: 0;
  top: calc(100% + 8px);
  z-index: 40;
  /* Explicit width: shrink-to-fit uses the tiny .wypc-info-wrap box, so without this the bubble becomes one-word wide. */
  box-sizing: border-box;
  width: min(300px, calc(100vw - 24px));
  max-width: min(300px, calc(100vw - 24px));
  padding: 10px 12px;
  border-radius: 10px;
  background: #0f172a;
  color: #f1f5f9;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.wypc-tooltip[hidden] {
  display: none !important;
}

.wypc-tooltip-inner {
  display: block;
}

.wypc-size-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(76px, 1fr));
  gap: 12px 10px;
}

.wypc-size-cell label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #374151;
}

.wypc-size-cell--oos label {
  color: #6b7280;
}

.wypc-size-cell input.wypc-size-qty {
  width: 100%;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
}

.wypc-size-on-hand {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #9ca3af;
  text-align: center;
}

.wypc-size-on-hand--low {
  color: #b45309;
  font-weight: 600;
}

.wypc-size-cell--oos .wypc-size-on-hand {
  color: #991b1b;
  font-weight: 600;
}

.wypc-size-cell--oos.wypc-size-cell--backorder .wypc-size-on-hand {
  color: #b45309;
  font-weight: 600;
}

.wypc-size-cell--oos input.wypc-size-qty {
  opacity: 0.65;
  cursor: not-allowed;
  background: #f3f4f6;
}

.wypc-stock-legend {
  margin: 0 0 10px;
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
}

.wypc-empty-sizes {
  margin: 0;
  font-size: 14px;
  color: #b45309;
}

.wypc-total-pieces {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.wypc-print-settings-preview {
  margin: 16px 0 20px;
  padding: 14px 16px 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.wypc-print-settings-preview-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.wypc-print-settings-preview-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.wypc-print-settings-preview-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: #e2e8f0;
  color: #334155;
  border: 1px solid #cbd5e1;
  line-height: 1.25;
  white-space: nowrap;
}

.wypc-print-settings-preview-body {
  display: grid;
  gap: 2px;
}

.wypc-pss-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  line-height: 1.4;
  padding: 7px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.wypc-pss-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.wypc-pss-k {
  color: #64748b;
  flex: 0 1 auto;
}

.wypc-pss-v {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
}

.wypc-pss-row-muted .wypc-pss-v {
  color: #94a3b8;
  font-weight: 500;
}

.wypc-print-settings-preview-foot {
  margin: 10px 0 0;
}

.wypc-notes-step {
  margin-top: 4px;
  padding: 16px 16px 18px;
  border-radius: 14px;
  border: 1px dashed #cbd5e1;
  background: #fff;
}

.wypc-notes-step-hint {
  margin-top: 0;
}

.wypc-notes-step .wypc-notes {
  border-radius: 10px;
  border-color: #cbd5e1;
  min-height: 72px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wypc-notes-step .wypc-notes:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
  outline: none;
}

.wypc-advanced-wrap {
  margin-top: 18px;
}

.wypc-advanced-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #bfdbfe;
  background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
  box-shadow: 0 2px 6px rgba(30, 64, 175, 0.12);
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: #1e3a8a;
  transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

.wypc-advanced-toggle:hover {
  border-color: #93c5fd;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.16);
}

.wypc-advanced-toggle:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.35);
}

.wypc-advanced-toggle.is-open {
  border-color: #93c5fd;
}

.wypc-advanced-toggle-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.wypc-advanced-toggle-main {
  font-size: 15px;
  font-weight: 700;
  color: #1e3a8a;
}

.wypc-advanced-toggle-sub {
  font-size: 12px;
  font-weight: 500;
  color: #475569;
  line-height: 1.35;
}

.wypc-advanced-toggle-icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  position: relative;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
}

.wypc-advanced-toggle-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 45%;
  width: 6px;
  height: 6px;
  margin-left: -5px;
  margin-top: -5px;
  border-right: 2px solid #1d4ed8;
  border-bottom: 2px solid #1d4ed8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.wypc-advanced-toggle.is-open .wypc-advanced-toggle-icon::after {
  top: 55%;
  transform: rotate(-135deg);
}

.wypc-advanced-panel {
  margin-top: 12px;
  padding-top: 4px;
  border-top: 1px solid #f3f4f6;
}

.wypc-advanced-inner {
  display: grid;
  gap: 14px;
  padding-top: 12px;
}

.wypc-advanced-lead {
  margin: 0;
}

.wypc-location-count-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

@media (max-width: 520px) {
  .wypc-location-count-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wypc-location-count-btn {
  min-width: 0;
  padding: 7px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font: inherit;
  font-weight: 500;
  font-size: 12px;
  color: #475569;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  text-align: center;
}

.wypc-location-count-btn:hover {
  border-color: #cbd5e1;
  background: #f8fafc;
}

.wypc-location-count-btn.is-selected {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1e40af;
  font-weight: 600;
  box-shadow: none;
}

.wypc-location-count-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}

.wypc-pick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 6px;
}

@media (max-width: 520px) {
  .wypc-pick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.wypc-pick-btn {
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fafafa;
  font: inherit;
  font-weight: 500;
  font-size: 12px;
  line-height: 1.25;
  color: #64748b;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.wypc-pick-btn:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
  color: #475569;
}

.wypc-pick-btn.is-selected {
  border-color: #2563eb;
  background: #fff;
  color: #1e40af;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.wypc-pick-btn:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.wypc-addons-block .wypc-addons-intro {
  margin: 0 0 12px;
}

.wypc-addons-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wypc-addon-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fafafa;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.wypc-addon-media {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #fff;
  align-self: center;
}

.wypc-addon-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wypc-addon-row.is-on {
  border-color: #93c5fd;
  background: #eff6ff;
}

.wypc-addon-row.is-unavailable {
  opacity: 0.72;
  border-color: #e5e7eb;
  background: #f3f4f6;
}

.wypc-addon-row.is-unavailable .wypc-addon-title,
.wypc-addon-row.is-unavailable .wypc-addon-desc {
  color: #6b7280;
}

.wypc-addon-row.is-unavailable .wypc-addon-price-hint {
  color: #6b7280;
  font-weight: 600;
}

.wypc-addon-row.is-unavailable .wypc-addon-label {
  cursor: not-allowed;
}

.wypc-addon-input {
  margin-top: 3px;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  accent-color: #2563eb;
  cursor: pointer;
}

.wypc-addon-label {
  flex: 1 1 auto;
  min-width: 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0;
  font: inherit;
}

.wypc-addon-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35em;
  font-weight: 700;
  font-size: 14px;
  color: #111827;
}

.wypc-addon-price-hint {
  font-weight: 600;
  color: #2563eb;
}

.wypc-addon-price-hint:not(:empty) {
  margin-left: 0.4em;
}

.wypc-cart-art-sep {
  color: #94a3b8;
  font-weight: 500;
}

.wypc-volume-nudge {
  margin: 12px 0 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #bbf7d0;
  background: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 100%);
  font-size: 13px;
  line-height: 1.5;
  color: #14532d;
}

.wypc-volume-nudge[hidden] {
  display: none !important;
}

.wypc-pick-btn.wypc-ink-pick--locked {
  opacity: 0.55;
  cursor: not-allowed;
  border-style: dashed;
  color: #64748b;
  background: #f8fafc;
}

.wypc-pick-btn.wypc-ink-pick--locked:disabled {
  opacity: 0.55;
}

.wypc-ink-tier-hint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
  max-width: 42em;
  line-height: 1.45;
}


.wypc-location-block {
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.wypc-location-block:last-child {
  margin-bottom: 0;
}

.wypc-location-block-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  background: linear-gradient(180deg, #f1f5f9 0%, #e8eef4 100%);
  border-bottom: 1px solid #e2e8f0;
}

.wypc-location-badge {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: #0f172a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.wypc-location-head-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.wypc-location-head-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.wypc-location-head-hint {
  font-size: 11px;
  line-height: 1.35;
  color: #64748b;
}

.wypc-location-block-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wypc-location-block-body .wypc-location-placement-label {
  margin-bottom: 6px;
}

.wypc-location-ink-wrap {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
}

.wypc-ink-label {
  font-size: 13px;
  color: #4b5563;
}

.wypc-summary {
  position: static;
  width: 100%;
  max-width: 820px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fafafa;
  padding: 20px 22px 22px;
  box-sizing: border-box;
}

.wypc-summary h3 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}

.wypc-line,
.wypc-each-wrap,
.wypc-total-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
}

.wypc-total-wrap {
  font-size: 1.05em;
  font-weight: 600;
}

.wypc-savings {
  font-size: 13px;
  color: #047857;
  padding: 8px 0 0;
  min-height: 1.2em;
}

.wypc-add-to-cart {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 16px;
}

.wypc-help {
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
  margin-top: 14px;
}

.wypc-logistics-preview {
  margin-top: 16px;
  padding: 16px 16px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  font-size: 13px;
  line-height: 1.45;
  color: #0f172a;
}

.wypc-logistics-preview-head {
  margin-bottom: 14px;
}

.wypc-logistics-preview-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.wypc-logistics-preview-lead {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: #64748b;
}

.wypc-logistics-proof-note {
  margin: 8px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: #334155;
}

.wypc-logistics-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
}

.wypc-logistics-cards--vista {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wypc-logistics-card--vista .wypc-logistics-card-body {
  gap: 4px;
}

.wypc-logistics-card-price {
  font-weight: 700;
  font-size: 15px;
  color: #0f172a;
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.wypc-logistics-card-price-inner {
  display: inline-block;
  min-width: 3.5ch;
}

.wypc-logistics-card {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0;
  padding: 14px 14px 16px;
  border-radius: 12px;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

/* Vista layout: grid must win over the flex rule above (icon | copy | price). */
.wypc-logistics-card.wypc-logistics-card--vista {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) minmax(5.5rem, auto);
  align-items: center;
  gap: 12px 14px;
  min-height: 4.75rem;
}

.wypc-logistics-card:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.wypc-logistics-card:has(.wypc-shipping-speed:checked) {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 55%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.wypc-logistics-card-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.wypc-logistics-card:has(.wypc-shipping-speed:checked) .wypc-logistics-card-icon {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.wypc-logistics-card-icon--rush {
  color: #b45309;
}

.wypc-logistics-card:has(.wypc-shipping-speed:checked) .wypc-logistics-card-icon--rush {
  color: #c2410c;
  background: #fff7ed;
  border-color: #fed7aa;
}

.wypc-logistics-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.wypc-logistics-card-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 10px;
}

.wypc-logistics-card-name {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

.wypc-logistics-card-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.wypc-logistics-card-badge--included {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.wypc-logistics-card-badge--express {
  color: #9a3412;
  background: #ffedd5;
  border: 1px solid #fed7aa;
  font-variant-numeric: tabular-nums;
}

.wypc-logistics-card-date {
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  line-height: 1.35;
}

.wypc-logistics-rush-footnote {
  margin: 10px 0 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.45;
  color: #6b7280;
}

.wypc-logistics-note {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.wypc-artwork-optional {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.wypc-artwork-step .description {
  margin-top: 0;
}

.wypc-apparel-artwork-heading {
  margin: 4px 0 10px;
}

.wypc-apparel-artwork-cards {
  margin-bottom: 12px;
}

.wypc-apparel-pro-design-panel {
  margin-top: 12px;
}

.wypc-apparel-pro-design-label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
}

.wypc-apparel-pro-design-notes {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.wypc-artwork-defer-row {
  margin: 12px 0 14px;
}

.wypc-artwork-defer-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
  cursor: pointer;
  line-height: 1.4;
}

.wypc-artwork-defer-label input {
  margin: 3px 0 0;
  flex-shrink: 0;
}

.wypc-artwork-slots {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wypc-artwork-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #fafafa;
}

.wypc-artwork-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wypc-artwork-library-btn {
  border-radius: 8px;
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #d1d5db;
}

.wypc-artwork-library-btn:hover {
  background: #e5e7eb;
}

.wypc-artwork-label {
  font-weight: 600;
  font-size: 14px;
  color: #111827;
  min-width: 5rem;
}

.wypc-artwork-upload-btn {
  border-radius: 8px;
}

.wypc-artwork-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #047857;
  flex: 1;
  min-width: 8rem;
}

.wypc-artwork-thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f3f4f6;
  flex-shrink: 0;
}

.wypc-artwork-filename {
  line-height: 1.35;
  word-break: break-word;
}

body.wypc-design-library-open {
  overflow: hidden;
}

.wypc-design-library-modal {
  position: fixed;
  inset: 0;
  z-index: 100090;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.wypc-design-library-modal[hidden] {
  display: none !important;
}

.wypc-design-library-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.wypc-design-library-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  max-height: min(85vh, 560px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  border: 1px solid #e5e7eb;
}

.wypc-design-library-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #f3f4f6;
}

.wypc-design-library-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #111827;
  line-height: 1.3;
}

.wypc-design-library-close {
  flex-shrink: 0;
  border-radius: 8px;
}

.wypc-design-library-body {
  padding: 12px 18px 18px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.wypc-design-library-loading,
.wypc-design-library-empty,
.wypc-design-library-error {
  margin: 8px 0 0;
  font-size: 14px;
  color: #4b5563;
  line-height: 1.45;
}

.wypc-design-library-error {
  color: #b45309;
}

.wypc-design-library-card {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.wypc-design-library-card:first-of-type {
  margin-top: 4px;
}

.wypc-design-library-card-title {
  font-weight: 600;
  font-size: 13px;
  color: #111827;
  margin-bottom: 8px;
  line-height: 1.35;
}

.wypc-design-library-file {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  margin-top: 6px;
  border-radius: 8px;
  font-size: 13px;
  padding: 8px 10px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  color: #111827;
}

.wypc-design-library-file:hover {
  background: #f3f4f6;
  border-color: #d1d5db;
}

.wypc-design-library-file:first-of-type {
  margin-top: 0;
}

.wypc-design-library-thumb-wrap {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wypc-design-library-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wypc-design-library-thumb-fallback {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

.wypc-design-library-file-meta {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.wypc-design-library-file-name {
  display: block;
  line-height: 1.35;
  word-break: break-word;
  font-weight: 500;
}

.wypc-design-library-account {
  margin: 16px 0 0;
  font-size: 13px;
}

.wypc-design-library-account-link {
  color: #2563eb;
  text-decoration: underline;
}

@media (max-width: 600px) {
  .wypc-step-row {
    grid-template-columns: 1fr;
  }
}

/* --- Stationery / flat print — visual parity with apparel (cards, steps, summary) --- */
.wypc-configurator.wypc-stationery {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.wypc-configurator.wypc-stationery .wypc-layout {
  max-width: 820px;
}

.wypc-st-trust-ribbon {
  margin-bottom: 6px;
}

.wypc-stationery-spec {
  font-size: 1.05rem;
  color: #374151;
  margin: 0 0 16px;
  line-height: 1.45;
}

.wypc-stationery-delivery {
  margin-bottom: 8px;
}

.wypc-stationery-step {
  margin-bottom: 18px;
}

.wypc-stationery-step:last-child {
  margin-bottom: 0;
}

.wypc-configurator.wypc-stationery .wypc-stationery-step-title {
  margin-bottom: 0;
}

.wypc-st-step-lead {
  margin: 2px 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: #64748b;
}

.wypc-st-qty-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 8px;
}

.wypc-st-qty-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  min-height: 5rem;
  font: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wypc-st-qty-btn:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.wypc-st-qty-btn.is-selected {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 55%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.wypc-st-qty-btn:focus {
  outline: none;
}

.wypc-st-qty-btn:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.wypc-st-qty-num {
  display: block;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.wypc-st-qty-badge {
  display: block;
  font-size: 11px;
  color: #059669;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.3;
}

.wypc-st-qty-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin-top: auto;
  padding-top: 8px;
  width: 100%;
  font-variant-numeric: tabular-nums;
}

.wypc-st-qty-total {
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
}

.wypc-st-qty-each {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  line-height: 1.25;
}

.wypc-st-artwork-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px;
}

.wypc-st-artwork-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  border: 2px solid #e5e7eb;
  background: #f9fafb;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 14px;
  line-height: 1.35;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.wypc-st-artwork-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #fff;
  color: #475569;
  border: 1px solid #e2e8f0;
}

.wypc-st-artwork-card-icon svg {
  display: block;
}

.wypc-st-artwork-card.is-selected .wypc-st-artwork-card-icon {
  color: #1d4ed8;
  border-color: #bfdbfe;
  background: #eff6ff;
}

.wypc-st-artwork-card-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.wypc-st-artwork-card:hover {
  border-color: #cbd5e1;
  background: #fff;
}

.wypc-st-artwork-card.is-selected {
  border-color: #2563eb;
  background: linear-gradient(180deg, #eff6ff 0%, #fff 55%);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12);
}

.wypc-st-artwork-card:focus {
  outline: none;
}

.wypc-st-artwork-card:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.wypc-st-artwork-card-label {
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

.wypc-st-artwork-suffix {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  margin-top: 6px;
}

.wypc-st-panel {
  margin: 12px 0 16px;
  padding: 14px 16px;
  background: #f8fafc;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}

.wypc-st-step3 .wypc-st-step3-title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.wypc-st-step3 > .wypc-st-panel--uploads,
.wypc-st-step3 > .wypc-st-reorder-block,
.wypc-st-step3-team > .wypc-st-panel {
  margin: 10px 0 0;
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.wypc-st-step3 > .wypc-st-panel--later {
  margin: 10px 0 0;
  padding: 10px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.wypc-st-step3 > .wypc-st-reorder-block {
  padding: 12px 0 0;
  border-top: 1px dashed #e2e8f0;
}

.wypc-st-step3-team {
  margin-top: 4px;
}

.wypc-st-step3-team .wypc-st-panel--help {
  margin: 0 0 8px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  border-left: 4px solid #2563eb;
  color: #1f2937;
  line-height: 1.45;
}

.wypc-st-step3-team .wypc-st-team-reassurance {
  margin: 0 0 10px;
  color: #374151;
  font-size: 13px;
  font-weight: 500;
}

.wypc-st-step3-team .wypc-st-panel--setup {
  margin: 0;
  padding: 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
}

.wypc-st-step3-team .wypc-st-panel--setup .wypc-st-setup-label {
  display: block;
  margin-bottom: 6px;
}

.wypc-st-step3-team .wypc-st-panel--setup .wypc-st-setup-text {
  margin-bottom: 10px;
}

.wypc-st-step3-team .wypc-st-design-checklist {
  margin-top: 4px;
  padding: 10px 12px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
}

.wypc-st-step3-team .wypc-st-design-checklist-title {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
}

.wypc-st-step3-team .wypc-st-design-checklist-list {
  margin: 0;
  padding-left: 18px;
  color: #374151;
}

.wypc-st-step3-team .wypc-st-design-checklist-list li {
  margin: 0 0 4px;
}

.wypc-st-upload-section-lead {
  margin: 0 0 12px;
}

.wypc-st-upload-slots {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

.wypc-st-upload-slot.wypc-location-block {
  margin-bottom: 0;
}

.wypc-st-upload-slot .wypc-location-block-body {
  padding-top: 12px;
  padding-bottom: 14px;
}

.wypc-st-upload-row {
  margin: 0;
  border-style: solid;
  border-color: #e2e8f0;
  background: #fff;
}

.wypc-st-upload-label {
  flex-basis: 100%;
  width: 100%;
  min-width: 0;
}

.wypc-configurator.wypc-stationery .wypc-artwork-upload-btn {
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
  background: #1f2937;
  color: #fff !important;
  border: 1px solid #111827;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.wypc-configurator.wypc-stationery .wypc-artwork-upload-btn:hover {
  background: #374151;
  border-color: #1f2937;
  color: #fff !important;
}

.wypc-configurator.wypc-stationery .wypc-artwork-library-btn {
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 600;
  font-size: 14px;
}

.wypc-configurator.wypc-stationery .wypc-st-file-meta {
  flex: 1 1 100%;
  margin-top: 4px;
}

.wypc-configurator.wypc-stationery .wypc-st-business,
.wypc-configurator.wypc-stationery .wypc-st-notes,
.wypc-configurator.wypc-stationery .wypc-st-setup-text {
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  background: #fff;
  font-size: 15px;
}

.wypc-configurator.wypc-stationery .wypc-st-business {
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.wypc-configurator.wypc-stationery .wypc-st-business:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
  outline: none;
}

.wypc-configurator.wypc-stationery .wypc-st-business.wypc-st-field-missing {
  border-color: #dc2626;
  background: #fff7f7;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.18);
}

.wypc-configurator.wypc-stationery
  .wypc-has-missing-business
  .wypc-st-business-label {
  color: #b91c1c;
}

.wypc-configurator.wypc-stationery .wypc-st-notes-bundle .wypc-st-business {
  margin-bottom: 4px;
}

.wypc-configurator.wypc-stationery .wypc-st-notes-title-row {
  margin-top: 14px;
  margin-bottom: 0;
}

.wypc-configurator.wypc-stationery .wypc-st-notes-hint {
  margin-top: 4px;
}

.wypc-configurator.wypc-stationery .wypc-st-notes-bundle .wypc-st-notes {
  min-height: 72px;
  border-color: #cbd5e1;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.wypc-configurator.wypc-stationery .wypc-st-notes-bundle .wypc-st-notes:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.22);
  outline: none;
}

.wypc-st-guidelines-wrap {
  margin-top: 20px;
}

.wypc-st-quote {
  margin: 20px 0;
  font-size: 0.9rem;
}

.wypc-st-quote-link {
  margin-left: 6px;
  font-weight: 600;
}

.wypc-st-guidelines-body {
  font-size: 0.88rem;
  color: #4b5563;
}

.wypc-st-guidelines-default {
  margin: 8px 0 0 1.1em;
  padding: 0;
}

.wypc-summary.wypc-summary--stationery .wypc-st-setup-line {
  margin: 0;
  padding: 8px 0 0;
  border-bottom: none;
}

.wypc-summary.wypc-summary--stationery .wypc-st-trust {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
  font-size: 13px;
  line-height: 1.5;
  color: #4b5563;
}

.wypc-st-trust-title {
  display: block;
  margin-bottom: 8px;
  color: #111827;
}

.wypc-st-trust-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.2em;
}

.wypc-st-trust-list li {
  margin: 4px 0;
}

.wypc-st-trust-list li:empty {
  display: none;
}

.wypc-summary.wypc-summary--stationery .wypc-st-help:empty {
  display: none;
}

.wypc-summary.wypc-summary--stationery .single_add_to_cart_button.wypc-st-add {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  background: #111827;
  color: #fff !important;
  border: 1px solid #0f172a;
  line-height: 1.25;
}

.wypc-summary.wypc-summary--stationery .single_add_to_cart_button.wypc-st-add:hover {
  background: #1f2937;
  border-color: #111827;
  color: #fff !important;
}

.wypc-st-logistics .wypc-logistics-cards {
  margin-top: 12px;
}

.wypc-summary.wypc-summary--stationery {
  position: relative;
  z-index: 2;
}

span.price.wypc-table-priced-placeholder,
.wypc-table-priced-placeholder .woocommerce-Price-amount {
  font-weight: 600;
  color: #475569;
  font-size: 1.05em;
}
