.find-product-page {
  background: #F3F4F6;
  min-height: 100vh;
  color: #111827;
}
.find-product-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  position: sticky;
  top: 0;
  z-index: 100;
}
.find-product-header h1 {
  flex: 1;
  font-size: 18px;
  font-weight: 700;
  margin: 0;
}
.find-product-region-badge {
  font-size: 12px;
  font-weight: 700;
  color: #4F46E5;
  background: #EEF2FF;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.find-product-main {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px 16px 48px;
}
.find-product-hero { display: none; }
.find-hero-icon {
  font-size: 28px !important;
  color: #6366F1;
  margin-bottom: 6px;
}
.find-hero-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #111827;
}
.find-product-hero p {
  margin: 0;
  color: #6B7280;
}
.find-matching-hint {
  font-size: 12px;
  color: #6B7280;
  margin: 0 0 12px;
}
.find-upload-card--quiet .find-upload-thumb {
  width: 100%;
}
.find-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.find-upload-ready {
  position: absolute;
  bottom: 6px;
  left: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #16A34A;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-upload-ready .material-icons {
  font-size: 14px !important;
}
.find-unknown-price-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  border: none;
  border-radius: 8px;
  background: #EEF2FF;
  color: #4338CA;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  cursor: pointer;
}
.find-unknown-price-btn .material-icons {
  font-size: 18px;
}
.find-detail-thumb-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 96px;
  height: 96px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #F3F4F6;
}
.find-detail-thumb-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.find-autofill-hint {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
}
.find-offer-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  color: #047857;
}
.find-suggested-offer-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 100%;
  text-align: left;
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 14px;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.find-suggested-offer-card .material-icons {
  color: #047857;
  font-size: 20px !important;
}
.find-suggested-offer-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.find-suggested-offer-body strong {
  font-size: 12px;
  color: #065F46;
}
.find-suggested-offer-value {
  font-size: 18px;
  font-weight: 700;
  color: #047857;
}
.find-suggested-offer-body small {
  font-size: 11px;
  color: #059669;
}
.find-step-pill.done {
  color: #059669;
  background: transparent;
  box-shadow: none;
}
.find-step-pill.done .find-step-num {
  background: #16A34A;
  color: #fff;
}
.find-step-pill.done .find-step-icon {
  color: #059669;
}
.find-product-steps {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  margin-bottom: 18px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.find-step-connector {
  flex: 1 1 16px;
  height: 0;
  min-width: 10px;
  border-top: 2px dashed #D1D5DB;
  background: transparent;
  border-radius: 0;
  margin: 0 4px;
}
.find-step-pill {
  flex: 0 1 auto;
  min-width: 0;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #9CA3AF;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 8px 10px;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.2;
}
.find-step-icon {
  font-size: 16px !important;
  color: #9CA3AF;
}
.find-step-num {
  display: inline-flex;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #E5E7EB;
  color: #6B7280;
  font-size: 11px;
  font-weight: 800;
}
.find-step-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}
.find-step-pill.active {
  color: #f59207;
  background: #fff;
  box-shadow: 0 8px 22px rgba(245, 146, 7, 0.18);
}
.find-step-pill.active .find-step-num {
  background: #f59207;
  color: #fff;
}
.find-step-pill.active .find-step-icon,
.find-step-pill.active .find-step-label {
  color: #f59207;
}
.find-step-pill.done + .find-step-connector,
.find-step-pill.active + .find-step-connector {
  border-top-color: #FDBA74;
}
.find-step-panel {
  display: none;
  background: #fff;
  border-radius: 24px;
  padding: 20px 16px 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
  margin-bottom: 16px;
}
.find-step-panel.active { display: block; }
.find-step-card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.find-step-card-icon {
  position: relative;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 32% 28%, #FED7AA, #f59207);
}
.find-step-card-icon .material-icons {
  color: #fff;
  font-size: 30px !important;
}
.find-step-card-icon--details {
  background: radial-gradient(circle at 32% 28%, #DDD6FE, #7C3AED);
}
.find-step-card-icon--offer {
  background: radial-gradient(circle at 32% 28%, #C7D2FE, #4F46E5);
}
.find-step-card-plus {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #f59207;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-step-card-plus .material-icons {
  font-size: 14px !important;
  color: #f59207;
}
.find-step-card-copy { min-width: 0; flex: 1; }
.find-step-panel h2 { font-size: 18px; font-weight: 800; margin: 0 0 6px; color: #111827; }
.find-step-hint { font-size: 14px; color: #6B7280; margin: 0; line-height: 1.5; }
.find-step-card-copy .find-step-hint { margin: 0; }
.find-upload-zone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed #FDBA74;
  border-radius: 18px;
  background: #FFF7ED;
  padding: 36px 16px;
  cursor: pointer;
  margin: 4px 0 16px;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.find-upload-zone.is-dragover,
.find-upload-zone:hover {
  background: #FFEDD5;
  border-color: #f59207;
}
.find-upload-zone i { font-size: 40px; color: #f59207; }
.find-upload-zone span { font-weight: 800; color: #f59207; font-size: 16px; }
.find-upload-zone small { color: #9CA3AF; font-size: 12px; line-height: 1.4; max-width: 260px; }
.find-upload-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}
.find-upload-thumb {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #F3F4F6;
}
.find-upload-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.find-upload-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-details-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 20px;
}
/* Step 2: photo on top, form below — never side-by-side / overlapping on mobile */
.find-detail-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.find-detail-media {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 100%;
}
.find-detail-thumb-wrap {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #F3F4F6;
  align-self: center;
}
.find-detail-thumb-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.find-detail-media-meta {
  flex: 1 1 auto;
  min-width: 0;
  text-align: center;
}
.find-detail-media-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.find-detail-media-meta span {
  display: block;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}
.find-detail-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  min-width: 0;
  position: relative;
  z-index: 1;
}
.find-detail-fields .find-field {
  width: 100%;
  min-width: 0;
}
.find-detail-fields .find-field input,
.find-detail-fields .find-field textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
}
.find-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.find-field input, .find-field textarea {
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  padding: 12px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  box-sizing: border-box;
}
.find-field input:focus, .find-field textarea:focus {
  outline: none;
  border-color: #6366F1;
  box-shadow: 0 0 0 3px rgba(99,102,241,0.15);
}

@media (min-width: 720px) {
  .find-detail-card {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
  }
  .find-detail-media {
    flex-direction: column;
    align-items: stretch;
  }
  .find-detail-thumb-wrap {
    width: 140px;
    max-width: 140px;
    height: auto;
    align-self: stretch;
  }
  .find-detail-media-meta {
    text-align: left;
  }
}

@media (max-width: 420px) {
  .find-product-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 3px;
  }
  .find-step-pill {
    padding: 6px 6px;
    gap: 3px;
    font-size: 11px;
  }
  .find-step-icon { font-size: 14px !important; }
  .find-step-label {
    font-size: 11px;
    letter-spacing: -0.01em;
  }
  .find-step-num {
    width: 18px;
    height: 18px;
    font-size: 10px;
  }
  .find-step-connector {
    flex: 1 1 6px;
    margin: 0 2px;
  }
  .find-step-card-icon {
    width: 56px;
    height: 56px;
  }
}
.find-submit-summary {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 16px;
  font-size: 14px;
  color: #4B5563;
}
.find-step-actions { display: flex; gap: 10px; }
.find-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
}
.find-btn--primary {
  background: linear-gradient(90deg, #7C3AED 0%, #4F46E5 100%);
  color: #fff;
  flex: 1;
  width: 100%;
  box-shadow: 0 10px 20px rgba(79, 70, 229, 0.28);
  min-height: 52px;
}
.find-step-actions .find-btn--primary {
  width: auto;
}
.find-btn--primary .material-icons {
  position: absolute;
  right: 16px;
  font-size: 20px;
}
.find-btn--primary:disabled { background: #D1D5DB; box-shadow: none; cursor: not-allowed; }
.find-btn--ghost { background: #F3F4F6; color: #374151; }
.find-btn--sm { padding: 8px 12px; font-size: 13px; border-radius: 12px; }
.find-success-card {
  text-align: center;
  background: #fff;
  border: 1px solid #86EFAC;
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 24px;
}
.find-success-card i { font-size: 56px; color: #059669; }
.find-success-card h2 { margin: 12px 0 8px; }
.find-success-card p { color: #6B7280; margin-bottom: 20px; }
.find-my-requests {
  margin-top: 8px;
  background: #fff;
  border-radius: 24px;
  padding: 18px 16px 16px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}
.find-my-requests-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.find-my-requests-title {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.find-my-requests-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7C3AED;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.find-my-requests-icon .material-icons { font-size: 18px; }
.find-my-requests-header h2 { font-size: 17px; font-weight: 800; margin: 0; color: #111827; }
.find-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: none;
  border: none;
  color: #7C3AED;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 0;
  white-space: nowrap;
}
.find-view-all .material-icons { font-size: 18px; }
.find-my-requests-list { display: grid; gap: 12px; }
.find-request-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 14px;
}
.find-request-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.find-request-id { font-weight: 700; font-size: 14px; }
.find-request-status {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.find-request-status--submitted { background: #E5E7EB; color: #374151; }
.find-request-status--reviewing { background: #DBEAFE; color: #1D4ED8; }
.find-request-status--accepted { background: #D1FAE5; color: #047857; }
.find-request-status--waiting_for_payment { background: #FEF3C7; color: #B45309; }
.find-request-status--pickup { background: #E0E7FF; color: #4338CA; }
.find-request-status--on_way { background: #EDE9FE; color: #6D28D9; }
.find-request-status--waiting_for_shipping { background: #FCE7F3; color: #BE185D; }
.find-request-status--shipped { background: #CFFAFE; color: #0E7490; }
.find-request-status--delivered { background: #D1FAE5; color: #065F46; }
.find-request-status--rejected, .find-request-status--cancelled { background: #FEE2E2; color: #B91C1C; }
.find-request-meta { font-size: 13px; color: #6B7280; margin-bottom: 10px; }
.find-request-thumbs { display: flex; gap: 6px; flex-wrap: wrap; }
.find-request-thumbs img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #E5E7EB;
}
.find-empty { text-align: center; color: #9CA3AF; padding: 24px; font-size: 14px; }
.find-empty-state {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #F3F4F6;
  border-radius: 18px;
  padding: 16px;
}
.find-empty-art {
  position: relative;
  width: 76px;
  height: 68px;
  flex-shrink: 0;
}
.find-empty-box {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #EDE9FE;
  color: #7C3AED;
  display: flex;
  align-items: center;
  justify-content: center;
}
.find-empty-box .material-icons { font-size: 28px; }
.find-empty-search {
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #DDD6FE;
  color: #6D28D9;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(109, 40, 217, 0.16);
}
.find-empty-search .material-icons { font-size: 20px; }
.find-empty-copy { min-width: 0; }
.find-empty-copy strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}
.find-empty-copy p {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
  color: #6B7280;
}

.find-request-card--clickable { cursor: pointer; transition: box-shadow 0.2s, border-color 0.2s; }
.find-request-card--clickable:hover { border-color: #A5B4FC; box-shadow: 0 4px 14px rgba(99, 102, 241, 0.12); }
.find-request-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; align-items: center; }
.find-btn--pay {
  background: linear-gradient(135deg, #059669, #10B981);
  color: #fff;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.find-btn--pay:hover { filter: brightness(1.05); }
.find-btn--danger-text { color: #DC2626; }
.find-counter-offer { color: #B45309; font-weight: 600; font-size: 13px; margin-top: 6px; }
.find-team-note-inline { font-size: 13px; margin-top: 6px; color: #4B5563; }
.find-request-meta-line { margin-top: 8px; }

.find-progress { margin: 8px 0; }
.find-progress-label { font-size: 12px; color: #6B7280; margin-bottom: 4px; }
.find-progress-track { height: 8px; border-radius: 999px; background: #E5E7EB; overflow: hidden; }
.find-progress-fill { height: 100%; background: linear-gradient(90deg, #6366F1, #8B5CF6); border-radius: 999px; }

.find-request-detail { margin-top: 8px; }
.find-request-detail-body { margin-top: 12px; }
.find-request-detail-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 16px;
}
.find-request-facts { margin: 16px 0; display: grid; gap: 10px; }
.find-request-facts > div { display: grid; grid-template-columns: 110px 1fr; gap: 8px; font-size: 14px; }
.find-request-facts dt { font-weight: 600; color: #6B7280; margin: 0; }
.find-request-facts dd { margin: 0; color: #111827; }
.find-team-note { grid-column: 1 / -1; background: #F0FDF4; border: 1px solid #BBF7D0; border-radius: 10px; padding: 12px; }
.find-team-note dt { margin-bottom: 4px; }
.find-request-detail-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }
.find-request-items-title { font-size: 16px; margin: 16px 0 8px; }

.find-status-timeline {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.find-status-step {
  font-size: 11px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
  background: #F3F4F6;
  color: #6B7280;
}
.find-status-step.active { background: #EEF2FF; color: #4338CA; border: 1px solid #C7D2FE; }
.find-status-step.done { background: #DCFCE7; color: #047857; }

.find-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.find-modal[hidden] { display: none !important; }
.find-modal-content {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.find-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid #E5E7EB;
}
.find-modal-header h2 { margin: 0; font-size: 18px; }
.find-modal-close { border: none; background: transparent; cursor: pointer; color: #6B7280; }
.find-modal-body { padding: 18px; font-size: 14px; line-height: 1.5; color: #374151; }
.find-modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 18px;
  border-top: 1px solid #E5E7EB;
}
.find-btn--danger { background: #DC2626; color: #fff; border: none; }

.find-manual-pay {
  margin-top: 8px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #BBF7D0;
  background: linear-gradient(180deg, #F0FDF4, #fff);
}
.find-manual-pay-compact-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #047857;
  margin-bottom: 8px;
}
.find-manual-pay-compact-label .material-icons { font-size: 18px; }
.find-manual-pay-header {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.find-manual-pay-header .material-icons { color: #059669; }
.find-manual-pay-header p { margin: 4px 0 0; font-size: 13px; color: #6B7280; line-height: 1.45; }
.find-manual-pay-amount {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #E5E7EB;
  margin-bottom: 10px;
  font-size: 14px;
}
.find-manual-pay-amount strong { font-size: 16px; color: #111827; }
.find-manual-pay-row {
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  border: 1px solid #E5E7EB;
  background: #fff;
}
.find-manual-pay-row--mpesa { border-left: 4px solid #00A651; }
.find-manual-pay-row--airtel { border-left: 4px solid #ED1C24; }
.find-manual-pay-network { font-weight: 700; font-size: 14px; }
.find-manual-pay-number { font-size: 18px; font-weight: 700; margin-top: 2px; letter-spacing: 0.02em; }
.find-manual-pay-name { font-size: 12px; color: #6B7280; margin-top: 2px; }
.find-manual-pay-hint { font-size: 12px; color: #6B7280; margin: 8px 0 0; line-height: 1.45; }
.find-manual-pay-actions { margin-top: 12px; }
.find-payment-block--stripe { margin-top: 4px; }

/* Login gate */
.find-product-page.find-product-locked .find-product-app { display: none !important; }
.find-product-auth-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #6B7280;
  font-size: 15px;
}
.find-product-auth-loading i { font-size: 40px; color: #6366F1; }

/* Header — keep account only; hide shop region pill/card if injected */
.find-product-page #dtm-shop-region-pill,
.find-product-page #dtm-shop-region-account,
.find-product-page .dtm-region-account-card,
.find-product-page .find-region-account-slot {
  display: none !important;
}
.find-budget-field { margin-bottom: 16px; }
.find-budget-label-currency {
  font-weight: 500;
  color: #6B7280;
}
.find-budget-input-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  background: #fff;
  padding: 0 12px;
}
.find-budget-symbol {
  font-weight: 600;
  color: #9CA3AF;
  flex-shrink: 0;
  font-size: 14px;
}
.find-budget-input-wrap input {
  flex: 1;
  border: none;
  padding: 12px 0;
  font-size: 15px;
  background: transparent;
}
.find-budget-input-wrap input:focus { outline: none; box-shadow: none; }

/* AI find product */
.find-ai-badge-inline {
  display: none !important;
}

.find-upload-grid--ai {
  grid-template-columns: 1fr;
  gap: 14px;
}
.find-upload-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 10px;
}
.find-upload-meta { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.find-size-select {
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  background: #fff;
}
.find-upload-ai-title {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #4338CA;
  line-height: 1.4;
}
.find-upload-ai-error {
  margin: 0;
  font-size: 12px;
  color: #B45309;
  line-height: 1.4;
  background: #FFFBEB;
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 8px;
}
.find-ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 999px;
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: rgba(255,255,255,0.95);
  border: 1px solid #E5E7EB;
}
.find-upload-thumb { position: relative; }
.find-ai-badge--loading { color: #6366F1; }
.find-ai-badge--done { color: #059669; border-color: #86EFAC; }
.find-ai-badge--error { color: #D97706; border-color: #FCD34D; }
.find-ai-badge--pending { color: #6B7280; }
.find-ai-badge-inline {
  font-size: 10px;
  font-weight: 700;
  color: #6366F1;
  background: #EEF2FF;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.find-ai-status-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 16px;
}
.find-ai-status-banner--loading {
  background: #EEF2FF;
  color: #4338CA;
  border: 1px solid #C7D2FE;
}
.find-ai-status-banner--success {
  background: #ECFDF5;
  color: #047857;
  border: 1px solid #86EFAC;
}
.find-detail-card--ai { border: 1px solid #C7D2FE; }
.find-detail-ai-header {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
}
.find-detail-ai-header .find-ai-badge { position: static; }
.find-detail-size-tag {
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  background: #F3F4F6;
  padding: 4px 10px;
  border-radius: 999px;
}
.find-field--inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.find-ai-summary {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 13px;
  color: #4338CA;
  background: #EEF2FF;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0 0 10px;
  line-height: 1.5;
}
.find-ai-summary i { font-size: 18px; flex-shrink: 0; }
.find-ai-matches-wrap h4 {
  margin: 12px 0 8px;
  font-size: 13px;
  color: #6B7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.find-ai-matches {
  display: grid;
  gap: 8px;
}
.find-ai-match-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px;
  padding: 10px;
  border: 1px solid #E5E7EB;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  background: #FAFAFA;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.find-ai-match-card:hover {
  border-color: #A5B4FC;
  box-shadow: 0 2px 8px rgba(99,102,241,0.12);
}
.find-ai-match-thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: #E5E7EB;
}
.find-ai-match-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6366F1;
}
.find-ai-match-body strong {
  display: block;
  font-size: 13px;
  line-height: 1.35;
  margin-bottom: 4px;
}
.find-ai-match-body p {
  margin: 0;
  font-size: 12px;
  color: #6B7280;
  line-height: 1.4;
}
.find-ai-match-source {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  padding: 2px 6px;
  border-radius: 4px;
}
.find-ai-match-source--instagram { background: #FCE7F3; color: #BE185D; }
.find-ai-match-source--facebook { background: #DBEAFE; color: #1D4ED8; }
.find-ai-match-source--google { background: #FEF3C7; color: #B45309; }
.find-ai-match-source--web { background: #F3F4F6; color: #374151; }
.find-ai-no-matches {
  font-size: 13px;
  color: #6B7280;
  margin: 0;
  font-style: italic;
}
.find-ai-price-hint {
  font-size: 13px;
  color: #059669;
  margin: 8px 0 0;
}
.find-budget-ai-hint { margin-top: 6px; font-size: 12px; }
.find-spin {
  animation: find-spin 1s linear infinite;
}
@keyframes find-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.find-product-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Find This Product is light-only — do not follow device dark mode */
.find-product-page {
  color-scheme: light only;
}
.find-product-page,
.find-product-page[data-theme="light"],
.find-product-page[data-theme="dark"] {
  background: #F9FAFB;
  color: #111827;
}

.find-ship-panel {
  margin: 16px 0;
  padding: 14px;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  background: #fff;
}
.find-ship-panel h3 {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.find-ship-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #6B7280;
  line-height: 1.4;
}
.find-ship-selected {
  margin: 0 0 10px;
  font-size: 13px;
  color: #374151;
}
.find-ship-options {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.find-ship-option {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FAFAFA;
  cursor: pointer;
}
.find-ship-option.is-selected {
  border-color: #6366F1;
  background: #EEF2FF;
}
.find-ship-option input {
  margin-top: 3px;
}
.find-ship-option-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13px;
  color: #6B7280;
}
.find-ship-option-body strong {
  color: #111827;
  font-size: 14px;
}
.find-ship-address {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.find-ship-address h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #374151;
}
.find-ship-address-hint {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}
.find-ship-address-hint.is-ok {
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  border: 1px solid rgba(16, 185, 129, 0.28);
}
.find-ship-address-hint.is-warn {
  background: rgba(245, 158, 11, 0.12);
  color: #92400E;
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.find-ship-profile-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
.find-ship-address-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.find-ship-msg {
  margin: 8px 0 0;
  font-size: 13px;
  font-weight: 600;
}
.find-ship-msg.is-ok { color: #047857; }
.find-ship-msg.is-error { color: #B91C1C; }

@media (max-width: 560px) {
  .find-detail-card { grid-template-columns: 1fr; }
  .find-detail-card img { width: 100%; height: 160px; }
  .find-product-steps {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
  }
  .find-request-facts > div { grid-template-columns: 1fr; gap: 4px; }
  .find-modal-footer { flex-direction: column-reverse; }
  .find-modal-footer .find-btn { width: 100%; justify-content: center; }
  .find-request-detail-actions .find-btn { width: 100%; justify-content: center; }
  .find-ship-address-row { grid-template-columns: 1fr; }
}
