.wpsim-container {
  display: flex;
  min-height: 500px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  max-width: 1200px;
  margin: 0 auto;
}

.wpsim-sidebar {
  width: 252px;
  padding: 30px 22px;
  background: #f8f9fa;
  border-right: 1px solid #e8e8e8;
  flex-shrink: 0;
}

.wpsim-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e8e8e8;
}

.wpsim-brand svg {
  color: #2c2c2c;
}

.wpsim-brand span {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
}

.wpsim-steps {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wpsim-step-line {
  position: absolute;
  left: 15px;
  top: 24px;
  bottom: 24px;
  width: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.wpsim-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 1;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.wpsim-step.active,
.wpsim-step.completed {
  opacity: 1;
}

.wpsim-step.completed .wpsim-step-dot {
  background: #4a9b5e;
  color: #fff;
  border-color: #4a9b5e;
}

.wpsim-step.active .wpsim-step-dot {
  background: #2c2c2c;
  color: #fff;
  border-color: #2c2c2c;
  box-shadow: 0 0 0 4px rgba(44, 44, 44, 0.15);
}

.wpsim-step-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: #888;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.wpsim-step-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 4px;
}

.wpsim-step-title {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.wpsim-step-desc {
  font-size: 12px;
  color: #999;
  line-height: 1.4;
}

.wpsim-main {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.wpsim-panel {
  display: none;
  animation: wpsim-fade-in 0.4s ease;
  flex: 1;
  width: 100%;
}

.wpsim-panel.active {
  display: block !important;
}

@keyframes wpsim-fade-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.wpsim-panel-header {
  margin-bottom: 32px;
}

.wpsim-panel-header h2 {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.wpsim-panel-header p {
  font-size: 14px;
  color: #888;
  margin: 0;
}

.wpsim-warning-box {
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 12px;
  margin-top: 28px;
  border: 1px solid #ffe0b2;
  background: #fff8e1;
}

.wpsim-warning-icon {
  flex-shrink: 0;
  color: #f57c00;
  padding-top: 2px;
}

.wpsim-warning-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #8a6d3b;
  margin-bottom: 4px;
}

.wpsim-warning-content p {
  font-size: 13px;
  color: #a0824a;
  margin: 0;
  line-height: 1.5;
}

.wpsim-info-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #e8f5ec;
  border: 1px solid #c3e6cb;
  color: #2d6a3e;
  font-size: 13px;
  font-weight: 500;
}

.wpsim-info-notice svg {
  flex-shrink: 0;
}

.wpsim-size-selector {
  margin-bottom: 0;
}

.wpsim-size-selector label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #555;
  margin-bottom: 12px;
}

.wpsim-size-options {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.wpsim-size-option {
  cursor: pointer;
}

.wpsim-size-option input[type="radio"] {
  display: none;
}

.wpsim-size-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 24px;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  min-width: 120px;
  transition: all 0.25s ease;
  background: #fff;
}

.wpsim-size-option input:checked + .wpsim-size-card {
  border-color: #2c2c2c;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.wpsim-size-card:hover {
  border-color: #bbb;
  transform: translateY(-2px);
}

.wpsim-size-label {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.wpsim-size-dims {
  font-size: 12px;
  color: #999;
  margin-top: 4px;
}

.wpsim-quantity-control {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 16px;
  justify-content: center;
}

.wpsim-btn-qty {
  width: 48px;
  height: 48px;
  border: 2px solid #e0e0e0;
  background: #fff;
  font-size: 20px;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  margin-left: 10px;
}

.wpsim-illustrative-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  background: #f0f7ff;
  border: 1px solid #0071e3;
  font-size: 13px;
  color: #0071e3;
}

.wpsim-illustrative-notice svg {
  flex-shrink: 0;
  color: #0071e3;
}

.wpsim-btn-qty:first-child {
  border-radius: 12px 0 0 12px;
}

.wpsim-btn-qty:last-child {
  border-radius: 0 12px 12px 0;
}

.wpsim-btn-qty:disabled,
.wpsim-btn-qty.wpsim-qty-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f0f0f0;
  color: #aaa;
}

.wpsim-quantity-control input:disabled,
.wpsim-quantity-control input.wpsim-qty-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f8f8f8;
  color: #aaa;
}

.wpsim-btn-qty:hover {
  background: #f5f5f5;
}

.wpsim-btn-qty:active {
  background: #e8e8e8;
}

.wpsim-quantity-control input {
  width: 100px;
  height: 48px;
  border: 2px solid #e0e0e0;
  border-left: none;
  border-right: none;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  outline: none;
}

.wpsim-price-preview {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 20px 24px;
  border: 1px solid #e8e8e8;
  margin-top: 0;
}

.wpsim-price-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #eee;
}

.wpsim-price-row:last-child {
  border-bottom: none;
}

.wpsim-price-row.total {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1a;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid #ddd;
}

.wpsim-option-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.wpsim-option-card {
  cursor: pointer;
  position: relative;
}

.wpsim-option-card input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.wpsim-option-content {
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.25s ease;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.wpsim-option-card input:checked + .wpsim-option-content {
  border-color: #2c2c2c;
  background: #fafafa;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.wpsim-option-content:hover {
  border-color: #bbb;
  transform: translateY(-2px);
}

.wpsim-option-preview {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  margin-bottom: 16px;
  background: #f0f0f0;
}

.wpsim-option-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wpsim-preview-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.wpsim-glossy-effect {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3) 0%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  mix-blend-mode: overlay;
}

.wpsim-matte-effect {
  background: rgba(0, 0, 0, 0.08);
  filter: contrast(0.95) saturate(0.9);
}

.wpsim-has-border {
  padding: 12px;
  background: #fff;
}

.wpsim-white-border {
  position: absolute;
  inset: 8px;
  border: 4px solid #fff;
  border-radius: 4px;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.wpsim-option-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.wpsim-option-desc {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
}

.wpsim-option-price {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #4a9b5e;
  margin-top: 4px;
}

.wpsim-summary {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 28px;
  border: 1px solid #e8e8e8;
}

.wpsim-summary-details {
  margin-bottom: 20px;
}

.wpsim-summary-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #eee;
}

.wpsim-summary-row.total {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  border-top: 2px solid #ddd;
  border-bottom: none;
  margin-top: 8px;
  padding-top: 16px;
}

.wpsim-checkout-summary {
  width: min(100%, 480px);
  margin: 0 0 24px;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.09);
}

.wpsim-checkout-summary-title {
  padding: 18px 20px;
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 800;
  border-bottom: 1px solid #e8e8e8;
}

.wpsim-checkout-lines {
  padding: 14px 20px 6px;
}

.wpsim-checkout-line,
.wpsim-checkout-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: #232323;
  font-size: 16px;
  line-height: 1.35;
}

.wpsim-checkout-line {
  padding: 6px 0;
}

.wpsim-checkout-line strong,
.wpsim-checkout-total strong {
  color: #111;
  font-weight: 700;
  white-space: nowrap;
}

.wpsim-checkout-discount,
.wpsim-checkout-discount strong {
  color: #00a650;
}

.wpsim-checkout-total {
  margin: 8px 20px 0;
  padding: 18px 0 20px;
  border-top: 1px solid #e8e8e8;
  font-size: 19px;
  font-weight: 800;
}

.wpsim-checkout-total strong {
  font-size: 22px;
  letter-spacing: 0;
}

.wpsim-checkout-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 20px 20px;
}

.wpsim-checkout-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  color: #5f6368;
  font-size: 12px;
  font-weight: 600;
  background: #f5f5f7;
  border: 1px solid #ececf0;
  border-radius: 999px;
}

