/* ============================================================
   BIZBA INDIA — Enterprise B2B RFQ Stylesheet (rfq.css)
   World-Class B2B Manufacturing / OEM / Private Label Sourcing
   Harmonious with Bizba India's Forest Green (#061e12) & Gold (#B8872A)
   ============================================================ */

:root {
  --rfq-primary: #061e12;
  --rfq-primary-mid: #0f3d26;
  --rfq-primary-light: #164e32;
  --rfq-gold: #B8872A;
  --rfq-gold-hover: #9E6F1F;
  --rfq-gold-light: #F7F1E5;
  --rfq-gold-subtle: rgba(184, 135, 42, 0.12);
  --rfq-border: #E8E2D9;
  --rfq-border-focus: #B8872A;
  --rfq-bg: #FAFAF7;
  --rfq-card-bg: #FFFFFF;
  --rfq-text: #1A1814;
  --rfq-text-muted: #6B6255;
  --rfq-text-light: #8C8275;
  --rfq-success: #15803d;
  --rfq-success-bg: #dcfce7;
  --rfq-error: #dc2626;
  --rfq-error-bg: #fef2f2;
  --rfq-radius-sm: 8px;
  --rfq-radius-md: 12px;
  --rfq-radius-lg: 16px;
  --rfq-shadow-sm: 0 2px 8px rgba(26, 24, 20, 0.05);
  --rfq-shadow-md: 0 6px 20px rgba(26, 24, 20, 0.08);
  --rfq-shadow-lg: 0 16px 40px rgba(6, 30, 18, 0.12);
  --rfq-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Container Layout ── */
.rfq-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

/* ── RFQ Stepper Bar ── */
.rfq-stepper-container {
  background: #ffffff;
  border: 1px solid var(--rfq-border);
  border-radius: var(--rfq-radius-lg);
  padding: 16px 24px;
  margin: -24px auto 32px;
  position: relative;
  z-index: 10;
  box-shadow: var(--rfq-shadow-md);
  max-width: 980px;
}

.rfq-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.rfq-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 6px 10px;
  border-radius: 100px;
  transition: var(--rfq-transition);
}

.rfq-step-item:focus-visible {
  outline: 2px solid var(--rfq-gold);
  outline-offset: 2px;
}

.rfq-step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #F4EFE8;
  color: var(--rfq-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.88rem;
  border: 2px solid var(--rfq-border);
  transition: var(--rfq-transition);
  flex-shrink: 0;
}

.rfq-step-meta {
  display: flex;
  flex-direction: column;
}

.rfq-step-num {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--rfq-text-light);
}

.rfq-step-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rfq-text);
  white-space: nowrap;
}

.rfq-step-line {
  flex: 1;
  height: 2px;
  background: var(--rfq-border);
  margin: 0 12px;
  position: relative;
  transition: var(--rfq-transition);
}

/* Active & Completed Stepper states */
.rfq-step-item.active .rfq-step-badge {
  background: var(--rfq-primary);
  color: #F0E4C8;
  border-color: var(--rfq-gold);
  box-shadow: 0 0 0 4px var(--rfq-gold-subtle);
}

.rfq-step-item.active .rfq-step-title {
  color: var(--rfq-primary);
  font-weight: 800;
}

.rfq-step-item.completed .rfq-step-badge {
  background: var(--rfq-success);
  color: #ffffff;
  border-color: var(--rfq-success);
}

.rfq-step-item.completed .rfq-step-title {
  color: var(--rfq-success);
}

.rfq-step-line.completed {
  background: var(--rfq-success);
}

/* ── Main Layout: Content Grid ── */
.rfq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(320px, 1fr);
  gap: 28px;
  align-items: start;
}

/* ── Step Container Panes ── */
.rfq-step-pane {
  display: none;
}

.rfq-step-pane.active {
  display: block;
  animation: rfqFadeIn 0.3s ease forwards;
}

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

