:root {
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --accent: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --border: #e2e8f0;
  --border-focus: #93c5fd;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font);
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
}

.app-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 16px 24px 40px;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 20px;
}

.brand-box {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: 1px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.brand-info h1 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #0f172a;
}

.brand-info .tagline {
  font-size: 13px;
  color: var(--text-secondary);
}

.nav-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  background: #f1f5f9;
  color: var(--text-primary);
}

.tab-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.chat-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
  height: 680px;
}

.chat-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-card {
  background: var(--bg-card);
  padding: 18px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.sidebar-card .card-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.quick-prompts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prompt-chip {
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.prompt-chip:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateX(4px);
}

.stats-card h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #1e293b;
}

.stats-list {
  list-style: none;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stats-list li strong {
  color: var(--primary);
}

.chat-main {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-messages {
  flex: 1;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.message-row {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.message-row.bot {
  align-self: flex-start;
}

.message-row.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.message-row.bot .avatar {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #fff;
}

.message-row.user .avatar {
  background: #0f172a;
  color: #fff;
}

.message-bubble {
  background: #f1f5f9;
  padding: 14px 18px;
  border-radius: 16px;
  border-top-left-radius: 4px;
  font-size: 14px;
  color: var(--text-primary);
  line-height: 1.6;
}

.message-row.user .message-bubble {
  background: #2563eb;
  color: #fff;
  border-radius: 16px;
  border-top-right-radius: 4px;
}

.sender-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.message-row:has(.chat-images-gallery),
.message-row.has-gallery {
  max-width: 96%;
  width: 96%;
}

.message-bubble:has(.chat-images-gallery),
.message-bubble.has-gallery {
  width: 100%;
}

.chat-images-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 12px 0 14px;
  width: 100%;
}

.chat-image-card {
  flex: 1 1 210px;
  max-width: 300px;
  min-width: 180px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}

.chat-image-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
  border-color: #93c5fd;
}

.chat-img-thumb-wrap {
  position: relative;
  width: 100%;
  height: 165px;
  background: #f1f5f9;
  overflow: hidden;
  cursor: pointer;
}

.chat-img-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.chat-image-card:hover .chat-img-thumb-wrap img {
  transform: scale(1.05);
}

.chat-img-zoom-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  pointer-events: none;
}

.chat-image-card:hover .chat-img-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.chat-img-info {
  padding: 8px 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-top: 1px solid #e2e8f0;
}

.chat-img-caption {
  font-size: 11.5px;
  font-weight: 600;
  color: #334155;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.chat-img-btn-view {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 3px 8px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.chat-img-btn-view:hover {
  background: #2563eb;
  color: #ffffff;
}

.chat-lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.chat-lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.chat-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
}

.chat-lightbox-content img {
  max-width: 100%;
  max-height: calc(85vh - 70px);
  object-fit: contain;
  display: block;
  background: #0f172a;
}

.chat-lightbox-bar {
  padding: 12px 18px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.chat-lightbox-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-lightbox-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chat-lightbox-close {
  background: #f1f5f9;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.chat-lightbox-close:hover {
  background: #ef4444;
  color: #ffffff;
}

.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.product-card {
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.product-card .p-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card .p-sku {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.product-card .p-price {
  font-size: 14px;
  font-weight: 800;
  color: #dc2626;
  margin-bottom: 6px;
}

.product-card .p-seller {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.product-card .btn-view-prod {
  display: inline-block;
  text-align: center;
  background: #eff6ff;
  color: #2563eb;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #bfdbfe;
  transition: all 0.2s;
}

.product-card .btn-view-prod:hover {
  background: #2563eb;
  color: #fff;
}

.chat-input-area {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
  background: #fff;
}

.chat-input-area form {
  display: flex;
  gap: 10px;
}

.chat-input-area input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.chat-input-area input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.chat-input-area button#sendBtn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 0 24px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.chat-input-area button#sendBtn:hover {
  background: var(--primary-hover);
}

.survey-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.survey-header-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.sh-left h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.sh-left p {
  font-size: 13px;
  color: var(--text-secondary);
  max-width: 800px;
}

.btn-secondary {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}

.company-info-card {
  background: var(--bg-card);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.company-info-card h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
}

.survey-part-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 16px;
}

.part-header {
  font-size: 16px;
  font-weight: 800;
  color: #1e3a8a;
  padding-bottom: 12px;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 18px;
}

.question-item {
  margin-bottom: 22px;
}

.q-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 10px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
}

.option-label {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.option-label:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.option-label input[type="radio"]:checked + .opt-text,
.option-label input[type="checkbox"]:checked + .opt-text {
  font-weight: 700;
  color: #2563eb;
}

.survey-footer-action {
  text-align: center;
  margin: 20px 0;
}

.btn-primary-large {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  border: none;
  padding: 16px 36px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.2s;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.45);
}

.survey-result-section {
  background: var(--bg-card);
  border: 2px solid #3b82f6;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.result-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.result-header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 4px;
}

.result-header p {
  font-size: 14px;
  color: var(--text-secondary);
}

.result-overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.overview-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.overview-box.score-box {
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  border-color: #93c5fd;
}

.box-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.box-val {
  font-size: 36px;
  font-weight: 800;
  color: #1e3a8a;
  line-height: 1;
}

.box-val.highlight {
  color: #2563eb;
}

.box-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.tier-pill {
  margin-top: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: #f59e0b;
}

.dim-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 8px;
}

