/* Wireframe preview styles for landing templates */

.editor-body .preview-wireframe { border: none; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }

.editor-body .pw-hero-media-box, .editor-body .pw-modules-tab-media-box, .editor-body .pw-img-placeholder, .editor-body .pw-module-screenshot, .editor-body .pw-ss-thumb, .editor-body .pw-video-embed, .editor-body .pw-presentation-block { cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }

.editor-body .pw-hero-media-box:hover, .editor-body .pw-modules-tab-media-box:hover, .editor-body .pw-img-placeholder:hover, .editor-body .pw-module-screenshot:hover, .editor-body .pw-ss-thumb:hover { border-color: var(--color-orange); background: rgba(255,79,18,0.03); }

/* ===== Preview wireframe styles (from proto-A) ===== */
    .preview-wireframe {
      border: 1px solid var(--color-border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      background: var(--color-white);
    }

/* Each section in the preview */
    .pw-section {
      padding: 20px 24px;
      border-bottom: 1px solid #eef0f3;
    }

.pw-section:last-child { border-bottom: none; }

/* Section label (small tag) */
    .pw-section-label {
      display: inline-block;
      font-size: 9px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--color-text-faint);
      margin-bottom: 10px;
      padding: 2px 8px;
      background: var(--color-bg-light);
      border-radius: var(--radius-full);
    }

/* Vendor logo */
    .pw-vendor-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      margin-bottom: 16px;
    }

.pw-vendor-logo-img {
      width: 48px;
      height: 48px;
      border-radius: 12px;
      background: #fff;
      border: 1px solid #e5e5e5;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    }

.pw-vendor-logo-img.dark {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.15);
    }

.pw-vendor-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--color-text-muted);
    }

.pw-vendor-name.light {
      color: rgba(255,255,255,0.7);
    }

/* Hero section */
    .pw-hero {
      background: linear-gradient(135deg, #f8f9fb 0%, #eef1f5 100%);
      padding: 32px 24px;
      text-align: center;
    }

.pw-hero-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-text);
      margin-bottom: 6px;
      line-height: 1.3;
    }

.pw-hero-subtitle {
      font-size: 12px;
      color: var(--color-text-muted);
      margin-bottom: 16px;
      line-height: 1.5;
    }

.pw-cta {
      display: inline-block;
      padding: 8px 20px;
      background: var(--color-orange);
      color: white;
      font-size: 12px;
      font-weight: 600;
      border-radius: var(--radius-md);
    }

.pw-cta--outline {
      background: transparent;
      border: 1.5px solid var(--color-orange);
      color: var(--color-orange);
    }

.pw-cta--green {
      background: var(--color-success);
    }

.pw-cta--purple {
      background: var(--color-purple);
    }

/* Grid layouts */
    .pw-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

.pw-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

.pw-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

@media (max-width: 600px) {
      .pw-grid-3 { grid-template-columns: 1fr; }
      .pw-grid-4 { grid-template-columns: 1fr; }
      .pw-grid-2 { grid-template-columns: 1fr; }
    }

/* Card in preview */
    .pw-card {
      background: var(--color-bg-light);
      border: 1px solid #eef0f3;
      border-radius: var(--radius-md);
      padding: 14px;
      text-align: center;
    }

.pw-card--left { text-align: left; }

.pw-card-icon {
      width: 32px; height: 32px;
      background: rgba(255,79,18,0.1);
      border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 8px;
      font-size: 16px;
    }

.pw-card-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 4px;
    }

.pw-card-text {
      font-size: 10px;
      color: var(--color-text-muted);
      line-height: 1.4;
    }

/* Image placeholder */
    .pw-img-placeholder {
      background: #eef1f5;
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--color-text-faint);
      min-height: 80px;
    }

.pw-img-placeholder svg { opacity: 0.5; }

/* Text block */
    .pw-text-block {
      font-size: 11px;
      color: var(--color-text-muted);
      line-height: 1.6;
    }

.pw-text-block p { margin-bottom: 8px; }

.pw-text-block strong { color: var(--color-text); }

/* Review card */
    .pw-review {
      display: flex;
      gap: 10px;
      padding: 12px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
      border: 1px solid #eef0f3;
      align-items: flex-start;
    }