/* ── Section Cards ── */
.rfq-card {
  background: var(--rfq-card-bg);
  border: 1px solid var(--rfq-border);
  border-radius: var(--rfq-radius-lg);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--rfq-shadow-sm);
  transition: var(--rfq-transition);
}

.rfq-card:hover {
  border-color: #D8CFBE;
}

.rfq-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rfq-border);
  flex-wrap: wrap;
}

.rfq-card-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rfq-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--rfq-gold-light);
  color: var(--rfq-gold-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.rfq-card-title {
  font-family: var(--font-heading, serif);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--rfq-primary);
  margin: 0;
  line-height: 1.25;
}

.rfq-card-subtitle {
  font-size: 0.8rem;
  color: var(--rfq-text-muted);
  margin: 2px 0 0;
}

/* ── Multi-Product Header & Switcher Tabs ── */
.rfq-product-tabs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 18px;
  scrollbar-width: thin;
}

.rfq-product-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #F4EFE8;
  border: 1px solid var(--rfq-border);
  border-radius: 100px;
  padding: 7px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rfq-text);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--rfq-transition);
}

.rfq-product-tab:hover {
  background: #EDE6D8;
  border-color: #D8CFBE;
}

.rfq-product-tab.active {
  background: var(--rfq-primary);
  color: #F0E4C8;
  border-color: var(--rfq-primary);
  box-shadow: 0 2px 8px rgba(6, 30, 18, 0.2);
}

.rfq-product-tab-add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1.5px dashed var(--rfq-gold);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rfq-gold);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--rfq-transition);
}

.rfq-product-tab-add:hover {
  background: var(--rfq-gold-light);
  color: var(--rfq-gold-hover);
}

/* ── Individual Product Card ── */
.rfq-product-card {
  background: #ffffff;
  border: 1.5px solid var(--rfq-border);
  border-radius: var(--rfq-radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  position: relative;
  transition: var(--rfq-transition);
}

.rfq-product-card.collapsed {
  padding: 14px 20px;
}

.rfq-product-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--rfq-border);
}

.rfq-product-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--rfq-gold-light);
  color: #7A6347;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.rfq-btn-sm {
  background: #ffffff;
  border: 1px solid var(--rfq-border);
  border-radius: 8px;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--rfq-text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: var(--rfq-transition);
}

.rfq-btn-sm:hover {
  background: #F4EFE8;
  border-color: #D8CFBE;
}

.rfq-btn-sm.rfq-btn-danger:hover {
  background: var(--rfq-error-bg);
  color: var(--rfq-error);
  border-color: #fca5a5;
}

/* ── Form Fields & Grids ── */
.rfq-form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.rfq-form-row-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.rfq-form-row-2 {
  grid-template-columns: 1fr 1fr;
}

.rfq-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.rfq-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--rfq-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.rfq-label .req {
  color: var(--rfq-error);
  font-size: 0.9rem;
}

.rfq-label .opt {
  font-size: 0.68rem;
  text-transform: none;
  font-weight: 500;
  color: var(--rfq-text-light);
  letter-spacing: 0;
  margin-left: auto;
}

.rfq-input,
.rfq-select,
.rfq-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid var(--rfq-border);
  border-radius: var(--rfq-radius-sm);
  font-size: 0.88rem;
  color: var(--rfq-text);
  background: #FAFAF7;
  font-family: inherit;
  transition: var(--rfq-transition);
  outline: none;
}

.rfq-input:focus,
.rfq-select:focus,
.rfq-textarea:focus {
  border-color: var(--rfq-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--rfq-gold-subtle);
}

.rfq-input.has-error,
.rfq-select.has-error,
.rfq-textarea.has-error {
  border-color: var(--rfq-error);
  background: var(--rfq-error-bg);
}

.rfq-field-err {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rfq-error);
  min-height: 15px;
}

.rfq-field-hint {
  font-size: 0.73rem;
  color: var(--rfq-text-light);
  line-height: 1.4;
}