.wpsim-pack-summary-compact {
  width: min(100%, 480px);
  margin-bottom: 12px;
  background: #fff;
  border: 1px solid #e9e9ec;
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
}

.wpsim-pack-summary-compact .wpsim-checkout-meta {
  padding: 0 16px 16px;
}

.wpsim-user-info,
.wpsim-login-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
}

.wpsim-user-info {
  background: #e8f5ec;
  color: #2d6a3e;
}

.wpsim-login-notice {
  background: #fff8e1;
  color: #8a6d3b;
  flex-wrap: wrap;
}

.wpsim-btn-link {
  color: #2c5aa0;
  text-decoration: underline;
  font-weight: 500;
}

.wpsim-nav {
  display: flex;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.wpsim-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.wpsim-btn-primary {
  background: #2c2c2c;
  color: #fff;
}

.wpsim-btn-primary:hover {
  background: #444;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.wpsim-btn-secondary {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

.wpsim-btn-secondary:hover {
  background: #eee;
}

.wpsim-btn-success {
  background: #4a9b5e;
  color: #fff;
}

.wpsim-btn-success:hover {
  background: #3d8b50;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(74, 155, 94, 0.25);
}

.wpsim-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 10;
}

.wpsim-alert-error {
  background: #fff5f5;
  color: #c44;
  border: 1px solid #ffcccc;
}

.wpsim-alert-warning {
  background: #fff8e1;
  color: #8a6d3b;
  border: 1px solid #ffe0b2;
}

.wpsim-alert-success {
  background: #f0f9f4;
  color: #2d6a3e;
  border: 1px solid #c3e6cb;
}

.wpsim-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: wpsim-spin 0.8s linear infinite;
}

@keyframes wpsim-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .wpsim-container {
    flex-direction: column;
    border-radius: 0;
    margin: 0;
    min-height: auto;
  }

  .wpsim-sidebar {
    width: 100%;
    padding: 15px 5px;
    border-right: none;
    border-bottom: 1px solid #e8e8e8;
  }

  .wpsim-steps {
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
  }

  .wpsim-step-line {
    display: none;
  }

  .wpsim-step {
    flex-direction: column;
    align-items: center;
    min-width: 70px;
  }

  .wpsim-step-info {
    align-items: center;
    text-align: center;
    padding-top: 0;
  }

  .wpsim-step-desc {
    display: none;
  }

  .wpsim-main {
    padding: 24px;
  }

  .wpsim-option-cards {
    grid-template-columns: 1fr;
  }

  .wpsim-size-options {
    justify-content: center;
  }

  .wpsim-nav {
    flex-direction: column;
    gap: 12px;
  }

  .wpsim-nav .wpsim-btn {
    width: 100%;
    justify-content: center;
  }

  .wpsim-quantity-control input {
    width: 80px;
  }
}

.wpsim-container.wpsim-dark {
  background: #1a1a1a;
  color: #e0e0e0;
}

.wpsim-container.wpsim-dark .wpsim-sidebar {
  background: #242424;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-brand span,
.wpsim-container.wpsim-dark .wpsim-panel-header h2 {
  color: #fff;
}

.wpsim-container.wpsim-dark .wpsim-panel-header p,
.wpsim-container.wpsim-dark .wpsim-step-desc {
  color: #888;
}

.wpsim-container.wpsim-dark .wpsim-size-card,
.wpsim-container.wpsim-dark .wpsim-option-content {
  background: #2a2a2a;
  border-color: #333;
  color: #e0e0e0;
}

.wpsim-container.wpsim-dark .wpsim-summary,
.wpsim-container.wpsim-dark .wpsim-price-preview {
  background: #242424;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-option-preview {
  background: #333;
}

.wpsim-container.wpsim-dark .wpsim-white-border {
  border-color: #f0f0f0;
}

.wpsim-container.wpsim-dark .wpsim-warning-box {
  background: #2a2520;
  border-color: #5a4a30;
}

.wpsim-container.wpsim-dark .wpsim-info-notice {
  background: #1a2a1f;
  border-color: #2d4a35;
}

.wpsim-container.wpsim-dark .wpsim-quantity-control input,
.wpsim-container.wpsim-dark .wpsim-btn-qty {
  border-color: #444;
  background: #2a2a2a;
  color: #e0e0e0;
}

.wpsim-pack-indicator {
  margin-bottom: 20px;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  text-align: center;
}

.wpsim-pack-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.wpsim-pack-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.wpsim-pack-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #e0e0e0;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  transition: all 0.3s ease;
}

.wpsim-pack-dot.active {
  background: #2c2c2c;
  border-color: #2c2c2c;
  color: #fff;
  box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.15);
}

.wpsim-pack-dot.completed {
  background: #4a9b5e;
  border-color: #4a9b5e;
  color: #fff;
}

.wpsim-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid #e8e8e8;
}

.wpsim-nav-left,
.wpsim-nav-right {
  display: flex;
  gap: 10px;
  align-items: center;
}

.wpsim-btn-accent {
  background: #f57c00;
  color: #fff;
}

.wpsim-btn-accent:hover {
  background: #e66a00;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 124, 0, 0.25);
}

.wpsim-pack-summary {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}

.wpsim-pack-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f8f9fa;
  border-bottom: 1px solid #e8e8e8;
}

.wpsim-pack-summary-number {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.wpsim-pack-summary-total {
  font-size: 16px;
  font-weight: 700;
  color: #4a9b5e;
}

.wpsim-pack-summary-details {
  padding: 12px 18px;
}

.wpsim-pack-summary-details .wpsim-summary-row {
  padding: 6px 0;
  font-size: 13px;
}

.wpsim-grand-total {
  margin-top: 16px;
  background: #2c2c2c;
  border-color: #2c2c2c;
  color: #fff;
}

.wpsim-grand-total .wpsim-summary-row {
  color: #fff;
  border-bottom-color: #444;
}

.wpsim-grand-total .wpsim-summary-row.total {
  color: #fff;
  border-top-color: #444;
}

.wpsim-upload-info-box {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: 12px;
  margin-top: 24px;
  margin-bottom: 20px;
  border: 1px solid #cce0ff;
  background: #f0f7ff;
}

.wpsim-upload-info-icon {
  flex-shrink: 0;
  color: #2c5aa0;
  padding-top: 2px;
}

.wpsim-upload-info-content strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2c5aa0;
  margin-bottom: 8px;
}

.wpsim-upload-info-content p {
  font-size: 13px;
  color: #5a7db0;
  margin: 0 0 8px 0;
}

.wpsim-upload-info-content ol {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: #5a7db0;
  line-height: 1.8;
}

.wpsim-upload-info-content ol li strong {
  display: inline;
  color: #2c5aa0;
}

.wpsim-container.wpsim-dark .wpsim-pack-indicator {
  background: #2a2a2a;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-pack-dot {
  background: #333;
  border-color: #444;
  color: #888;
}

.wpsim-container.wpsim-dark .wpsim-pack-dot.active {
  background: #fff;
  border-color: #fff;
  color: #1a1a1a;
}

.wpsim-container.wpsim-dark .wpsim-pack-summary {
  background: #2a2a2a;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-pack-summary-header {
  background: #242424;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-pack-summary-number {
  color: #e0e0e0;
}

.wpsim-container.wpsim-dark .wpsim-grand-total {
  background: #fff;
  border-color: #fff;
}

.wpsim-container.wpsim-dark .wpsim-grand-total .wpsim-summary-row {
  color: #1a1a1a;
  border-bottom-color: #ddd;
}