.classification-box {
  align-items: flex-start;
  text-align: left;
  gap: 8px;
}

.class-item {
  font-size: 13px;
  color: #334155;
}

.result-analysis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .result-analysis-grid {
    grid-template-columns: 1fr;
  }
}

.chart-card, .insights-card {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
}

.chart-card h4, .insights-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  text-align: center;
}

.canvas-box {
  width: 100%;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.insight-block {
  margin-bottom: 18px;
}

.insight-block h5 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.insight-block.weakness h5 { color: #dc2626; }
.insight-block.strength h5 { color: #16a34a; }
.insight-block.solutions h5 { color: #2563eb; }

.insight-block ul {
  list-style: square inside;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sol-item {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13px;
}

.sol-item strong {
  color: #1e3a8a;
  display: block;
  margin-bottom: 2px;
}

.stepper-wrapper {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.progress-bar-container {
  margin-bottom: 14px;
}

.progress-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 6px;
}

.progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #10b981);
  border-radius: 999px;
  transition: width 0.3s ease;
}

.step-indicators {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.step-pill {
  flex: 1;
  min-width: 90px;
  padding: 8px 10px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.step-pill:hover {
  background: #e2e8f0;
}

.step-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.step-pill.completed {
  background: #ecfdf5;
  color: #065f46;
  border-color: #a7f3d0;
}

.stepper-actions {
  display: flex;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.action-spacer {
  flex: 1;
}

.survey-part-block {
  display: none;
}

.survey-part-block.active {
  display: block;
  animation: fadeInStep 0.3s ease;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
  transition: all 0.2s ease;
}

.btn-download-pdf:hover {
  background: linear-gradient(135deg, #047857, #059669);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.storefront-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.storefront-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  box-shadow: var(--shadow-md);
}

.sb-info h2 {
  font-size: 18px;
  font-weight: 800;
  color: #60a5fa;
  margin-bottom: 6px;
}

.sb-info p {
  font-size: 13px;
  color: #cbd5e1;
  max-width: 650px;
  line-height: 1.5;
}

.sb-widget-code {
  background: rgba(255,255,255,0.08);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
}

.code-badge {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 4px;
}

.sb-widget-code code {
  font-family: monospace;
  font-size: 11.5px;
  color: #38bdf8;
  user-select: all;
}

.storefront-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
}

@media (max-width: 900px) {
  .storefront-layout {
    grid-template-columns: 1fr;
  }
}

.products-selector-column {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.products-selector-column h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.product-pills-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-product-pill {
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-product-pill:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

.store-product-pill.active {
  background: #eff6ff;
  border-color: #2563eb;
  border-left: 4px solid #2563eb;
}

.spp-name {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
}

.spp-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #64748b;
}

.spp-price {
  color: #2563eb;
  font-weight: 700;
}

.product-detail-view {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.pd-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
}

@media (max-width: 800px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }
}

.pd-image-box {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  font-size: 72px;
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}

.pd-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #1e3a8a;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.pd-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pd-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
}

.pd-sku-line {
  display: flex;
  gap: 16px;
  font-size: 13px;
  color: #64748b;
}

.pd-price-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 14px 18px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.pd-price-val {
  font-size: 26px;
  font-weight: 800;
  color: #2563eb;
}

.pd-price-label {
  font-size: 12px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pd-seller {
  font-size: 13px;
  color: #334155;
  background: #eff6ff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: inline-block;
  font-weight: 600;
}

.pd-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

.pd-actions {
  display: flex;
  gap: 12px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.btn-chat-context {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
}

.btn-chat-context:hover {
  background: linear-gradient(135deg, #1e40af, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.btn-view-apecjobs {
  background: #ffffff;
  color: #1e293b;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-view-apecjobs:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}