.pw-avatar {
      width: 28px; height: 28px;
      border-radius: 50%;
      background: linear-gradient(135deg, #d4d8e0, #b8bcc4);
      flex-shrink: 0;
    }

.pw-review-name {
      font-size: 11px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 2px;
    }

.pw-review-text {
      font-size: 10px;
      color: var(--color-text-muted);
      line-height: 1.4;
    }

.pw-stars {
      font-size: 10px;
      color: var(--color-orange);
      margin-bottom: 2px;
    }

/* Pricing columns */
    .pw-pricing-col {
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-md);
      padding: 16px 12px;
      text-align: center;
    }

.pw-pricing-col.featured {
      border-color: var(--color-orange);
      box-shadow: 0 0 0 1px var(--color-orange);
    }

.pw-pricing-name {
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 4px;
    }

.pw-pricing-price {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-orange);
      margin-bottom: 4px;
    }

.pw-pricing-period {
      font-size: 9px;
      color: var(--color-text-faint);
      margin-bottom: 10px;
    }

.pw-pricing-features {
      list-style: none;
      font-size: 10px;
      color: var(--color-text-muted);
      text-align: left;
      margin-bottom: 10px;
    }

.pw-pricing-features li {
      padding: 3px 0;
      padding-left: 16px;
      position: relative;
      line-height: 1.4;
    }

.pw-pricing-features li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--color-success);
      font-weight: 700;
      font-size: 10px;
    }

/* Table */
    .pw-table {
      width: 100%;
      font-size: 11px;
      border-collapse: collapse;
    }

.pw-table th {
      text-align: left;
      padding: 6px 10px;
      font-weight: 600;
      color: var(--color-text);
      background: var(--color-bg-light);
      border-bottom: 1px solid var(--color-border);
      font-size: 10px;
    }

.pw-table td {
      padding: 6px 10px;
      color: var(--color-text-muted);
      border-bottom: 1px solid #f0f1f3;
    }

/* Steps */
    .pw-steps {
      display: flex;
      gap: 8px;
      justify-content: space-between;
    }

.pw-step {
      flex: 1;
      text-align: center;
      padding: 12px 8px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
      position: relative;
    }

.pw-step-num {
      width: 24px; height: 24px;
      background: var(--color-orange);
      color: white;
      font-size: 11px;
      font-weight: 700;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      margin: 0 auto 6px;
    }

.pw-step-title {
      font-size: 10px;
      font-weight: 600;
      color: var(--color-text);
      line-height: 1.3;
    }

.pw-step-arrow {
      position: absolute;
      right: -12px;
      top: 50%;
      transform: translateY(-50%);
      color: var(--color-text-faint);
      font-size: 14px;
      z-index: 1;
    }

@media (max-width: 600px) {
      .pw-steps { flex-direction: column; }
      .pw-step-arrow { display: none; }
    }

/* License option */
    .pw-license-option {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
      border: 1px solid #eef0f3;
    }