/* Quantity Wrap with Stepper Buttons */
.rfq-qty-wrap {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--rfq-border);
  border-radius: var(--rfq-radius-sm);
  background: #FAFAF7;
  overflow: hidden;
  transition: var(--rfq-transition);
}

.rfq-qty-wrap:focus-within {
  border-color: var(--rfq-gold);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--rfq-gold-subtle);
}

.rfq-qty-btn {
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  color: var(--rfq-text);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--rfq-transition);
}

.rfq-qty-btn:hover {
  background: var(--rfq-gold-light);
  color: var(--rfq-gold-hover);
}

.rfq-qty-input {
  flex: 1;
  text-align: center;
  border: none;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rfq-text);
  outline: none;
  min-width: 50px;
}

/* Dimensions Grid */
.rfq-dimensions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 90px;
  gap: 8px;
  align-items: center;
}

.rfq-dim-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.rfq-dim-field span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--rfq-text-light);
  text-transform: uppercase;
}

.rfq-dim-field input {
  padding: 8px 10px;
  border: 1.5px solid var(--rfq-border);
  border-radius: 6px;
  font-size: 0.82rem;
  background: #FAFAF7;
  outline: none;
  width: 100%;
}

.rfq-dim-field input:focus {
  border-color: var(--rfq-gold);
  background: #ffffff;
}

/* ── Pill Selector (Toggle Buttons) ── */
.rfq-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rfq-pill {
  cursor: pointer;
}

.rfq-pill input[type="radio"],
.rfq-pill input[type="checkbox"] {
  display: none;
}

.rfq-pill-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #F4EFE8;
  border: 1.5px solid var(--rfq-border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rfq-text);
  transition: var(--rfq-transition);
  user-select: none;
}

.rfq-pill:hover .rfq-pill-label {
  border-color: #D8CFBE;
  background: #EDE6D8;
}

.rfq-pill input:checked + .rfq-pill-label {
  background: var(--rfq-primary);
  color: #F0E4C8;
  border-color: var(--rfq-primary);
  box-shadow: 0 2px 8px rgba(6, 30, 18, 0.15);
}

/* ── Multiple File Upload Dropzone ── */
.rfq-upload-zone {
  border: 2px dashed #C8C0B0;
  border-radius: var(--rfq-radius-md);
  padding: 24px 20px;
  background: #FDFCFA;
  text-align: center;
  cursor: pointer;
  transition: var(--rfq-transition);
  position: relative;
}

.rfq-upload-zone:hover,
.rfq-upload-zone.dragover {
  border-color: var(--rfq-gold);
  background: #FFFDF8;
}

.rfq-upload-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--rfq-gold-light);
  color: var(--rfq-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.25rem;
}

.rfq-upload-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rfq-text);
  margin-bottom: 4px;
}

.rfq-upload-hint {
  font-size: 0.74rem;
  color: var(--rfq-text-light);
}

.rfq-file-input-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* File Preview List */
.rfq-file-previews {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.rfq-file-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--rfq-border);
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03);
}

.rfq-file-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.rfq-file-type-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #F4EFE8;
  color: var(--rfq-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.rfq-file-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rfq-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rfq-file-size {
  font-size: 0.72rem;
  color: var(--rfq-text-light);
}

.rfq-file-remove {
  background: transparent;
  border: none;
  color: #A89A82;
  cursor: pointer;
  padding: 4px;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--rfq-transition);
}

.rfq-file-remove:hover {
  color: var(--rfq-error);
  background: var(--rfq-error-bg);
}

/* ── Conditional Field Wrappers ── */
.rfq-conditional-box {
  background: #FDFCFA;
  border: 1px solid #EAE3D5;
  border-radius: var(--rfq-radius-md);
  padding: 18px;
  margin-top: 14px;
  display: none;
  animation: rfqFadeIn 0.25s ease forwards;
}

.rfq-conditional-box.visible {
  display: block;
}