.wpsim-container.wpsim-dark .wpsim-grand-total .wpsim-summary-row.total {
  color: #1a1a1a;
  border-top-color: #ddd;
}

.wpsim-container.wpsim-dark .wpsim-upload-info-box {
  background: #1a2535;
  border-color: #2a3a50;
}

.wpsim-container.wpsim-dark .wpsim-upload-info-content strong,
.wpsim-container.wpsim-dark .wpsim-upload-info-content ol li strong {
  color: #7ab8ff;
}

.wpsim-container.wpsim-dark .wpsim-upload-info-content p,
.wpsim-container.wpsim-dark .wpsim-upload-info-content ol {
  color: #8ab4e0;
}

@media (max-width: 768px) {
  .wpsim-nav {
    flex-direction: column;
    gap: 12px;
  }

  .wpsim-nav-left,
  .wpsim-nav-right {
    width: 100%;
    justify-content: center;
  }

  .wpsim-nav .wpsim-btn {
    width: 100%;
    justify-content: center;
  }

  .wpsim-pack-indicator {
    padding: 8px;
  }

  .wpsim-pack-dots {
    gap: 6px;
  }

  .wpsim-pack-dot {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }
}

.wpsim-price-table-wrap {
  margin: 20px 0;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}

.wpsim-price-table-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: #f0f7ff;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  font-weight: 600;
  color: #2c5aa0;
}

.wpsim-price-table-header svg {
  flex-shrink: 0;
  color: #2c5aa0;
}

.wpsim-price-table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wpsim-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  min-width: 400px;
}

.wpsim-price-table thead th {
  background: #f8f9fa;
  padding: 12px 14px;
  text-align: center;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  white-space: nowrap;
}

.wpsim-price-table thead th:first-child {
  text-align: left;
  min-width: 140px;
}

.wpsim-price-table tbody tr {
  transition: all 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
}

.wpsim-price-table tbody tr:last-child {
  border-bottom: none;
}

.wpsim-price-table tbody tr:hover {
  background: #f8f9fa;
}

.wpsim-price-table tbody tr.wpsim-row-active {
  background: #e8f5ec;
  border-left: 3px solid #4a9b5e;
}

.wpsim-price-table tbody tr.wpsim-row-active .wpsim-range-label {
  color: #2d6a3e;
  font-weight: 600;
}

.wpsim-price-table tbody td.wpsim-cell-active {
  background: #d4edda;
  color: #155724;
  font-weight: 700;
}

.wpsim-price-table tbody td {
  padding: 10px 14px;
  text-align: center;
  color: #555;
  transition: all 0.2s ease;
}

.wpsim-price-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #333;
}

.wpsim-price-table tbody td small {
  font-size: 11px;
  color: #888;
  font-weight: 400;
}

.wpsim-price-table tbody td.wpsim-col-highlight {
  background: #fff8e1;
}

.wpsim-container.wpsim-dark .wpsim-price-table-wrap {
  background: #2a2a2a;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-price-table-header {
  background: #1a2535;
  border-color: #333;
  color: #7ab8ff;
}

.wpsim-container.wpsim-dark .wpsim-price-table thead th {
  background: #242424;
  color: #e0e0e0;
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody tr {
  border-color: #333;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody tr:hover {
  background: #333;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody tr.wpsim-row-active {
  background: #1a2a1f;
  border-left-color: #4a9b5e;
}

.wpsim-container.wpsim-dark
  .wpsim-price-table
  tbody
  tr.wpsim-row-active
  .wpsim-range-label {
  color: #7dd87d;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody td.wpsim-cell-active {
  background: #2d4a35;
  color: #7dd87d;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody td {
  color: #bbb;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody td:first-child {
  color: #e0e0e0;
}

.wpsim-container.wpsim-dark .wpsim-price-table tbody td small {
  color: #888;
}

@media (max-width: 768px) {
  .wpsim-price-table {
    font-size: 12px;
  }

  .wpsim-price-table thead th,
  .wpsim-price-table tbody td {
    padding: 8px 10px;
  }

  .wpsim-price-table thead th:first-child {
    min-width: 110px;
  }
}

.wpsim-price-table .wpsim-col-size {
  display: none;
}

.wpsim-price-table.wpsim-has-active-size .wpsim-col-size {
  display: table-cell;
}

.wpsim-price-table.wpsim-has-active-size
  .wpsim-col-size:not(.wpsim-col-active) {
  display: none;
}

.wpsim-price-table .wpsim-col-size.wpsim-col-active {
  display: table-cell;
}

.wpsim-price-table.wpsim-has-active-size tbody td.wpsim-col-highlight {
  background: transparent;
}

.wpsim-limit-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 12px 0 8px;
  flex-wrap: wrap;
}

.wpsim-limit-text {
  font-size: 12px;
  color: #888;
  font-weight: 500;
}

.wpsim-btn-limit-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px dashed #f57c00;
  background: #fff8e1;
  color: #f57c00;
}

.wpsim-btn-limit-toggle:hover {
  background: #ffe0b2;
  border-style: solid;
}

.wpsim-btn-limit-toggle.wpsim-btn-active {
  background: #4a9b5e;
  border-color: #4a9b5e;
  color: #fff;
  cursor: default;
}

.wpsim-btn-limit-toggle svg {
  flex-shrink: 0;
}

.wpsim-plus250-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  margin: 12px 0;
  background: #fff8e1;
  border: 1px solid #ffe0b2;
  color: #8a6d3b;
  font-size: 13px;
  font-weight: 500;
  animation: wpsim-fade-in 0.3s ease;
}

.wpsim-plus250-notice svg {
  flex-shrink: 0;
  color: #f57c00;
}

.wpsim-row-plus250 {
  background: #fff8e1;
  border-left: 3px solid #f57c00;
}

.wpsim-row-plus250 .wpsim-range-label {
  color: #8a6d3b;
  font-weight: 600;
}

.wpsim-plus-badge {
  display: inline-block;
  background: #f57c00;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  margin-right: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wpsim-row-plus-active {
  background: #ffe0b2 !important;
  border-left: 3px solid #f57c00 !important;
}

.wpsim-row-plus-active .wpsim-range-label {
  color: #8a6d3b;
  font-weight: 700;
}

.wpsim-row-plus-active td.wpsim-cell-active {
  background: #ffe0b2;
  color: #8a6d3b;
  font-weight: 700;
}

.wpsim-container.wpsim-dark .wpsim-limit-text {
  color: #888;
}

.wpsim-container.wpsim-dark .wpsim-btn-limit-toggle {
  background: #2a2520;
  border-color: #f57c00;
  color: #ffb74d;
}

.wpsim-container.wpsim-dark .wpsim-btn-limit-toggle:hover {
  background: #3a3025;
}

.wpsim-container.wpsim-dark .wpsim-btn-limit-toggle.wpsim-btn-active {
  background: #4a9b5e;
  border-color: #4a9b5e;
  color: #fff;
}

.wpsim-container.wpsim-dark .wpsim-plus250-notice {
  background: #2a2520;
  border-color: #5a4a30;
  color: #d4a76a;
}

.wpsim-container.wpsim-dark .wpsim-plus250-notice svg {
  color: #ffb74d;
}

.wpsim-container.wpsim-dark .wpsim-row-plus250 {
  background: #2a2520;
  border-left-color: #f57c00;
}

.wpsim-container.wpsim-dark .wpsim-row-plus250 .wpsim-range-label {
  color: #d4a76a;
}

.wpsim-container.wpsim-dark .wpsim-row-plus-active {
  background: #3a3025 !important;
  border-left-color: #f57c00 !important;
}