.pw-license-icon {
      width: 36px; height: 36px;
      background: rgba(255,79,18,0.08);
      border-radius: var(--radius-md);
      display: flex; align-items: center; justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

.pw-license-title {
      font-size: 12px;
      font-weight: 600;
      color: var(--color-text);
    }

.pw-license-desc {
      font-size: 10px;
      color: var(--color-text-muted);
    }

/* FAQ accordion mock */
    .pw-faq-item {
      padding: 10px 0;
      border-bottom: 1px solid #eef0f3;
    }

.pw-faq-item:last-child { border-bottom: none; }

.pw-faq-q {
      font-size: 11px;
      font-weight: 600;
      color: var(--color-text);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

.pw-faq-q span {
      color: var(--color-text-faint);
      font-size: 14px;
    }

/* Video placeholder */
    .pw-video {
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: center;
      min-height: 160px;
      position: relative;
    }

.pw-play-btn {
      width: 48px; height: 48px;
      background: rgba(255,255,255,0.2);
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      backdrop-filter: blur(4px);
      border: 2px solid rgba(255,255,255,0.4);
    }

.pw-play-btn svg { color: white; }

/* Video embed section */
    .pw-video-embed {
      background: #000;
      border-radius: 8px;
      aspect-ratio: 16/9;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
    }

.pw-video-embed .pw-play-circle {
      width: 56px;
      height: 56px;
      border-radius: 50%;
      background: rgba(255,107,0,0.9);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 12px;
    }

.pw-video-embed .pw-play-circle svg {
      margin-left: 3px;
    }

.pw-video-platforms {
      display: flex;
      gap: 8px;
      margin-top: 8px;
      justify-content: center;
    }

.pw-video-platform {
      font-size: 10px;
      padding: 3px 10px;
      border-radius: 12px;
      background: rgba(255,255,255,0.15);
      color: rgba(255,255,255,0.7);
      font-weight: 500;
    }

/* Chapter list */
    .pw-chapter {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 8px 0;
      border-bottom: 1px solid #eef0f3;
      font-size: 11px;
    }

.pw-chapter:last-child { border-bottom: none; }

.pw-chapter-title {
      color: var(--color-text);
      font-weight: 500;
    }

.pw-chapter-duration {
      color: var(--color-text-faint);
      font-size: 10px;
    }

/* Author block */
    .pw-author {
      display: flex;
      gap: 14px;
      align-items: center;
      padding: 14px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
    }

.pw-author-avatar {
      width: 48px; height: 48px;
      border-radius: 50%;
      background: linear-gradient(135deg, #667085, #98a2b3);
      flex-shrink: 0;
    }

.pw-author-name {
      font-size: 13px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 2px;
    }

.pw-author-bio {
      font-size: 10px;
      color: var(--color-text-muted);
      line-height: 1.4;
    }

/* Badge */
    .pw-badge {
      display: inline-block;
      padding: 3px 10px;
      font-size: 10px;
      font-weight: 600;
      border-radius: var(--radius-full);
      background: rgba(255,79,18,0.08);
      color: var(--color-orange);
    }

/* Checklist */
    .pw-checklist {
      list-style: none;
    }

.pw-checklist li {
      padding: 5px 0;
      padding-left: 20px;
      position: relative;
      font-size: 11px;
      color: var(--color-text-muted);
      line-height: 1.5;
    }

.pw-checklist li::before {
      content: '✓';
      position: absolute;
      left: 0;
      color: var(--color-success);
      font-weight: 700;
    }

/* Numbered steps */
    .pw-numbered-step {
      display: flex;
      gap: 10px;
      padding: 8px 0;
      align-items: flex-start;
    }

.pw-num {
      width: 22px; height: 22px;
      background: var(--color-orange);
      color: white;
      font-size: 11px;
      font-weight: 700;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }

.pw-num-text {
      font-size: 11px;
      color: var(--color-text-muted);
      line-height: 1.5;
      padding-top: 2px;
    }

/* Info banner */
    .pw-info-banner {
      padding: 12px 14px;
      background: #fef6ee;
      border: 1px solid rgba(255,79,18,0.15);
      border-radius: var(--radius-md);
      font-size: 11px;
      color: var(--color-text-muted);
      line-height: 1.5;
    }

.pw-info-banner strong {
      color: var(--color-text);
    }

/* SLA block */
    .pw-sla {
      display: flex;
      gap: 10px;
    }

.pw-sla-item {
      flex: 1;
      padding: 12px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
      text-align: center;
    }

.pw-sla-value {
      font-size: 18px;
      font-weight: 700;
      color: var(--color-orange);
      margin-bottom: 2px;
    }

.pw-sla-label {
      font-size: 10px;
      color: var(--color-text-muted);
    }

/* Form mock */
    .pw-form-mock {
      padding: 14px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
    }

.pw-input-mock {
      height: 32px;
      background: var(--color-white);
      border: 1px solid var(--color-border);
      border-radius: var(--radius-sm);
      margin-bottom: 8px;
      width: 100%;
    }

/* Integration logos */
    .pw-integrations {
      display: flex;
      gap: 12px;
      align-items: center;
      justify-content: center;
      flex-wrap: wrap;
    }

.pw-integration-logo {
      width: 56px; height: 32px;
      background: var(--color-bg-light);
      border: 1px solid #eef0f3;
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 9px;
      font-weight: 600;
      color: var(--color-text-muted);
    }

/* Price block */
    .pw-price-block {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px;
      background: var(--color-bg-light);
      border-radius: var(--radius-md);
    }

.pw-price-value {
      font-size: 22px;
      font-weight: 700;
      color: var(--color-text);
    }

.pw-price-sub {
      font-size: 10px;
      color: var(--color-text-muted);
    }

/* Demo block */
    .pw-demo-block {
      text-align: center;
      padding: 20px;
      background: linear-gradient(135deg, rgba(255,79,18,0.04), rgba(119,0,255,0.04));
      border-radius: var(--radius-md);
    }

.pw-demo-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--color-text);
      margin-bottom: 6px;
    }

.pw-demo-text {
      font-size: 10px;
      color: var(--color-text-muted);
      margin-bottom: 12px;
    }

/* CTA block */
    .pw-cta-block {
      text-align: center;
      padding: 24px 20px;
      background: linear-gradient(135deg, #1a1a2e, #16213e);
      border-radius: var(--radius-md);
    }

.pw-cta-block-title {
      font-size: 14px;
      font-weight: 700;
      color: white;
      margin-bottom: 8px;
    }

.pw-cta-block-text {
      font-size: 10px;
      color: rgba(255,255,255,0.6);
      margin-bottom: 14px;
    }

/* Screenshots gallery — 102kv design */
    .pw-screenshots-section {
      margin-top: 4px;
    }

.pw-ss-info {
      font-size: 10px;
      color: #6b7280;
      line-height: 1.4;
      margin-bottom: 10px;
      background: #f0f7ff;
      border-radius: 6px;
      padding: 8px 10px;
    }

.pw-ss-row-group {
      margin-bottom: 10px;
    }

.pw-ss-row-group:last-child {
      margin-bottom: 0;
    }

.pw-ss-row-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
      padding: 0 2px;
    }

.pw-ss-row-header .pw-row-label {
      font-size: 8px;
      font-weight: 600;
      color: #999;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

.pw-ss-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
    }

.pw-ss-slot {
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

.pw-ss-thumb {
      background: #f0f0f5;
      border-radius: 8px;
      aspect-ratio: 4/3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1.5px dashed #d0d0d8;
      position: relative;
    }

.pw-ss-thumb.filled {
      border-style: solid;
      border-color: #e0e0e6;
      background: #eaeaf0;
    }

.pw-ss-thumb .ss-icon {
      color: #b0b0b8;
      margin-bottom: 2px;
    }

.pw-ss-thumb .ss-text {
      font-size: 8px;
      color: #b0b0b8;
      font-weight: 500;
    }

.pw-ss-star {
      position: absolute;
      top: 4px;
      right: 4px;
      width: 13px;
      height: 13px;
      color: #d0d0d8;
    }

.pw-ss-star.active {
      color: var(--color-orange);
    }

.pw-ss-caption {
      font-size: 8px;
      color: #aaa;
      border: 1px solid #e5e7eb;
      border-radius: 4px;
      padding: 3px 6px;
      background: #fff;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

.pw-ss-caption.has-text {
      color: #555;
    }

.pw-ss-footer {
      margin-top: 8px;
      font-size: 9px;
      color: #c0c0c8;
    }

/* Presentation block */
    .pw-presentation-block {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 16px;
      background: #f8f9fb;
      border-radius: 8px;
      border: 1px solid #e5e5e5;
    }

.pw-pres-icon {
      width: 48px;
      height: 56px;
      background: linear-gradient(135deg, #ff6b00 0%, #ff8c3a 100%);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

.pw-pres-info {
      flex: 1;
    }

.pw-pres-title {
      font-size: 13px;
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 2px;
    }

.pw-pres-meta {
      font-size: 11px;
      color: #888;
    }

.pw-pres-download {
      padding: 6px 14px;
      background: white;
      border: 1px solid #e5e5e5;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 500;
      color: #333;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
    }

/* User ratings */
    .pw-rating {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 6px;
    }

.pw-rating-stars {
      display: flex;
      gap: 1px;
    }

.pw-rating-star {
      color: #f59e0b;
      font-size: 12px;
    }

.pw-rating-star.empty {
      color: #d1d5db;
    }

.pw-rating-score {
      font-size: 11px;
      font-weight: 600;
      color: #333;
    }

.pw-rating-count {
      font-size: 10px;
      color: #999;
    }

/* Responsive modal */
    @media (max-width: 600px) {
      .modal-overlay { padding: 0; }
      .modal-container {
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
        height: 100%;
      }
      .modal-header { padding: var(--space-4); }
      .modal-body { padding: var(--space-4); }
      .modal-footer { padding: var(--space-3) var(--space-4); }
      .pw-hero { padding: 20px 16px; }
      .pw-section { padding: 14px 16px; }
    }

/* ===== Hero two-column layout ===== */
    .pw-hero-2col {
      display: flex;
      gap: 24px;
      align-items: center;
      text-align: left;
    }

.pw-hero-content {
      flex: 1;
      min-width: 0;
    }

.pw-hero-media {
      flex: 0 0 45%;
      max-width: 45%;
    }

.pw-hero-media-box {
      background: #f0f0f5;
      border-radius: 10px;
      aspect-ratio: 4/3;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid #e5e5e5;
      overflow: hidden;
      position: relative;
    }

.pw-hero-media-box .pw-media-toggle {
      display: flex;
      gap: 4px;
      margin-bottom: 8px;
    }

.pw-hero-media-box .pw-media-toggle span {
      font-size: 9px;
      padding: 2px 8px;
      border-radius: 10px;
      background: #e5e5e5;
      color: #666;
      cursor: pointer;
    }

.pw-hero-media-box .pw-media-toggle span.active {
      background: var(--color-orange);
      color: white;
    }

.pw-hero-media-label {
      font-size: 10px;
      color: #999;
      margin-top: 6px;
    }

@media (max-width: 600px) {
      .pw-hero-2col {
        flex-direction: column;
      }
      .pw-hero-media {
        flex: none;
        max-width: 100%;
        width: 100%;
      }
    }

/* ===== Platform modules ===== */
    .pw-modules-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

.pw-module-card {
      background: #f8f9fb;
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 16px;
    }

.pw-module-header {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 8px;
    }

.pw-module-icon {
      width: 32px;
      height: 32px;
      border-radius: 8px;
      background: #fff3e6;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 16px;
    }

.pw-module-title {
      font-size: 12px;
      font-weight: 600;
    }

.pw-module-desc {
      font-size: 10px;
      color: #666;
      line-height: 1.4;
      margin-bottom: 10px;
    }

.pw-module-screenshot {
      background: #e8e8ee;
      border-radius: 6px;
      aspect-ratio: 16/9;
      display: flex;
      align-items: center;
      justify-content: center;
    }

/* ===== Optional section toggle ===== */
    .pw-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px;
    }

.pw-toggle {
      position: relative;
      width: 36px;
      height: 20px;
      background: #d1d5db;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.2s;
    }

.pw-toggle.on {
      background: var(--color-orange);
    }

.pw-toggle::after {
      content: '';
      position: absolute;
      top: 2px;
      left: 2px;
      width: 16px;
      height: 16px;
      background: white;
      border-radius: 50%;
      transition: transform 0.2s;
    }

.pw-toggle.on::after {
      transform: translateX(16px);
    }

.pw-section-optional {
      transition: opacity 0.3s, max-height 0.3s;
    }

.pw-section-optional.hidden {
      opacity: 0.3;
      max-height: 40px;
      overflow: hidden;
    }

.pw-col-optional.hidden {
      opacity: 0.25;
      max-height: 0;
      overflow: hidden;
      transition: all 0.2s;
    }

/* For whom block */
    .pw-for-whom-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 12px;
    }

.pw-for-whom-col {
      background: #f8f9fb;
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 16px;
    }

.pw-for-whom-icon {
      font-size: 24px;
      margin-bottom: 8px;
    }

.pw-for-whom-title {
      font-size: 13px;
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 10px;
    }

.pw-for-whom-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

.pw-for-whom-list li {
      font-size: 11px;
      color: #555;
      padding: 4px 0 4px 16px;
      position: relative;
      line-height: 1.4;
    }

.pw-for-whom-col-wrap {
      display: flex;
      flex-direction: column;
    }

.pw-for-whom-col-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 6px;
      padding: 0 2px;
    }

.pw-for-whom-col-label {
      font-size: 9px;
      font-weight: 600;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

.pw-for-whom-col-header .pw-toggle-col {
      width: 32px;
      height: 17px;
      border-radius: 9px;
      background: var(--color-orange);
      position: relative;
      cursor: pointer;
      flex-shrink: 0;
      transition: background 0.2s;
    }

.pw-for-whom-col-header .pw-toggle-col::after {
      content: '';
      position: absolute;
      width: 13px;
      height: 13px;
      background: #fff;
      border-radius: 50%;
      top: 2px;
      right: 2px;
      transition: all 0.2s;
    }

.pw-for-whom-col-header .pw-toggle-col.off {
      background: #ccc;
    }

.pw-for-whom-col-header .pw-toggle-col.off::after {
      right: auto;
      left: 2px;
    }

.pw-for-whom-list li::before {
      content: '→';
      position: absolute;
      left: 0;
      color: var(--color-orange);
      font-weight: 600;
    }

/* Modules tabs (new format) */
    .pw-modules-tabs {}

.pw-modules-tab-nav {
      display: flex;
      gap: 6px;
      margin-bottom: 16px;
      flex-wrap: wrap;
    }

.pw-modules-tab {
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 11px;
      font-weight: 500;
      background: #f0f0f5;
      color: #555;
      cursor: pointer;
      border: 1px solid transparent;
    }

.pw-modules-tab.active {
      background: var(--color-orange);
      color: white;
      border-color: var(--color-orange);
    }

.pw-modules-tab-content {
      display: flex;
      gap: 20px;
      align-items: flex-start;
    }

.pw-modules-tab-text {
      flex: 1;
      min-width: 0;
    }

.pw-modules-tab-title {
      font-size: 14px;
      font-weight: 600;
      color: #1a1a1a;
      margin-bottom: 8px;
    }

.pw-modules-tab-desc {
      font-size: 11px;
      color: #555;
      line-height: 1.6;
    }

.pw-modules-tab-media {
      flex: 0 0 50%;
      max-width: 50%;
    }

.pw-modules-tab-media-box {
      background: #f0f0f5;
      border-radius: 10px;
      aspect-ratio: 16/10;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      border: 1px solid #e5e5e5;
    }

/* Comparison table */
    .pw-comparison-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 11px;
    }

.pw-comparison-table th,
    .pw-comparison-table td {
      padding: 10px 8px;
      text-align: center;
      border-bottom: 1px solid #eee;
    }

.pw-comparison-table th:first-child,
    .pw-comparison-table td:first-child {
      text-align: left;
      color: #333;
    }

.pw-comparison-table th {
      font-weight: 600;
      font-size: 10px;
      color: #666;
      padding-bottom: 12px;
    }

.pw-comp-highlight {
      color: var(--color-orange) !important;
      font-weight: 600;
    }

.pw-comp-dot {
      display: inline-block;
      width: 12px;
      height: 12px;
      border-radius: 50%;
    }

/* Security cards */
    .pw-security-card {
      background: #fff;
      border: 1px solid #e5e5e5;
      border-radius: 10px;
      padding: 16px;
      text-align: center;
    }

.pw-security-icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 10px;
      background: #fff3e6;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 22px;
    }

.pw-security-title {
      font-size: 13px;
      font-weight: 700;
      color: #1a1a1a;
      margin-bottom: 6px;
    }

.pw-security-desc {
      font-size: 10px;
      color: #666;
      line-height: 1.4;
    }

/* License key blurred field */
    .pw-license-key-box {
      margin-top: 18px;
      text-align: center;
    }

.pw-license-key-label {
      font-size: 10px;
      color: #888;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      margin-bottom: 8px;
      font-weight: 500;
    }

.pw-license-key-field {
      position: relative;
      display: inline-block;
      background: #fff;
      border: 1.5px dashed #ddd;
      border-radius: 10px;
      padding: 14px 28px;
      min-width: 320px;
    }

.pw-license-key-blurred {
      font-family: 'Courier New', monospace;
      font-size: 16px;
      font-weight: 700;
      letter-spacing: 2px;
      color: #333;
      filter: blur(6px);
      user-select: none;
      pointer-events: none;
    }

.pw-license-key-overlay {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      font-size: 12px;
      font-weight: 600;
      color: #888;
      background: rgba(255,255,255,0.5);
      border-radius: 10px;
    }

.pw-license-key-overlay svg {
      color: var(--color-orange);
    }

/* Project files blurred block */
    .pw-project-files {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

.pw-project-file {
      position: relative;
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 12px 16px;
      background: #fff;
      border: 1.5px dashed #ddd;
      border-radius: 10px;
      overflow: hidden;
    }

.pw-project-file-icon {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

.pw-project-file-info {
      flex: 1;
      min-width: 0;
    }

.pw-project-file-name {
      font-size: 12px;
      font-weight: 600;
      color: #333;
    }

.pw-project-file-meta {
      font-size: 10px;
      color: #999;
      margin-top: 2px;
    }

.pw-project-file-download {
      font-size: 11px;
      font-weight: 500;
      color: var(--color-orange);
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
    }

.pw-project-file-download-blur {
      filter: blur(4px);
      user-select: none;
      pointer-events: none;
    }

.pw-project-file-lock {
      display: flex;
      align-items: center;
      gap: 4px;
      font-size: 9px;
      font-weight: 600;
      color: #999;
      flex-shrink: 0;
      white-space: nowrap;
    }

.pw-project-file-lock svg {
      color: var(--color-orange);
      flex-shrink: 0;
    }

/* Collapsed list: show only first 3 */
    .pw-project-files-collapsible .pw-project-file:nth-child(n+4) {
      display: none;
    }

.pw-project-files-collapsible.expanded .pw-project-file:nth-child(n+4) {
      display: flex;
    }

.pw-project-files-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      margin-top: 8px;
      padding: 6px 0;
      font-size: 10px;
      font-weight: 600;
      color: var(--color-orange);
      cursor: pointer;
      user-select: none;
      border-top: 1px solid #f0f0f0;
    }

.pw-project-files-toggle:hover {
      opacity: 0.8;
    }

.pw-project-files-toggle svg {
      transition: transform 0.2s;
    }

.pw-project-files-collapsible.expanded + .pw-project-files-toggle svg {
      transform: rotate(180deg);
    }

/* Other listings block */
    .pw-other-listings-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }

.pw-listing-card {
      border: 1px solid #e5e7eb;
      border-radius: 8px;
      overflow: hidden;
      background: #fff;
    }

.pw-listing-card-img {
      background: #f3f4f6;
      aspect-ratio: 16/10;
      display: flex;
      align-items: center;
      justify-content: center;
      border-bottom: 1px solid #f0f0f0;
    }

.pw-listing-card-img svg {
      color: #c0c0c8;
    }

.pw-listing-card-body {
      padding: 8px 10px;
    }

.pw-listing-card-name {
      font-size: 10px;
      font-weight: 600;
      color: #374151;
      margin-bottom: 3px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

.pw-listing-card-desc {
      font-size: 8px;
      color: #9ca3af;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

.pw-listing-card-price {
      font-size: 9px;
      font-weight: 700;
      color: var(--color-orange);
      margin-top: 4px;
    }

.pw-listing-card-badge {
      display: inline-block;
      font-size: 7px;
      padding: 1px 5px;
      border-radius: 4px;
      font-weight: 600;
      margin-top: 4px;
    }

.pw-listing-card-badge.type-saas { background: #dbeafe; color: #1d4ed8; }

.pw-listing-card-badge.type-onprem { background: #fef3c7; color: #92400e; }

.pw-listing-card-badge.type-std { background: #f3f4f6; color: #6b7280; }

.pw-listings-footer {
      text-align: center;
      margin-top: 10px;
    }

.pw-listings-more {
      font-size: 10px;
      color: var(--color-orange);
      font-weight: 600;
    }