/* ── Live RFQ Summary Panel (Right Column) ── */
.rfq-sidebar {
  position: sticky;
  top: 150px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rfq-summary-card {
  background: #ffffff;
  border: 1px solid var(--rfq-border);
  border-radius: var(--rfq-radius-lg);
  padding: 22px;
  box-shadow: var(--rfq-shadow-md);
}

.rfq-summary-title {
  font-family: var(--font-heading, serif);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--rfq-primary);
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.rfq-summary-badge {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--rfq-gold-light);
  color: var(--rfq-gold-hover);
  padding: 3px 9px;
  border-radius: 100px;
}

.rfq-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.rfq-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
  color: var(--rfq-text-muted);
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--rfq-border);
}

.rfq-summary-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rfq-summary-val {
  font-weight: 700;
  color: var(--rfq-text);
  text-align: right;
}

.rfq-summary-val.highlight {
  color: var(--rfq-primary);
}

/* Trust Elements */
.rfq-trust-box {
  background: #FDFCFA;
  border: 1px solid var(--rfq-border);
  border-radius: var(--rfq-radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rfq-trust-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rfq-primary);
}

.rfq-trust-row i {
  color: var(--rfq-gold);
  font-size: 0.85rem;
  width: 16px;
}

/* ── Navigation Buttons ── */
.rfq-nav-buttons {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.rfq-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--rfq-transition);
  text-decoration: none;
  border: 1.5px solid transparent;
}

.rfq-btn-primary {
  background: var(--rfq-primary);
  color: #F0E4C8;
  border-color: var(--rfq-primary);
  box-shadow: 0 4px 14px rgba(6, 30, 18, 0.2);
}

.rfq-btn-primary:hover {
  background: var(--rfq-primary-mid);
  transform: translateY(-1px);
}

.rfq-btn-gold {
  background: var(--rfq-gold);
  color: #ffffff;
  border-color: var(--rfq-gold);
  box-shadow: 0 4px 14px rgba(184, 135, 42, 0.25);
}

.rfq-btn-gold:hover {
  background: var(--rfq-gold-hover);
  border-color: var(--rfq-gold-hover);
  transform: translateY(-1px);
}

.rfq-btn-outline {
  background: #ffffff;
  color: var(--rfq-text);
  border-color: var(--rfq-border);
}

.rfq-btn-outline:hover {
  background: #F4EFE8;
  border-color: #D8CFBE;
}

.rfq-btn-save-draft {
  background: #FAF8F4;
  color: var(--rfq-gold-hover);
  border-color: #E8DECD;
  font-size: 0.82rem;
  padding: 8px 16px;
}

.rfq-btn-save-draft:hover {
  background: var(--rfq-gold-light);
  border-color: var(--rfq-gold);
}

.rfq-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
}

/* ── Draft Auto-Save Notification ── */
.rfq-draft-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--rfq-text-light);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
  background: #F4EFE8;
  transition: var(--rfq-transition);
}

.rfq-draft-indicator.saved {
  color: var(--rfq-success);
  background: var(--rfq-success-bg);
}

/* ── Responsive Refinements ── */
@media (max-width: 992px) {
  .rfq-grid {
    grid-template-columns: 1fr;
  }
  .rfq-sidebar {
    position: static;
    margin-top: 10px;
  }
  .rfq-dimensions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .rfq-form-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rfq-stepper-container {
    padding: 12px 14px;
    margin-top: -14px;
  }
  .rfq-step-title {
    display: none;
  }
  .rfq-step-num {
    font-size: 0.72rem;
  }
  .rfq-form-row,
  .rfq-form-row-2 {
    grid-template-columns: 1fr;
  }
  .rfq-dimensions-grid {
    grid-template-columns: 1fr;
  }
  .rfq-card {
    padding: 18px 14px;
  }
  .rfq-nav-buttons {
    flex-direction: column-reverse;
  }
  .rfq-nav-buttons .rfq-btn {
    width: 100%;
  }
}