.wpsim-container.wpsim-dark .wpsim-row-plus-active .wpsim-range-label {
  color: #ffb74d;
}

.wpsim-container.wpsim-dark .wpsim-row-plus-active td.wpsim-cell-active {
  background: #3a3025;
  color: #ffb74d;
}

@media (max-width: 768px) {
  .wpsim-limit-toggle {
    flex-direction: column;
    gap: 8px;
  }

  .wpsim-btn-limit-toggle {
    width: 100%;
    justify-content: center;
  }
}

.wpsim-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.wpsim-modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 32px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  animation: wpsim-modal-in 0.3s ease;
}

@keyframes wpsim-modal-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wpsim-modal-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.wpsim-modal-icon svg {
  animation: wpsim-icon-pop 0.4s ease 0.15s both;
}

@keyframes wpsim-icon-pop {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.wpsim-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px 0;
}

.wpsim-modal-text {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.wpsim-modal-redirect {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  margin: 0 0 24px 0;
  background: #f0f7ff;
  border: 1px solid #cce0ff;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #2c5aa0;
  animation: wpsim-fade-in 0.4s ease 0.2s both;
  text-align: left;
}

.wpsim-modal-redirect svg {
  flex-shrink: 0;
  color: #2c5aa0;
}

.wpsim-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.wpsim-modal-actions .wpsim-btn {
  padding: 12px 32px;
  font-size: 15px;
  font-weight: 600;
}

.wpsim-paper-info-banner {
  display: flex;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  background: #f0f7ff;
  border: 1px solid #cce0ff;
  align-items: flex-start;
}

.wpsim-paper-info-icon {
  flex-shrink: 0;
  color: #2c5aa0;
  padding-top: 2px;
}

.wpsim-paper-info-content p {
  font-size: 13px;
  color: #2c5aa0;
  margin: 0;
  line-height: 1.5;
  font-weight: 500;
}

.wpsim-container.wpsim-dark ~ .wpsim-modal-overlay .wpsim-modal-box {
  background: #2a2a2a;
}

.wpsim-container.wpsim-dark ~ .wpsim-modal-overlay .wpsim-modal-title {
  color: #fff;
}

.wpsim-container.wpsim-dark ~ .wpsim-modal-overlay .wpsim-modal-text {
  color: #aaa;
}

.wpsim-container.wpsim-dark ~ .wpsim-modal-overlay .wpsim-modal-redirect {
  background: #1a2535;
  border-color: #2a3a50;
  color: #7ab8ff;
}

.wpsim-container.wpsim-dark ~ .wpsim-modal-overlay .wpsim-modal-redirect svg {
  color: #7ab8ff;
}

@media (max-width: 768px) {
  .wpsim-modal-box {
    padding: 32px 24px 24px;
    max-width: 100%;
  }

  .wpsim-modal-title {
    font-size: 18px;
  }

  .wpsim-modal-actions .wpsim-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .wpsim-paper-info-banner {
    padding: 12px;
  }

  .wpsim-paper-info-content p {
    font-size: 12px;
  }

  .wpsim-illustrative-notice {
    padding: 10px 12px;
    font-size: 12px;
  }
}

/* ============================================
   PROMOTIONAL MODAL
   ============================================ */

.wpsim-promo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.wpsim-promo-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  animation: wpsim-promo-backdrop-in 0.3s ease forwards;
}

@keyframes wpsim-promo-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.wpsim-promo-modal-box {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 480px;
  background: linear-gradient(
    145deg,
    #ff6b35 0%,
    #f7931e 30%,
    #ffd23f 60%,
    #f7931e 90%,
    #ff6b35 100%
  );
  background-size: 300% 300%;
  animation: wpsim-promo-modal-gradient 4s ease infinite;
  border-radius: 24px;
  overflow: hidden;
  box-shadow:
    0 25px 80px rgba(255, 107, 53, 0.45),
    0 0 120px rgba(255, 179, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.35);
  transform: scale(0.85) translateY(30px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wpsim-promo-modal-box.wpsim-promo-modal-active {
  transform: scale(1) translateY(0);
  opacity: 1;
}

@keyframes wpsim-promo-modal-gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.wpsim-promo-modal-glow {
  position: absolute;
  inset: -2px;
  border-radius: 26px;
  background: linear-gradient(45deg, #ff6b35, #ffd23f, #ff6b35, #ffd23f);
  background-size: 400% 400%;
  animation: wpsim-promo-modal-glow 3s linear infinite;
  z-index: -1;
  filter: blur(12px);
  opacity: 0.6;
}

@keyframes wpsim-promo-modal-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.wpsim-promo-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}

.wpsim-promo-modal-close:hover {
  background: rgba(255, 255, 255, 0.45);
  transform: rotate(90deg) scale(1.1);
}

.wpsim-promo-modal-close svg {
  width: 16px;
  height: 16px;
}

.wpsim-promo-modal-content {
  position: relative;
  z-index: 2;
  padding: 36px 32px 32px;
  text-align: center;
}

.wpsim-promo-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  color: #e65100;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 6px 18px;
  border-radius: 30px;
  margin-bottom: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  animation: wpsim-promo-modal-badge-pulse 1.4s ease-in-out infinite;
}

@keyframes wpsim-promo-modal-badge-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: scale(1.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  }
}

.wpsim-promo-modal-badge-icon {
  font-size: 14px;
}

.wpsim-promo-modal-title {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 4px;
  line-height: 1.2;
}

.wpsim-promo-modal-divider {
  width: 60px;
  height: 3px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  margin: 14px auto;
}

.wpsim-promo-modal-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.65;
  margin-bottom: 12px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
}

.wpsim-promo-modal-text strong {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.25);
}

.wpsim-promo-modal-savings {
  display: inline-block;
  background: rgba(0, 0, 0, 0.25);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.wpsim-promo-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.wpsim-promo-modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #e65100;
  font-size: 13px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  width: 100%;
  max-width: 320px;
}

.wpsim-promo-modal-cta:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
  background: #fff8f0;
}

.wpsim-promo-modal-cta:active {
  transform: translateY(-1px) scale(0.98);
}

.wpsim-promo-modal-cta-icon {
  font-size: 20px;
  animation: wpsim-promo-modal-rocket 1s ease-in-out infinite;
}

@keyframes wpsim-promo-modal-rocket {
  0%,
  100% {
    transform: translateY(0) rotate(-5deg);
  }
  50% {
    transform: translateY(-4px) rotate(5deg);
  }
}

.wpsim-promo-modal-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
}

.wpsim-promo-modal-secondary:hover {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

/* Confetti Particles in Modal */
.wpsim-promo-modal-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
}

.wpsim-promo-modal-particle {
  position: absolute;
  top: -10px;
  border-radius: 50%;
  opacity: 0.95;
  animation: wpsim-promo-modal-fall linear forwards;
}