/* ============================================================
   SIMPLE / QUICK MODE + SEO/UX ADD-ONS
   ============================================================ */

/* Breadcrumb inside hero */
.rfq-breadcrumb {
  font-size: 0.78rem;
  color: var(--rfq-text-light);
  margin-bottom: 10px;
}
.rfq-breadcrumb a {
  color: var(--rfq-gold-hover);
  text-decoration: none;
  font-weight: 600;
}
.rfq-breadcrumb a:hover { text-decoration: underline; }

/* Hero trust bullets + helper links */
.rfq-hero-trust {
  list-style: none;
  margin: 16px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffffff;
}
.rfq-hero-trust i { color: var(--rfq-gold); margin-right: 6px; }
.rfq-hero-links {
  font-size: 0.8rem;
  color: var(--rfq-text-muted);
  margin: 10px 0 0;
}
.rfq-hero-links a { color: var(--rfq-gold-hover); font-weight: 700; }

/* Mode toggle (Quick vs Detailed) */
.rfq-mode-toggle {
  display: flex;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 10px;
  background: #fff;
  border: 1px solid var(--rfq-border);
  border-radius: 100px;
  padding: 6px;
  box-shadow: var(--rfq-shadow-sm);
}
.rfq-mode-btn {
  flex: 1;
  border: none;
  background: transparent;
  border-radius: 100px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--rfq-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--rfq-transition);
}
.rfq-mode-btn small {
  font-weight: 600;
  font-size: 0.72rem;
  opacity: 0.75;
}
.rfq-mode-btn.active {
  background: var(--rfq-primary);
  color: #F0E4C8;
  box-shadow: 0 2px 8px rgba(6, 30, 18, 0.25);
}
.rfq-mode-hint {
  text-align: center;
  font-size: 0.82rem;
  color: var(--rfq-text-muted);
  margin: 0 0 20px;
}

/* Progress bar under stepper */
.rfq-progress {
  max-width: 980px;
  margin: 0 auto 6px;
  height: 8px;
  background: #EFE9DD;
  border-radius: 100px;
  overflow: hidden;
}
.rfq-progress-fill {
  height: 100%;
  width: 33%;
  background: linear-gradient(90deg, var(--rfq-gold), var(--rfq-gold-hover));
  border-radius: 100px;
  transition: width 0.3s ease;
}
.rfq-progress-text {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--rfq-text-muted);
  margin: 0 0 22px;
}

/* Inline help tooltips (?) */
.rfq-tip {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rfq-gold-light);
  color: var(--rfq-gold-hover);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: help;
  position: relative;
  vertical-align: middle;
}
.rfq-tip-box {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 230px;
  background: var(--rfq-primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.5;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 50;
  text-transform: none;
  letter-spacing: 0;
}
.rfq-tip:hover .rfq-tip-box,
.rfq-tip:focus .rfq-tip-box { display: block; }

/* FAQ + trust section */
.rfq-faq-section {
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 20px 70px;
}
.rfq-faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(300px, 1fr);
  gap: 26px;
  align-items: start;
}
.rfq-faq-grid h2 {
  font-family: var(--font-heading, serif);
  font-size: 1.4rem;
  color: var(--rfq-primary);
  margin: 0 0 4px;
}
.rfq-faq-sub { font-size: 0.85rem; color: var(--rfq-text-muted); margin: 0 0 16px; }
.rfq-faq-list { display: flex; flex-direction: column; gap: 10px; }
.rfq-faq-item {
  background: #fff;
  border: 1px solid var(--rfq-border);
  border-radius: 12px;
  padding: 14px 18px;
}
.rfq-faq-item summary {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--rfq-primary);
  cursor: pointer;
}
.rfq-faq-item p { font-size: 0.86rem; color: var(--rfq-text-muted); line-height: 1.6; margin: 8px 0 0; }
.rfq-faq-item p a { color: var(--rfq-gold-hover); font-weight: 700; }
.rfq-faq-trust-card {
  background: #fff;
  border: 1px solid var(--rfq-border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--rfq-shadow-md);
  position: sticky;
  top: 150px;
}
.rfq-faq-trust-card h3 {
  font-size: 1.02rem;
  color: var(--rfq-primary);
  margin: 0 0 12px;
}
.rfq-faq-trust-card ul {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.84rem;
  color: var(--rfq-text);
}
.rfq-faq-trust-card ul i { color: var(--rfq-success, #15803d); margin-right: 6px; }
.rfq-faq-contact { font-size: 0.78rem; color: var(--rfq-text-muted); text-align: center; margin: 10px 0 0; }
.rfq-faq-contact a { color: var(--rfq-gold-hover); font-weight: 700; }

@media (max-width: 992px) {
  .rfq-faq-grid { grid-template-columns: 1fr; }
  .rfq-faq-trust-card { position: static; }
}
@media (max-width: 680px) {
  .rfq-mode-toggle { flex-direction: column; border-radius: 16px; }
  .rfq-mode-btn { width: 100%; }
}

/* ============================================================
   QUICK QUOTE — EXCELLENT LEVEL FINISH
   ============================================================ */
/* Quick form is single column (no summary sidebar) — steps centered at readable width */
#rfqQuickForm .rfq-grid { grid-template-columns: minmax(0, 1fr); }
#rfqQuickForm .rfq-main-col { min-width: 0; width: 100%; max-width: 880px; margin: 0 auto; }
.rq-quick-pane { display: none; }
.rq-quick-pane.active { display: block; animation: rfqFadeIn 0.3s ease forwards; }
.rq-quick-card {
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--rfq-gold);
  box-shadow: var(--rfq-shadow-md);
}
.rq-quick-step {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--rfq-text-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--rfq-border);
}
.rq-quick-step i { color: var(--rfq-gold); font-size: 0.9rem; }
.rq-quick-num {
  display: inline-grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 6px;
  border-radius: 100px;
  background: var(--rfq-primary);
  color: #F0E4C8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
/* 4-col terms row (Qty / Unit / Price / Currency) */
.rq-quick-row-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
/* Sample fieldset */
.rq-quick-fieldset {
  border: 1px solid #EAE3D5;
  background: #FDFCFA;
  border-radius: var(--rfq-radius-md);
  padding: 14px 16px;
  margin: 4px 0 16px;
  transition: var(--rfq-transition);
}
.rq-quick-fieldset:focus-within {
  border-color: var(--rfq-gold);
  box-shadow: 0 0 0 3px var(--rfq-gold-subtle);
}
.rq-quick-fieldset legend { padding: 0 6px; }
.rq-quick-qty {
  display: none;
  align-items: center;
  align-self: center;
  flex-shrink: 0;
  gap: 8px;
  margin-left: 6px;
  background: #fff;
  border-radius: 100px;
  padding: 5px 8px 5px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--rfq-text-muted);
  line-height: 1.2;
  transition: var(--rfq-transition);
}
.rq-quick-qty.visible { display: inline-flex; animation: rfqFadeIn 0.25s ease forwards; }
.rq-quick-qty:focus-within {
  border-color: var(--rfq-gold);
  box-shadow: 0 0 0 3px var(--rfq-gold-subtle);
}
.rq-quick-fieldset .rfq-pill-group { align-items: center; }
.rq-quick-qty input {
  width: 58px;
  border: none;
  background: transparent;
  outline: none;
  box-shadow: none;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--rfq-text);
  text-align: center;
  padding: 0;
  margin: 0;
}
/* File chips — one tab per uploaded image */
.rq-quick-filechip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.rq-quick-filechip .chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--rfq-border);
  border-radius: 100px;
  padding: 6px 8px 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--rfq-text);
  box-shadow: var(--rfq-shadow-sm);
  max-width: 100%;
}
.rq-quick-filechip .chip i { color: var(--rfq-gold); flex-shrink: 0; }
.rq-quick-filechip .chip img.rq-chip-thumb {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.rq-quick-filechip .chip .rq-chip-name {
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rq-quick-filechip .chip .rq-chip-size {
  color: var(--rfq-text-light);
  font-weight: 500;
  font-size: 0.72rem;
  white-space: nowrap;
}
.rq-quick-filechip .chip button {
  border: 1px solid var(--rfq-border);
  background: #F4EFE8;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  cursor: pointer;
  font-size: 0.8rem;
  line-height: 1;
  color: var(--rfq-text-muted);
}
.rq-quick-filechip .chip button:hover { color: var(--rfq-error); border-color: #fca5a5; }
/* Error shake */
@keyframes rqShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.rq-quick-card .has-error { animation: rqShake 0.25s ease; }

@media (max-width: 992px) {
  .rq-quick-row-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .rq-quick-row-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   QUICK QUOTE — PREMIUM UPLOAD ZONE + SINGLE FIRST-IMAGE PREVIEW
   ============================================================ */
.rq-quick-upload {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px dashed #D6CCB6;
  border-radius: 10px;
  background: #FDFCFA;
  padding: 10px 12px;
  cursor: pointer;
  overflow: hidden;
  min-height: 56px;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.rq-quick-upload-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F7F1E5;
  color: var(--rfq-gold-hover);
  font-size: 1rem;
  flex-shrink: 0;
  border: 1px solid #EDE6D8;
}
.rq-quick-upload-text {
  flex: 1;
  min-width: 0;
  text-align: left;
  line-height: 1.35;
}
.rq-quick-upload-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rfq-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rq-quick-upload-title span {
  color: var(--rfq-gold-hover);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.rq-quick-upload-hint {
  font-size: 0.70rem;
  color: var(--rfq-text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rq-quick-upload-btn {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #E8E2D9;
  border-radius: 100px;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--rfq-primary);
  white-space: nowrap;
}
.rq-quick-upload:focus-within,
.rq-quick-upload.dragover {
  border-color: #B8872A;
  background: #FFFEFB;
}
.rq-quick-file-hidden {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

/* Quick ref — uploaded image pinned top-left inside product card (default placeholder always visible) */
.rq-prod-card { position: relative; }
.rq-prod-card.has-left-image {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.rq-left-preview.rq-empty {
  background: #FDFCFA;
  border: 1.5px dashed #D6CCB6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 12px;
}
.rq-left-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--rfq-text-light);
}
.rq-left-placeholder i {
  font-size: 1.6rem;
  color: #C9BFAE;
}
.rq-left-placeholder strong {
  font-size: 0.78rem;
  color: var(--rfq-text-muted);
}
.rq-left-placeholder small {
  font-size: 0.68rem;
  line-height: 1.4;
}
/* Guest inline sign-in card — narrow like header login modal, premium finish */
.rq-auth-card {
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  padding: 30px 28px 24px;
  box-shadow: var(--rfq-shadow-md);
}
.rq-auth-card .rfq-form-row-2 { grid-template-columns: 1fr; }
.rq-auth-card .rfq-form-group { margin-bottom: 15px; }
.rq-auth-head {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--rfq-border);
}
.rq-auth-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rfq-gold-light), #FFF9EE);
  color: var(--rfq-gold-hover);
  border: 1px solid #EDE6D8;
  box-shadow: 0 4px 12px rgba(184, 135, 42, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin: 0 auto 12px;
}
.rq-auth-head .rfq-card-title { font-size: 1.25rem; letter-spacing: -0.01em; }
.rq-auth-head .rfq-card-subtitle { font-size: 0.84rem; margin-top: 4px; }
.rq-auth-field { position: relative; }
.rq-auth-field > i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--rfq-text-light);
  font-size: 0.85rem;
  pointer-events: none;
}
.rq-auth-field .rfq-input { padding-left: 37px; padding-right: 40px; height: 46px; font-size: 0.9rem; }
.rq-auth-eye {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--rfq-text-light);
  font-size: 0.9rem;
  padding: 8px;
  cursor: pointer;
  border-radius: 50%;
  line-height: 1;
  transition: var(--rfq-transition);
}
.rq-auth-eye:hover { color: var(--rfq-gold-hover); background: var(--rfq-gold-light); }
#rqQuickLoginErr { margin: 0 0 10px; font-size: 0.78rem; }
.rq-auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  font-size: 0.8rem;
  color: var(--rfq-text-muted);
}
.rq-auth-links a {
  color: var(--rfq-gold-hover);
  font-weight: 700;
  text-decoration: none;
}
.rq-auth-links a:hover { text-decoration: underline; }
.rq-auth-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rfq-text-light);
}
.rq-auth-secure {
  text-align: center;
  font-size: 0.72rem;
  color: var(--rfq-text-light);
  margin: 12px 0 0;
  padding-top: 12px;
  border-top: 1px dashed var(--rfq-border);
}
.rq-auth-secure i { color: var(--rfq-gold); margin-right: 4px; }
/* OR divider (Quick Quote) — compact pill, sized like header Sign In */
.rq-quick-or {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}
.rq-quick-or::before,
.rq-quick-or::after {
  display: none;
}
.rq-quick-or span {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--rfq-text);
  background: #fafafa;
  border: 1.5px solid var(--rfq-border);
  border-radius: 50px;
  padding: 5px 16px;
}
/* Remove the outer side gap once the reference image appears, so the content keeps its full width */
.rfq-wrapper:has(.rq-prod-card.has-left-image) {
  max-width: 1400px;
  padding-left: 0;
  padding-right: 0;
}
.rfq-wrapper:has(.rq-prod-card.has-left-image) .rfq-grid {
  gap: 16px;
}
.rq-left-preview {
  border-radius: 14px;
  border: 1px solid var(--rfq-border);
  background: #0B1F14;
  overflow: hidden;
  box-shadow: none;
  height: 190px;
  min-height: 0;
  animation: rfqFadeIn 0.28s ease forwards;
  position: sticky;
  top: 0;
  margin-top: 0;
  align-self: start;
}
.rq-left-preview img,
.rq-left-imgwrap img {
  box-shadow: none !important;
  filter: none !important;
}
.rq-left-imgwrap {
  position: absolute;
  inset: 0;
  display: block;
}
.rq-left-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rq-left-imgwrap.rq-left-doc {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF9EE, #F7F1E5);
  color: #C0392B;
  font-size: 3rem;
}
.rq-left-count {
  position: absolute;
  left: 10px;
  bottom: 52px;
  background: rgba(6, 30, 18, 0.8);
  color: #F0E4C8;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
}
.rq-left-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent, rgba(6, 30, 18, 0.85));
  color: #fff;
  padding: 22px 10px 10px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.rq-left-info strong {
  font-size: 0.76rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}
.rq-left-info small { font-size: 0.68rem; opacity: 0.85; }
.rq-left-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(6, 30, 18, 0.7);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: var(--rfq-transition);
  z-index: 2;
}
.rq-left-remove:hover { background: var(--rfq-error); border-color: var(--rfq-error); }
.rq-right-body { min-width: 0; }
@media (max-width: 992px) {
  .rq-prod-card.has-left-image { grid-template-columns: 180px minmax(0, 1fr); }
  .rfq-wrapper:has(.rq-prod-card.has-left-image) { padding-left: 12px; padding-right: 12px; }
}
@media (max-width: 680px) {
  .rq-quick-upload { padding: 10px 11px; gap: 10px; }
  .rq-quick-upload-btn { padding: 5px 11px; font-size: 0.74rem; }
  .rq-prod-card.has-left-image { grid-template-columns: 1fr; }
  .rq-left-preview { height: 160px; position: static; margin-top: 0; }
}