@keyframes wpsim-promo-modal-fall {
  0% {
    transform: translateY(0) rotate(0deg) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(320px) rotate(1080deg) scale(0.2);
    opacity: 0;
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .wpsim-promo-modal {
    padding: 16px;
    align-items: flex-end;
  }

  .wpsim-promo-modal-box {
    max-width: 100%;
    border-radius: 20px;
  }

  .wpsim-promo-modal-content {
    padding: 28px 20px 24px;
  }

  .wpsim-promo-modal-title {
    font-size: 22px;
  }

  .wpsim-promo-modal-text {
    font-size: 14px;
  }

  .wpsim-promo-modal-cta {
    font-size: 14px;
    padding: 12px 24px;
    max-width: 100%;
  }

  .wpsim-promo-modal-savings {
    font-size: 12px;
    padding: 6px 14px;
  }

  .wpsim-promo-modal-badge {
    font-size: 10px;
    padding: 5px 14px;
  }
}

/* ============================================
   PROMOTIONAL MODAL - LOCKED STATE (5s delay)
   ============================================ */

/* When locked, the entire modal container ignores pointer events */
.wpsim-promo-modal.wpsim-promo-locked {
  pointer-events: none !important;
}

/* BUT the modal box itself and its children re-enable pointer events */
.wpsim-promo-modal.wpsim-promo-locked .wpsim-promo-modal-box,
.wpsim-promo-modal.wpsim-promo-locked .wpsim-promo-modal-content,
.wpsim-promo-modal.wpsim-promo-locked .wpsim-promo-modal-cta,
.wpsim-promo-modal.wpsim-promo-locked .wpsim-promo-modal-secondary {
  pointer-events: auto !important;
}

/* Countdown indicator at the bottom of modal */
.wpsim-promo-modal-countdown {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  letter-spacing: 0.5px;
}

.wpsim-promo-modal.wpsim-promo-locked .wpsim-promo-modal-countdown {
  opacity: 1;
}

@media (max-width: 768px) {
  .wpsim-promo-modal-countdown {
    bottom: 8px;
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* ============================================
   MODERN PUBLIC UI REFRESH
   ============================================ */

.wpsim-container {
  --wpsim-ink: #17202a;
  --wpsim-muted: #667085;
  --wpsim-soft: #f6f7f9;
  --wpsim-line: #e5e7eb;
  --wpsim-accent: #2563eb;
  --wpsim-accent-soft: #eff6ff;
  --wpsim-success: #16804f;
  --wpsim-success-soft: #ecfdf3;
  --wpsim-warn: #b45309;
  --wpsim-warn-soft: #fff7ed;
  width: min(100%, 1180px);
  min-height: 620px;
  border: 1px solid var(--wpsim-line);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(15, 23, 42, 0.08);
  color: var(--wpsim-ink);
  overflow: hidden;
}

.wpsim-sidebar {
  width: 260px;
  padding: 28px 22px;
  background: #fbfcfe;
  border-right: 1px solid var(--wpsim-line);
}

.wpsim-pack-indicator {
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border-color: var(--wpsim-line);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wpsim-pack-label {
  color: var(--wpsim-muted);
  letter-spacing: 0;
}

.wpsim-pack-dot {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border-color: var(--wpsim-line);
  background: var(--wpsim-soft);
  color: var(--wpsim-muted);
}

.wpsim-pack-dot.active {
  background: var(--wpsim-ink);
  border-color: var(--wpsim-ink);
  box-shadow: 0 0 0 3px rgba(23, 32, 42, 0.12);
}

.wpsim-pack-dot.completed {
  background: var(--wpsim-success);
  border-color: var(--wpsim-success);
}

.wpsim-steps {
  gap: 16px;
}

.wpsim-step-line {
  left: 17px;
  top: 18px;
  bottom: 18px;
  background: var(--wpsim-line);
}

.wpsim-step {
  gap: 12px;
  opacity: 1;
  padding: 8px;
  border-radius: 8px;
}

.wpsim-step:hover {
  background: #fff;
}

.wpsim-step-dot {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border-color: var(--wpsim-line);
  background: #fff;
  color: var(--wpsim-muted);
}

.wpsim-step.active .wpsim-step-dot {
  background: var(--wpsim-ink);
  border-color: var(--wpsim-ink);
  box-shadow: 0 0 0 3px rgba(23, 32, 42, 0.12);
}

.wpsim-step.completed .wpsim-step-dot {
  background: var(--wpsim-success);
  border-color: var(--wpsim-success);
}

.wpsim-step-title {
  font-size: 13px;
  color: var(--wpsim-ink);
}

.wpsim-step-desc {
  color: var(--wpsim-muted);
}

.wpsim-main {
  padding: 36px;
  background: #fff;
}

.wpsim-panel-header {
  max-width: 720px;
  margin-bottom: 24px;
}

.wpsim-panel-header h2 {
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--wpsim-ink);
  margin-bottom: 7px;
}

.wpsim-panel-header p {
  max-width: 620px;
  color: var(--wpsim-muted);
  line-height: 1.55;
}

.wpsim-size-selector label,
.wpsim-price-table-header,
.wpsim-preview-label {
  color: var(--wpsim-ink);
}

.wpsim-size-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
}

.wpsim-size-card,
.wpsim-option-content,
.wpsim-summary,
.wpsim-price-preview,
.wpsim-price-table-wrap,
.wpsim-pack-summary {
  border: 1px solid var(--wpsim-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wpsim-size-card {
  min-width: 0;
  padding: 18px 16px;
  align-items: flex-start;
}

.wpsim-size-label {
  font-size: 15px;
  color: var(--wpsim-ink);
}

.wpsim-size-option input:checked + .wpsim-size-card,
.wpsim-option-card input:checked + .wpsim-option-content {
  border-color: var(--wpsim-ink);
  background: #fbfcfe;
  box-shadow: 0 0 0 3px rgba(23, 32, 42, 0.08);
}

.wpsim-size-card:hover,
.wpsim-option-content:hover {
  border-color: #c7ccd4;
  transform: translateY(-1px);
}

.wpsim-warning-box,
.wpsim-paper-info-banner,
.wpsim-illustrative-notice,
.wpsim-info-notice,
.wpsim-plus250-notice,
.wpsim-upload-info-box,
.wpsim-login-notice,
.wpsim-user-info {
  border-radius: 8px;
  line-height: 1.5;
}

.wpsim-warning-box,
.wpsim-plus250-notice {
  background: var(--wpsim-warn-soft);
  border-color: #fed7aa;
  color: var(--wpsim-warn);
}

.wpsim-warning-icon,
.wpsim-plus250-notice svg {
  color: var(--wpsim-warn);
}

.wpsim-warning-content strong {
  color: #7c2d12;
}

.wpsim-warning-content p {
  color: var(--wpsim-warn);
}

.wpsim-paper-info-banner,
.wpsim-upload-info-box,
.wpsim-price-table-header {
  background: var(--wpsim-accent-soft);
  border-color: #bfdbfe;
}

.wpsim-paper-info-icon,
.wpsim-upload-info-icon,
.wpsim-price-table-header svg,
.wpsim-paper-info-content p,
.wpsim-upload-info-content strong,
.wpsim-upload-info-content p,
.wpsim-upload-info-content ol,
.wpsim-upload-info-content ol li strong,
.wpsim-price-table-header {
  color: #1d4ed8;
}

.wpsim-info-notice,
.wpsim-user-info {
  background: var(--wpsim-success-soft);
  border-color: #bbf7d0;
  color: var(--wpsim-success);
}

.wpsim-illustrative-notice {
  background: var(--wpsim-soft);
  border-color: var(--wpsim-line);
  color: var(--wpsim-muted);
}

.wpsim-panel[data-panel="1"] .wpsim-warning-box,
.wpsim-panel[data-panel="1"] .wpsim-paper-info-banner {
  margin-top: 16px;
  margin-bottom: 0;
}

.wpsim-panel[data-panel="1"] br {
  display: none;
}

.wpsim-quantity-control {
  justify-content: flex-start;
  margin: 8px 0 18px;
}

.wpsim-btn-qty {
  width: 50px;
  height: 50px;
  margin-left: 0;
  border: 1px solid var(--wpsim-line);
  color: var(--wpsim-ink);
}

.wpsim-quantity-control input {
  width: 118px;
  height: 50px;
  border: 1px solid var(--wpsim-line);
  border-left: 0;
  border-right: 0;
  font-size: 20px;
  color: var(--wpsim-ink);
}

.wpsim-price-preview {
  max-width: 460px;
  padding: 18px 20px;
  background: #fbfcfe;
}

.wpsim-price-row {
  color: var(--wpsim-muted);
}

.wpsim-price-row.total {
  color: var(--wpsim-ink);
  border-top-color: var(--wpsim-line);
}

.wpsim-option-cards {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.wpsim-option-content {
  align-items: stretch;
  padding: 14px;
  text-align: left;
}

.wpsim-option-preview {
  border-radius: 8px;
  margin-bottom: 14px;
}

.wpsim-option-title {
  color: var(--wpsim-ink);
}

.wpsim-option-desc {
  color: var(--wpsim-muted);
  line-height: 1.45;
}

.wpsim-summary {
  padding: 22px;
  background: #fbfcfe;
}

.wpsim-summary-row {
  gap: 18px;
  color: var(--wpsim-muted);
}

.wpsim-summary-row span:last-child {
  color: var(--wpsim-ink);
  font-weight: 600;
  text-align: right;
}

.wpsim-summary-row.total span:last-child {
  font-size: 22px;
}

.wpsim-upload-info-box {
  margin-top: 18px;
  padding: 18px;
}

.wpsim-upload-info-content ol {
  padding-left: 20px;
}

.wpsim-nav {
  margin-top: 30px;
  padding-top: 22px;
  border-top-color: var(--wpsim-line);
}

.wpsim-btn {
  min-height: 44px;
  border-radius: 8px;
  padding: 11px 18px;
  font-weight: 650;
}

.wpsim-btn-primary {
  background: var(--wpsim-ink);
}

.wpsim-btn-primary:hover {
  background: #263241;
}

.wpsim-btn-success {
  background: var(--wpsim-success);
}

.wpsim-btn-success:hover {
  background: #11643e;
}

.wpsim-btn-accent {
  background: var(--wpsim-accent);
}

.wpsim-btn-accent:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
}

.wpsim-btn-secondary {
  background: #fff;
  color: var(--wpsim-ink);
  border-color: var(--wpsim-line);
}

.wpsim-alert {
  border-radius: 8px;
  line-height: 1.45;
}

.wpsim-price-table-wrap {
  overflow: hidden;
  margin: 18px 0;
}

.wpsim-price-table thead th {
  background: #fbfcfe;
}

.wpsim-price-table tbody tr.wpsim-row-active,
.wpsim-price-table tbody td.wpsim-cell-active {
  background: var(--wpsim-success-soft);
  color: var(--wpsim-success);
}

.wpsim-row-plus250,
.wpsim-row-plus-active,
.wpsim-row-plus-active td.wpsim-cell-active {
  background: var(--wpsim-warn-soft) !important;
  color: var(--wpsim-warn);
}

.wpsim-plus-badge {
  background: var(--wpsim-warn);
  letter-spacing: 0;
}

.wpsim-promo-modal-backdrop {
  background: rgba(15, 23, 42, 0.58);
}

.wpsim-promo-modal-box {
  max-width: 460px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.wpsim-promo-modal-glow {
  opacity: 0.35;
  filter: blur(18px);
}

.wpsim-promo-modal-content {
  padding: 30px 28px 28px;
}

.wpsim-promo-modal-badge {
  background: var(--wpsim-accent-soft);
  color: #1d4ed8;
  border-radius: 8px;
  box-shadow: none;
  letter-spacing: 0;
  animation: none;
}

.wpsim-promo-modal-title {
  color: var(--wpsim-ink);
  text-shadow: none;
  font-size: 24px;
}

.wpsim-promo-modal-divider {
  background: var(--wpsim-line);
}

.wpsim-promo-modal-text,
.wpsim-promo-modal-text strong {
  color: var(--wpsim-muted);
  text-shadow: none;
}

.wpsim-promo-modal-text strong {
  color: var(--wpsim-ink);
}

.wpsim-promo-modal-savings {
  background: #fbfcfe;
  color: var(--wpsim-ink);
  border: 1px solid var(--wpsim-line);
  border-radius: 8px;
  backdrop-filter: none;
}

.wpsim-promo-modal-cta {
  border-radius: 8px;
  background: var(--wpsim-ink);
  color: #fff;
  text-transform: none;
  letter-spacing: 0;
  box-shadow: none;
}

.wpsim-promo-modal-cta:hover {
  background: #263241;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

.wpsim-promo-modal-secondary {
  color: var(--wpsim-muted);
  border-bottom-color: transparent;
}

.wpsim-promo-modal-secondary:hover {
  color: var(--wpsim-ink);
  border-bottom-color: var(--wpsim-line);
}

.wpsim-promo-modal-cta:disabled,
.wpsim-promo-modal-secondary:disabled {
  cursor: wait;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.wpsim-promo-modal-cta:disabled:hover {
  background: var(--wpsim-ink);
  transform: none;
  box-shadow: none;
}

.wpsim-promo-modal-secondary:disabled:hover {
  color: var(--wpsim-muted);
  border-bottom-color: transparent;
}

.wpsim-promo-modal-nudge {
  animation: wpsim-promo-modal-nudge 0.26s ease;
}

@keyframes wpsim-promo-modal-nudge {
  0%,
  100% {
    transform: scale(1) translateX(0);
  }
  25% {
    transform: scale(1) translateX(-5px);
  }
  75% {
    transform: scale(1) translateX(5px);
  }
}

.wpsim-promo-modal-countdown {
  background: rgba(15, 23, 42, 0.72);
  letter-spacing: 0;
}

@media (max-width: 768px) {
  .wpsim-container {
    border-radius: 8px;
    min-height: auto;
  }

  .wpsim-sidebar {
    padding: 16px;
  }

  .wpsim-steps {
    gap: 8px;
  }

  .wpsim-step {
    min-width: 76px;
    padding: 6px;
  }

  .wpsim-main {
    padding: 22px 18px;
  }

  .wpsim-panel-header h2 {
    font-size: 22px;
  }

  .wpsim-size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wpsim-quantity-control {
    justify-content: center;
  }

  .wpsim-price-preview {
    max-width: none;
  }

  .wpsim-nav-left,
  .wpsim-nav-right {
    gap: 8px;
  }

  .wpsim-promo-modal {
    align-items: center;
  }
}

@media (max-width: 480px) {
  .wpsim-size-options {
    grid-template-columns: 1fr;
  }

  .wpsim-warning-box,
  .wpsim-paper-info-banner,
  .wpsim-illustrative-notice,
  .wpsim-info-notice,
  .wpsim-plus250-notice,
  .wpsim-upload-info-box {
    padding: 12px;
  }

  .wpsim-summary-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .wpsim-summary-row span:last-child {
    text-align: left;
  }
}

/* ============================================
   FOTOPOINT APPLE-STYLE REFINEMENT
   Keep this block last: it intentionally refines the public wizard.
   ============================================ */

.wpsim-container {
  --wpsim-ink: #111111;
  --wpsim-muted: #6e6e73;
  --wpsim-soft: #f5f5f7;
  --wpsim-line: #d9d9df;
  --wpsim-red: #ed6b00;
  --wpsim-red-soft: #ffdd0021;
  --wpsim-green: #00a650;
  --wpsim-green-soft: #ecfdf3;
  --wpsim-blue: #0071e3;
  --wpsim-blue-soft: #f0f7ff;
  width: min(100%, 1160px);
  min-height: 640px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.1);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.wpsim-sidebar {
  width: 252px;
  padding: 30px 22px;
  background: linear-gradient(180deg, #fbfbfd 0%, #f5f5f7 100%);
  border-right: 1px solid rgba(0, 0, 0, 0.07);
}

.wpsim-main {
  padding: 44px;
  background: #ffffff;
}

.wpsim-panel-header {
  margin-bottom: 30px;
}

.wpsim-panel-header h2 {
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  color: var(--wpsim-ink);
}

.wpsim-panel-header p {
  font-size: 16px;
  color: var(--wpsim-muted);
  line-height: 1.55;
}

.wpsim-step {
  padding: 10px;
  border-radius: 14px;
}

.wpsim-step:hover {
  background: rgba(255, 255, 255, 0.72);
}

.wpsim-step-dot,
.wpsim-pack-dot {
  border-radius: 50%;
}

.wpsim-step.active .wpsim-step-dot,
.wpsim-pack-dot.active {
  background: var(--wpsim-ink);
  border-color: var(--wpsim-ink);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.08);
}

.wpsim-step.completed .wpsim-step-dot,
.wpsim-pack-dot.completed {
  background: var(--wpsim-green);
  border-color: var(--wpsim-green);
}

.wpsim-step-title {
  font-size: 14px;
  font-weight: 650;
}

.wpsim-step-desc {
  font-size: 12px;
}

.wpsim-pack-indicator,
.wpsim-size-card,
.wpsim-option-content,
.wpsim-summary,
.wpsim-price-preview,
.wpsim-price-table-wrap,
.wpsim-pack-summary {
  border-color: rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow:
    0 1px 2px rgba(0, 0, 0, 0.03),
    0 10px 30px rgba(0, 0, 0, 0.04);
}

.wpsim-size-options {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.wpsim-size-card {
  padding: 22px 20px;
}

.wpsim-size-label {
  font-size: 17px;
  font-weight: 720;
  align-self: center;
}

.wpsim-size-option input:checked + .wpsim-size-card,
.wpsim-option-card input:checked + .wpsim-option-content {
  border-color: var(--wpsim-ink);
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(0, 0, 0, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.08);
}

.wpsim-size-card:hover,
.wpsim-option-content:hover {
  border-color: rgba(0, 0, 0, 0.18);
  transform: translateY(-2px);
}

.wpsim-warning-box,
.wpsim-paper-info-banner,
.wpsim-illustrative-notice,
.wpsim-info-notice,
.wpsim-plus250-notice,
.wpsim-upload-info-box,
.wpsim-login-notice,
.wpsim-user-info {
  border-radius: 16px;
  border-width: 1px;
  padding: 15px 17px;
}

.wpsim-warning-box,
.wpsim-plus250-notice,
.wpsim-login-notice {
  background: var(--wpsim-red-soft);
  border-color: rgba(227, 6, 19, 0.18);
  color: #b00013;
}

.wpsim-warning-icon,
.wpsim-plus250-notice svg {
  color: var(--wpsim-red);
}

.wpsim-warning-content strong {
  color: #9f0712;
}

.wpsim-warning-content p {
  color: #b4232f;
}

.wpsim-paper-info-banner,
.wpsim-upload-info-box,
.wpsim-price-table-header {
  background: var(--wpsim-blue-soft);
  border-color: rgba(0, 113, 227, 0.16);
}

.wpsim-paper-info-icon,
.wpsim-upload-info-icon,
.wpsim-price-table-header svg,
.wpsim-paper-info-content p,
.wpsim-upload-info-content strong,
.wpsim-upload-info-content p,
.wpsim-upload-info-content ol,
.wpsim-upload-info-content ol li strong,
.wpsim-price-table-header {
  color: var(--wpsim-blue);
}

.wpsim-info-notice,
.wpsim-user-info {
  background: var(--wpsim-green-soft);
  border-color: rgba(0, 166, 80, 0.18);
  color: #087a3d;
}

.wpsim-illustrative-notice {
  background: #f5f5f7;
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--wpsim-muted);
}

.wpsim-quantity-control {
  gap: 0;
  justify-content: flex-start;
}

.wpsim-btn-qty,
.wpsim-quantity-control input {
  height: 56px;
  border-color: rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.wpsim-btn-qty {
  width: 56px;
  color: var(--wpsim-ink);
}

.wpsim-btn-qty:first-child {
  border-radius: 18px 0 0 18px;
}

.wpsim-btn-qty:last-child {
  border-radius: 0 18px 18px 0;
}

.wpsim-quantity-control input {
  width: 128px;
  font-size: 24px;
  font-weight: 720;
}

.wpsim-price-preview {
  padding: 20px 22px;
  background: #f5f5f7;
}

.wpsim-price-row.total {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.wpsim-option-cards {
  gap: 18px;
}

.wpsim-option-content {
  padding: 16px;
}

.wpsim-option-preview {
  border-radius: 14px;
}

.wpsim-option-title {
  font-size: 17px;
  font-weight: 720;
}

.wpsim-option-desc {
  font-size: 14px;
}

.wpsim-summary {
  background: #f5f5f7;
}

.wpsim-summary-row.total {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.wpsim-grand-total {
  background: var(--wpsim-ink);
  border-color: var(--wpsim-ink);
}

.wpsim-nav {
  padding-top: 26px;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.wpsim-btn {
  min-height: 48px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
}

.wpsim-btn-primary {
  background: var(--wpsim-ink);
}

.wpsim-btn-primary:hover {
  background: #2a2a2a;
}

.wpsim-btn-success {
  background: var(--wpsim-green);
}

.wpsim-btn-success:hover {
  background: #008f45;
}

.wpsim-btn-accent {
  background: var(--wpsim-red);
}

.wpsim-btn-accent:hover {
  background: #e36601;
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.24);
}

.wpsim-btn-secondary {
  background: #f5f5f7;
  color: var(--wpsim-ink);
}

.wpsim-price-table thead th {
  background: #f5f5f7;
}

.wpsim-price-table tbody tr.wpsim-row-active,
.wpsim-price-table tbody td.wpsim-cell-active {
  background: var(--wpsim-green-soft);
  color: #087a3d;
}

.wpsim-row-plus250,
.wpsim-row-plus-active,
.wpsim-row-plus-active td.wpsim-cell-active {
  background: var(--wpsim-red-soft) !important;
  color: #b00013;
}

.wpsim-plus-badge {
  background: var(--wpsim-red);
}

/* The opportunity modal intentionally keeps its promotional energy. */
.wpsim-promo-modal-backdrop {
  background: rgba(0, 0, 0, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.wpsim-promo-modal-box {
  max-width: 480px;
  border-radius: 24px;
  background: linear-gradient(
    145deg,
    #ff5a00 0%,
    #ff8a00 36%,
    #ffd43b 68%,
    #ff7a00 100%
  );
  background-size: 240% 240%;
  animation: wpsim-promo-modal-gradient 4s ease infinite;
  border: 2px solid rgba(255, 255, 255, 0.42);
  box-shadow:
    0 26px 88px rgba(255, 90, 0, 0.44),
    0 0 90px rgba(227, 6, 19, 0.22);
}

.wpsim-promo-modal-glow {
  opacity: 0.68;
  filter: blur(14px);
}

.wpsim-promo-modal-content {
  padding: 36px 32px 32px;
}

.wpsim-promo-modal-badge {
  background: #ffffff;
  color: #d92800;
  border-radius: 999px;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.16);
  letter-spacing: 1.2px;
  animation: wpsim-promo-modal-badge-pulse 1.4s ease-in-out infinite;
}

.wpsim-promo-modal-title {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.28);
  font-size: 28px;
}

.wpsim-promo-modal-divider {
  background: rgba(255, 255, 255, 0.56);
}

.wpsim-promo-modal-text,
.wpsim-promo-modal-text strong {
  color: rgba(255, 255, 255, 0.96);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
}

.wpsim-promo-modal-text strong {
  color: #ffffff;
}

.wpsim-promo-modal-savings {
  background: rgba(0, 0, 0, 0.26);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.wpsim-promo-modal-cta {
  border-radius: 999px;
  background: #ffffff;
  color: #d92800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}

.wpsim-promo-modal-cta:hover {
  background: #fff7ed;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.3);
}

.wpsim-promo-modal-secondary {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.26);
}

.wpsim-promo-modal-secondary:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.72);
}

.wpsim-promo-modal-cta:disabled,
.wpsim-promo-modal-secondary:disabled {
  cursor: wait;
  opacity: 0.55;
  pointer-events: auto;
}

.wpsim-promo-modal-cta:disabled:hover {
  background: #ffffff;
  color: #d92800;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.25);
}

.wpsim-promo-modal-secondary:disabled:hover {
  color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.26);
}

.wpsim-promo-modal-countdown {
  background: rgba(0, 0, 0, 0.44);
  color: rgba(255, 255, 255, 0.94);
}

@media (max-width: 768px) {
  .wpsim-container {
    border-radius: 18px;
  }

  .wpsim-main {
    padding: 28px 18px;
  }

  .wpsim-panel-header h2 {
    font-size: 27px;
  }

  .wpsim-panel-header p {
    font-size: 15px;
  }

  .wpsim-promo-modal {
    align-items: flex-end;
  }

  .wpsim-promo-modal-box {
    border-radius: 22px;
  }
}

/* ============================================
   TARGETED QA FIXES
   ============================================ */

.wpsim-container {
  font-family: inherit;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.wpsim-container,
.wpsim-container * {
  font-family: inherit;
}

.wpsim-promo-modal {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 24px;
}

.wpsim-promo-modal-box {
  margin: auto;
  max-height: calc(100vh - 48px);
  overflow: visible;
}

.wpsim-price-preview {
  width: min(100%, 460px);
  margin-left: auto;
  margin-right: 0;
}

.wpsim-user-info,
.wpsim-login-notice {
  margin: 0 0 18px;
}

.wpsim-modal-actions .wpsim-btn-primary,
.wpsim-modal-actions .wpsim-modal-btn-ok,
#wpsim-confirm-modal .wpsim-btn-primary,
#wpsim-confirm-modal .wpsim-modal-btn-ok {
  background: #111111 !important;
  border: 1px solid #111111 !important;
  color: #ffffff !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.wpsim-modal-actions .wpsim-btn-primary:hover,
.wpsim-modal-actions .wpsim-modal-btn-ok:hover,
#wpsim-confirm-modal .wpsim-btn-primary:hover,
#wpsim-confirm-modal .wpsim-modal-btn-ok:hover {
  background: #2a2a2a !important;
  border-color: #2a2a2a !important;
  color: #ffffff !important;
}

.wpsim-development-note {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 16px;
  background: #fffdf7;
  border: 1px solid #eadfbf;
  border-radius: 14px;
}

.wpsim-development-note label {
  color: #2d2d2d;
  font-size: 15px;
  font-weight: 800;
}

.wpsim-development-note textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  padding: 12px 14px;
  color: #1f2933;
  background: #ffffff;
  border: 1px solid #d9d0b4;
  border-radius: 10px;
  box-shadow: none;
  font: inherit;
  line-height: 1.45;
}

.wpsim-development-note textarea:focus {
  border-color: #4a9b5e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(74, 155, 94, 0.14);
}

.wpsim-development-note span {
  color: #6b7280;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 768px) {
  .wpsim-sidebar {
    width: 100%;
    padding: 15px 5px;
  }

  .wpsim-promo-modal {
    align-items: center;
    padding: 16px;
  }

  .wpsim-promo-modal-box {
    max-height: calc(100vh - 32px);
  }

  .wpsim-price-preview {
    width: 100%;
    margin-left: 0;
  }
}

/* ============================================
   FOTOPOINT SIZE STEP + COMPACT PROGRESS
   ============================================ */

.wpsim-sidebar {
  background: #0f141c;
  border-right: 0;
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06);
}

.wpsim-steps {
  gap: 10px;
}

.wpsim-step-line {
  display: none;
}

.wpsim-step {
  align-items: center;
  min-height: 54px;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.72);
  opacity: 1;
}

.wpsim-step:hover {
  background: rgba(255, 255, 255, 0.06);
}

.wpsim-step.active {
  background: linear-gradient(135deg, #11b99a, #087fa4);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 171, 143, 0.22);
  color: #fff;
}

.wpsim-step.completed {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.wpsim-step-dot,
.wpsim-step.active .wpsim-step-dot,
.wpsim-step.completed .wpsim-step-dot {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  box-shadow: none;
}

.wpsim-step.completed .wpsim-step-dot {
  background: #18c783;
  border-color: #18c783;
}

.wpsim-step-info {
  gap: 1px;
  padding-top: 0;
}

.wpsim-step-title {
  color: currentColor;
  font-size: 13px;
  font-weight: 800;
}

.wpsim-step-desc {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.wpsim-step.active .wpsim-step-desc {
  color: rgba(255, 255, 255, 0.82);
}

.wpsim-panel[data-panel="1"] .wpsim-panel-header {
  margin-bottom: 32px;
}

.wpsim-panel[data-panel="1"] .wpsim-panel-header h2 {
  font-size: clamp(34px, 4vw, 42px);
  line-height: 1.05;
}

.wpsim-size-selector > label {
  margin-bottom: 14px;
  color: #111;
  font-weight: 600;
}

.wpsim-size-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 14px;
}

.wpsim-size-card {
  min-height: 102px;
  padding: 24px 18px;
  border: 1px solid #e3e5ea;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.wpsim-size-label {
  color: #050505;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.1;
}

.wpsim-size-subtitle {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  align-self: center;
}

.wpsim-size-subtitle-small {
  color: #ec008c;
}

.wpsim-size-subtitle-normal {
  color: #1967b3;
}

.wpsim-size-subtitle-large {
  color: #1eaa43;
}

.wpsim-size-subtitle-enlargement {
  color: #ea7d2e;
}

.wpsim-size-subtitle-default {
  color: #087fa4;
}

.wpsim-size-option input:checked + .wpsim-size-card {
  border-color: #00ad8f;
  box-shadow:
    0 0 0 3px rgba(0, 173, 143, 0.14),
    0 18px 36px rgba(15, 23, 42, 0.1);
}

@media (max-width: 900px) {
  .wpsim-size-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .wpsim-sidebar {
    width: 100%;
    padding: 15px 5px;
    border-bottom: 0;
  }

  .wpsim-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(62px, 1fr));
    gap: 6px;
    overflow: visible;
    padding: 0;
  }

  .wpsim-step {
    min-width: 0;
    min-height: 56px;
    padding: 6px 4px;
    gap: 5px;
  }

  .wpsim-step-dot {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .wpsim-step-title {
    font-size: 10px;
  }

  .wpsim-size-options {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .wpsim-panel[data-panel="1"] .wpsim-panel-header h2 {
    font-size: 30px;
  }

  .wpsim-size-options {
    grid-template-columns: 1fr;
  }
}
