/* design-system.css is already loaded via style.css — do NOT re-import here
   to avoid overriding html { font-size: 16px } back to 14px */

/* ─── CUSTOMER QUOTATION MANAGEMENT STYLES (MBGPLG.COM) ─── */

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
  white-space: nowrap;
}

.status-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-badge-draft {
  background: rgba(149, 165, 166, 0.15);
  color: #7f8c8d;
  border: 1px solid rgba(149, 165, 166, 0.3);
}
.status-badge-draft::before { background: #7f8c8d; }

.status-badge-waiting {
  background: rgba(241, 196, 15, 0.15);
  color: #d35400;
  border: 1px solid rgba(241, 196, 15, 0.35);
}
.status-badge-waiting::before { background: #f39c12; }

.status-badge-sent {
  background: rgba(52, 152, 219, 0.15);
  color: #2980b9;
  border: 1px solid rgba(52, 152, 219, 0.3);
}
.status-badge-sent::before { background: #3498db; }

.status-badge-viewed {
  background: rgba(155, 89, 182, 0.15);
  color: #8e44ad;
  border: 1px solid rgba(155, 89, 182, 0.3);
}
.status-badge-viewed::before { background: #9b59b6; }

.status-badge-accepted {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid rgba(46, 204, 113, 0.35);
}
.status-badge-accepted::before { background: #2ecc71; }

.status-badge-rejected {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  border: 1px solid rgba(231, 76, 60, 0.3);
}
.status-badge-rejected::before { background: #e74c3c; }

.status-badge-expired {
  background: rgba(127, 140, 141, 0.2);
  color: #7f8c8d;
  border: 1px solid rgba(127, 140, 141, 0.3);
  text-decoration: line-through;
}
.status-badge-expired::before { background: #95a5a6; }

/* Filter Tabs */
.quote-status-tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--glass-border);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.quote-status-tabs::-webkit-scrollbar { display: none; }

.quote-status-tab {
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.78rem;
  border: 1px solid var(--glass-border);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.quote-status-tab:hover {
  background: var(--gray-50);
  color: var(--text-primary);
}
.quote-status-tab.active {
  background: var(--accent-blue-bg);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
}

/* Quotation Table */
.quotation-table-wrapper {
  background: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  overflow: hidden;
}
.table-quotation {
  width: 100%;
  border-collapse: collapse;
}
.table-quotation th {
  text-align: left;
  padding: 0.85rem 1.25rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 2px solid var(--glass-border);
  background: var(--gray-50);
}
.table-quotation td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.88rem;
  color: var(--text-primary);
  vertical-align: middle;
}
.table-quotation tr:hover {
  background: var(--gray-50);
  cursor: pointer;
}

/* Professional Document Preview Modal Styling */
.document-preview-card {
  width: 100%;
  max-width: 860px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border: 1px solid var(--glass-border);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.document-header-banner {
  background: linear-gradient(135deg, #1b365d 0%, #0d213a 100%);
  color: var(--white);
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--accent-blue);
}

.document-letterhead {
  padding: 1.75rem 2rem;
  background: #ffffff;
  overflow-y: auto;
  flex: 1;
  scrollbar-width: none;
}
.document-letterhead::-webkit-scrollbar { display: none; }

.doc-paper-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 1.5rem;
}

.doc-brand-block h2 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 800;
  color: #1b365d;
  margin: 0 0 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.doc-meta-box {
  text-align: right;
}
.doc-title-tag {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  color: #1b365d;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.35rem;
}
.doc-meta-dates-group {
  display: flex;
  flex-direction: column;
}
.doc-meta-row {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.doc-party-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.doc-party-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}
.doc-party-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}
.doc-party-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}
.doc-party-detail {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Document Table */
.doc-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.doc-table th {
  background: #f1f5f9;
  color: #334155;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.65rem 0.85rem;
  border-top: 1px solid #cbd5e1;
  border-bottom: 2px solid #cbd5e1;
}
.doc-table td {
  padding: 0.75rem 0.85rem;
  font-size: 0.82rem;
  border-bottom: 1px solid #e2e8f0;
  color: #1e293b;
}

/* Terms & Conditions Box */
.doc-terms-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent-blue);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 1rem;
}
.doc-terms-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}
.doc-terms-list {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  padding-left: 1.2rem;
}

/* Watermark Seal */
.watermark-seal {
  position: absolute;
  right: 3rem;
  bottom: 5.5rem;
  width: 125px;
  height: 125px;
  border: 3px dashed #27ae60;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #27ae60;
  transform: rotate(-12deg);
  opacity: 0.85;
  pointer-events: none;
  font-weight: 900;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  box-shadow: 0 0 10px rgba(46,204,113,0.1);
}

/* Modal Footer Actions Bar */
.document-actions-footer {
  padding: 1rem 1.5rem;
  background: var(--gray-50);
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-quote-action {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-quote-accept {
  background: #27ae60;
  color: var(--white);
}
.btn-quote-accept:hover { background: #219653; }

.btn-quote-reject {
  background: #ffffff;
  color: #e74c3c;
  border-color: #e74c3c;
}
.btn-quote-reject:hover { background: rgba(231, 76, 60, 0.08); }

.btn-quote-revise {
  background: #ffffff;
  color: #d35400;
  border-color: #f39c12;
}
.btn-quote-revise:hover { background: rgba(243, 156, 18, 0.08); }

.btn-quote-pdf {
  background: #ffffff;
  color: #2c3e50;
  border-color: #cbd5e1;
}
.btn-quote-pdf:hover { background: #f1f5f9; }

.btn-convert-order {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: var(--white);
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}
.btn-convert-order:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

/* Mobile Responsive (1-Screen Fit & Clean Grid Quotation Card Boxes) */
@media (max-width: 768px) {
  /* 1-Row Search Box & Validity Dropdown on Mobile */
  .catalog-filters {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.45rem !important;
    width: 100% !important;
    margin-bottom: 0.85rem !important;
  }
  .search-sku-input-wrap {
    flex: 1 1 58% !important;
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .search-sku-input {
    width: 100% !important;
    height: 40px !important;
    padding: 0.45rem 0.65rem 0.45rem 2.2rem !important;
    font-size: 0.78rem !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
  }
  .search-sku-input-wrap svg {
    left: 0.65rem !important;
    width: 15px !important;
    height: 15px !important;
  }
  .filter-dropdown {
    flex: 1 1 42% !important;
    min-width: 0 !important;
    max-width: 44% !important;
    height: 40px !important;
    padding: 0.45rem 0.5rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
  }

  /* Wrapped Button Matrix for Status Tabs (No Horizontal Scroll) */
  .quote-status-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
    gap: 0.35rem 0.4rem !important;
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin-bottom: 0.95rem !important;
  }
  .quote-status-tab {
    flex: 1 1 calc(25% - 0.4rem) !important;
    min-width: fit-content !important;
    padding: 0.45rem 0.65rem !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    text-align: center !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    border: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    color: #475569 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.15s ease !important;
  }
  .quote-status-tab:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
  }
  .quote-status-tab.active {
    background: #1e3a8a !important;
    border-color: #1e3a8a !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.25) !important;
  }

  /* Remove outer wrapper styling on mobile to hold distinct item card boxes */
  .quotation-table-wrapper {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    max-height: calc(100vh - 270px) !important;
    min-height: 250px !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none !important;
    padding-bottom: 85px !important;
  }
  .quotation-table-wrapper::-webkit-scrollbar { display: none !important; }

  .table-quotation {
    display: block !important;
    width: 100% !important;
  }
  .table-quotation thead {
    display: none !important;
  }
  .table-quotation tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important; /* Space between card boxes */
    padding: 0.25rem 0 1rem 0 !important;
  }

  /* Clean Premium Quotation Card Box */
  .table-quotation tr {
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    align-items: center !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 0.95rem 1rem !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03) !important;
    gap: 0.4rem 0 !important;
    position: relative !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }
  .table-quotation tr:active {
    transform: scale(0.99) !important;
  }

  /* Grid Area 1: Col 1 (No Quotation & Line Items) - Top Left */
  .table-quotation td:nth-child(1) {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    padding: 0 !important;
    border: none !important;
  }
  .table-quotation td:nth-child(1) span:first-child {
    font-size: 0.92rem !important;
    font-weight: 800 !important;
    color: #1e3a8a !important;
  }
  .table-quotation td:nth-child(1) span:last-child {
    font-size: 0.74rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    margin-top: 0.15rem !important;
  }

  /* Grid Area 2: Col 5 (Status Badge) - Top Right */
  .table-quotation td:nth-child(5) {
    display: flex !important;
    justify-content: flex-end !important;
    grid-column: 2 !important;
    grid-row: 1 !important;
    padding: 0 !important;
    border: none !important;
  }
  .table-quotation td:nth-child(5) .status-badge {
    padding: 0.2rem 0.6rem !important;
    font-size: 0.7rem !important;
  }

  /* Grid Area 3: Col 2 (Quotation Date) & Col 3 (Expired Date) - Row 2 Side by Side with Hairline Divider */
  .table-quotation td:nth-child(2) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding: 0.45rem 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin: 0.35rem 0 !important;
    font-size: 0.73rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }
  .table-quotation td:nth-child(2)::before {
    content: "Tgl Quotation: ";
    font-weight: 600;
    color: #94a3b8;
    margin-right: 0.25rem;
  }

  .table-quotation td:nth-child(3) {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    grid-column: 2 !important;
    grid-row: 2 !important;
    padding: 0.45rem 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin: 0.35rem 0 !important;
    font-size: 0.73rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
    text-align: right !important;
    white-space: nowrap !important;
  }
  .table-quotation td:nth-child(3)::before {
    content: "Expired: ";
    font-weight: 600;
    color: #94a3b8;
    margin-right: 0.25rem;
  }

  /* Grid Area 4: Col 4 (Total Amount) - Row 3 Bottom Left */
  .table-quotation td:nth-child(4) {
    display: flex !important;
    flex-direction: column !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    padding: 0 !important;
    border: none !important;
    font-size: 0.98rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: left !important;
    align-items: flex-start !important;
  }
  .table-quotation td:nth-child(4)::before {
    content: "TOTAL PENAWARAN" !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    color: #94a3b8 !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 0.1rem !important;
    text-align: left !important;
  }

  /* Grid Area 5: Col 6 (Action Button) - Row 3 Bottom Right */
  .table-quotation td:nth-child(6) {
    display: flex !important;
    justify-content: flex-end !important;
    grid-column: 2 !important;
    grid-row: 3 !important;
    padding: 0 !important;
    border: none !important;
    align-items: flex-end !important;
  }
  .table-quotation td:nth-child(6) button {
    padding: 0.45rem 0.85rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    background: #eff6ff !important;
    color: #2563eb !important;
    border: 1px solid #bfdbfe !important;
  }

  /* Modal Preview Mobile PDF Document Viewer Enhancements */
  #quotation-detail-modal {
    padding: 0.35rem !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .document-preview-card {
    display: flex !important;
    flex-direction: column !important;
    max-height: 94vh !important;
    height: 94vh !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    background: #ffffff !important;
  }

  .document-header-banner {
    flex-shrink: 0 !important;
    padding: 0.65rem 0.85rem !important;
    background: #0f172a !important;
  }
  .document-header-banner span {
    font-size: 0.76rem !important;
    letter-spacing: 0.3px !important;
  }

  /* Internal Letterhead Paper - PDF Document Viewer Scrollable Container */
  .document-letterhead {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 0.9rem !important;
    background: #ffffff !important;
  }
  .document-letterhead::-webkit-scrollbar { display: none !important; }

  /* KOP Surat PDF Header */
  .doc-paper-header {
    flex-direction: column !important;
    gap: 0.65rem !important;
    padding-bottom: 0.85rem !important;
    margin-bottom: 0.85rem !important;
    border-bottom: 2px solid #1e3a8a !important;
  }
  .doc-brand-block h2 {
    font-size: 0.98rem !important;
    color: #1e3a8a !important;
  }
  .doc-brand-sub {
    font-size: 0.68rem !important;
    line-height: 1.4 !important;
  }
  .doc-meta-box {
    text-align: left !important;
    background: #f8fafc !important;
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
  }
  .doc-title-tag {
    font-size: 1.1rem !important;
    color: #1e3a8a !important;
    margin-bottom: 0.25rem !important;
  }
  .doc-meta-dates-group {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
  }
  .doc-meta-row {
    font-size: 0.75rem !important;
    margin-bottom: 0.15rem !important;
  }

  /* Party Cards Grid (PEMESAN & PENJUAL) */
  .doc-party-grid {
    grid-template-columns: 1fr !important;
    gap: 0.55rem !important;
    margin-bottom: 0.85rem !important;
  }
  .doc-party-card {
    padding: 0.65rem 0.85rem !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
  }
  .doc-party-title {
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    margin-bottom: 0.25rem !important;
  }
  .doc-party-name {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
  }
  .doc-party-detail {
    font-size: 0.72rem !important;
    line-height: 1.4 !important;
  }

  /* PDF Products Table on Mobile */
  .doc-table {
    display: table !important;
    width: 100% !important;
    border-collapse: collapse !important;
    margin-bottom: 0.85rem !important;
    font-size: 0.74rem !important;
  }
  .doc-table thead {
    display: table-header-group !important;
  }
  .doc-table tbody {
    display: table-row-group !important;
  }
  .doc-table tr {
    display: table-row !important;
    border-bottom: 1px solid #e2e8f0 !important;
  }
  .doc-table th {
    background: #f1f5f9 !important;
    color: #334155 !important;
    font-size: 0.68rem !important;
    padding: 0.45rem 0.5rem !important;
  }
  .doc-table th:nth-child(1) { display: none !important; }
  .doc-table td:nth-child(1) { display: none !important; }

  .doc-table td:nth-child(2) {
    display: table-cell !important;
    padding: 0.5rem 0.4rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    width: 45% !important;
  }
  .doc-table td:nth-child(3) {
    display: table-cell !important;
    padding: 0.5rem 0.3rem !important;
    font-size: 0.72rem !important;
    color: #475569 !important;
    text-align: center !important;
    width: 15% !important;
  }
  .doc-table td:nth-child(3)::before { content: "" !important; }
  .doc-table td:nth-child(4) {
    display: table-cell !important;
    padding: 0.5rem 0.3rem !important;
    font-size: 0.72rem !important;
    color: #475569 !important;
    text-align: right !important;
    width: 20% !important;
  }
  .doc-table td:nth-child(4)::before { content: "" !important; }
  .doc-table td:nth-child(5) {
    display: table-cell !important;
    padding: 0.5rem 0.4rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: right !important;
    width: 20% !important;
  }

  /* Financial Totals & Terms */
  .doc-terms-box {
    padding: 0.65rem 0.75rem !important;
    margin-bottom: 0.85rem !important;
  }
  .doc-terms-title {
    font-size: 0.72rem !important;
  }
  .doc-terms-list {
    font-size: 0.7rem !important;
    line-height: 1.4 !important;
  }

  /* Official PDF Watermark Stamp Seal */
  .watermark-seal {
    right: 1rem !important;
    bottom: 4rem !important;
    width: 75px !important;
    height: 75px !important;
    font-size: 0.5rem !important;
    opacity: 0.85 !important;
  }

  /* Document Modal Footer (1-Row Actions + Full Width CTA) */
  .document-actions-footer {
    flex-shrink: 0 !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.45rem !important;
    padding: 0.65rem 0.85rem !important;
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
  }
  .quote-actions-secondary-group {
    display: flex !important;
    width: 100% !important;
    gap: 0.3rem !important;
    justify-content: space-between !important;
  }
  .quote-actions-secondary-group .btn-quote-action {
    flex: 1 1 33.33% !important;
    justify-content: center !important;
    font-size: 0.72rem !important;
    padding: 0.45rem 0.15rem !important;
    white-space: nowrap !important;
    border-radius: 6px !important;
  }
  .btn-convert-order {
    width: 100% !important;
    justify-content: center !important;
    height: 42px !important;
    font-size: 0.85rem !important;
    margin-left: 0 !important;
  }
  #q-convert-order-cta-wrap {
    width: 100% !important;
  }
}

/* ═════════════════════════════════════════════════════════════════
   PUBLIC REQUEST FOR QUOTATION (RFQ / SPH) PORTAL STYLES
   ═════════════════════════════════════════════════════════════════ */
:root {
  --navy-900: #071E49;
  --navy-800: #0D2E68;
  --navy-700: #143F8A;
  --emerald-600: #16A34A;
  --emerald-500: #22C55E;
  --emerald-50: #ECFDF5;
  --slate-50: #F8FAFC;
  --slate-100: #F1F5F9;
  --slate-200: #E2E8F0;
  --slate-300: #CBD5E1;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-900: #0F172A;
}

.quotation-page-body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #F8FAFD;
  color: var(--slate-900);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.quotation-page-body h1, 
.quotation-page-body h2, 
.quotation-page-body h3, 
.quotation-page-body h4, 
.quotation-page-body h5 {
  font-family: 'Poppins', sans-serif;
}

/* ═══════════════════════════════════════════
   DESKTOP HEADER — EXACT MATCH WITH INDEX.HTML
═══════════════════════════════════════════ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h, 72px);
  background: #FFFFFF;
  border-bottom: 1px solid var(--gray-200, #E2E8F0);
  z-index: 9999;
  transition: box-shadow 0.25s ease;
  margin: 0;
  padding: 0;
}
.site-header .container.header-inner,
.quote-header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h, 72px);
  gap: 1.5rem;
}
.site-header .logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  text-decoration: none;
}
.site-header .main-nav {
  flex: 1;
}
.site-header .main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-header .nav-link {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  padding: 0.4rem 0.7rem !important;
  border-radius: 6px !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  white-space: nowrap !important;
}
.site-header .nav-link:hover,
.site-header .nav-link.active {
  color: var(--blue, #06b6d4) !important;
  background: rgba(26, 82, 118, 0.07) !important;
}
.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.site-header .header-actions .btn {
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.35rem;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  border-radius: 9999px !important;
  box-sizing: border-box;
  line-height: 1;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}
.site-header .header-actions .btn-ghost {
  background: transparent !important;
  color: #334155 !important;
  border: 1.5px solid #CBD5E1 !important;
  box-shadow: none !important;
}
.site-header .header-actions .btn-ghost:hover {
  background: #F1F5F9 !important;
  border-color: #94A3B8 !important;
  color: #0F172A !important;
  transform: translateY(-2px);
}
.site-header .header-actions .btn-primary {
  background: #0A2540 !important;
  color: #FFFFFF !important;
  border: 2px solid #0A2540 !important;
  box-shadow: 0 4px 15px rgba(10, 37, 64, 0.25) !important;
}
.site-header .header-actions .btn-primary:hover {
  background: #143F6A !important;
  border-color: #143F6A !important;
  color: #FFFFFF !important;
  box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4) !important;
  transform: translateY(-2px);
}
.brand-emblem-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--slate-200, #E2E8F0);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  box-shadow: 0 2px 6px rgba(7, 30, 73, 0.06);
  flex-shrink: 0;
}
.brand-emblem-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}
.brand-title-main {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-900, #071E49);
  letter-spacing: -0.3px;
  text-transform: uppercase;
}
.brand-title-main .logo-dot,
.brand-title-main span {
  color: var(--emerald-600, #16A34A);
}
.brand-sub-badge {
  font-size: 0.58rem;
  font-weight: 700;
  color: #0284C7;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  display: block;
  margin-top: 1px;
}

.hamburger-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--slate-200, #E2E8F0);
  background: #F8FAFC;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.hamburger-icon-bars {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  align-items: center;
}
.hamburger-icon-bars span,
.hamburger-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: #071E49;
  border-radius: 2px;
  transition: all 0.2s ease;
}

/* Hero Banner Section */
.quote-hero-banner {
  background: linear-gradient(135deg, #071E49 0%, #0D2E68 50%, #064E3B 100%);
  color: #FFFFFF;
  padding: calc(var(--header-h, 72px) + 2.5rem) 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.18) 0%, transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
  pointer-events: none;
}
.quote-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 1.1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #86EFAC;
  backdrop-filter: blur(8px);
  margin-bottom: 1rem;
}
.quote-hero-title {
  color: #FFFFFF !important;
  font-size: 2.35rem;
  font-weight: 900;
  margin: 0 0 0.85rem;
  line-height: 1.25;
  letter-spacing: -0.8px;
}
.quote-hero-subtitle {
  font-size: 1.02rem;
  color: #E2E8F0 !important;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
  font-weight: 400;
}

/* Main Container & 2-Col Grid */
.quote-main-container {
  max-width: 1240px;
  margin: -2.25rem auto 4.5rem;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 1.75rem;
  position: relative;
  z-index: 10;
}

/* Form Cards */
.quote-form-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.85rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 16px rgba(7, 30, 73, 0.03);
  transition: transform 0.2s, box-shadow 0.2s;
}
.quote-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--slate-100);
}
.quote-card-step {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--navy-900);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.quote-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0;
}
.quote-card-subtitle {
  font-size: 0.78rem;
  color: var(--slate-600);
  margin: 3px 0 0;
}

/* Form Fields */
.quote-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.15rem;
}
.quote-form-group {
  margin-bottom: 1.15rem;
}
.quote-form-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 0.45rem;
}
.quote-form-label span.req {
  color: #EF4444;
}
.quote-form-input, .quote-form-select, .quote-form-textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--slate-200);
  border-radius: 10px;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  color: var(--navy-900);
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #FFFFFF;
  transition: all 0.15s;
}
.quote-form-input:focus, .quote-form-select:focus, .quote-form-textarea:focus {
  outline: none;
  border-color: var(--navy-900);
  box-shadow: 0 0 0 3px rgba(7, 30, 73, 0.08);
}
.quote-form-textarea {
  resize: vertical;
  min-height: 85px;
}

/* ─── ULTRA CLEAN PORTION INPUT SYSTEM ─── */
.portion-input-container {
  background: #F8FAFC;
  border: 1.5px solid var(--slate-200, #E2E8F0);
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  margin-bottom: 1.25rem;
}
.portion-input-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.portion-helper-tip {
  font-size: 0.76rem;
  color: var(--slate-500, #64748B);
  font-weight: 600;
}
.portion-field-wrapper {
  display: flex;
  align-items: center;
  background: #FFFFFF;
  border: 2px solid var(--slate-300, #CBD5E1);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}
.portion-field-wrapper:focus-within {
  border-color: var(--emerald-600, #16A34A);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}
.portion-icon-prefix {
  padding: 0 14px;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F1F5F9;
  border-right: 1px solid var(--slate-200, #E2E8F0);
  height: 48px;
}
.portion-custom-num-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-900, #071E49);
  outline: none;
  height: 48px;
  min-width: 0;
  -moz-appearance: textfield;
}
.portion-custom-num-input::-webkit-outer-spin-button,
.portion-custom-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.portion-unit-badge {
  background: #ECFDF5;
  color: #065F46;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 6px 16px;
  border-left: 1px solid #A7F3D0;
  height: 48px;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.portion-quick-select-area {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed var(--slate-300, #CBD5E1);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
}
.portion-quick-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--slate-600, #475569);
  white-space: nowrap;
}
.portion-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
  margin-bottom: 0;
}
.portion-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--slate-200, #CBD5E1);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700, #334155);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1.2;
}
.portion-pill:hover {
  background: #F1F5F9;
  border-color: #94A3B8;
}
.portion-pill.active {
  background: var(--emerald-600, #16A34A);
  border-color: var(--emerald-600, #16A34A);
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.25);
}

/* Commodity Selection Grid */
.commodity-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
}
.commodity-check-card {
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.15s;
  user-select: none;
}
.commodity-check-card:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}
.commodity-check-card.checked {
  border-color: var(--navy-900);
  background: #F8FAFF;
  box-shadow: 0 2px 10px rgba(7, 30, 73, 0.07);
}
.commodity-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
}
.commodity-info h5 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--navy-900);
}
.commodity-info p {
  margin: 3px 0 0;
  font-size: 0.7rem;
  color: var(--slate-600);
}

/* Payment Terms Radio Cards */
.payment-radio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.payment-radio-card {
  border: 1.5px solid var(--slate-200);
  border-radius: 12px;
  padding: 1rem;
  cursor: pointer;
  background: #FFFFFF;
  transition: all 0.15s;
  position: relative;
  user-select: none;
}
.payment-radio-card:hover {
  border-color: var(--slate-300);
  background: var(--slate-50);
}
.payment-radio-card.selected {
  border-color: var(--emerald-500);
  background: #F0FDF4;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.1);
}
.payment-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  background: #DCFCE7;
  color: #15803D;
  padding: 2px 8px;
  border-radius: 20px;
  margin-bottom: 0.4rem;
}
.payment-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 4px;
}
.payment-desc {
  font-size: 0.72rem;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.4;
}

/* Sticky Right Summary Card */
.quote-sidebar-sticky {
  position: sticky;
  top: 90px;
  height: fit-content;
}
.summary-card {
  background: #FFFFFF;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 1.65rem;
  box-shadow: 0 8px 24px rgba(7, 30, 73, 0.06);
}
.summary-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-900);
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.summary-badge-live {
  font-size: 0.68rem;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
}
.summary-item-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
  color: var(--slate-600);
  gap: 0.5rem;
}
.summary-item-row strong {
  color: var(--navy-900);
  font-weight: 700;
  text-align: right;
}
.summary-divider {
  height: 1px;
  background: var(--slate-100);
  margin: 1.15rem 0;
}
.btn-submit-rfq {
  width: 100%;
  background: var(--emerald-600);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 0.95rem 1rem;
  font-size: 0.92rem;
  font-weight: 800;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(22, 163, 74, 0.25);
  transition: all 0.15s;
}
.btn-submit-rfq:hover {
  background: #15803D;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(22, 163, 74, 0.35);
}
.btn-submit-rfq:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}
.btn-wa-rfq {
  width: 100%;
  background: #FFFFFF;
  color: #075E54;
  border: 1.5px solid #25D366;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  transition: all 0.15s;
  text-decoration: none;
  box-sizing: border-box;
}
.btn-wa-rfq:hover {
  background: #F0FDF4;
}

/* Trust Badges Box */
.trust-badges-box {
  margin-top: 1.35rem;
  padding: 1.15rem;
  background: var(--slate-50);
  border-radius: 12px;
  border: 1px solid var(--slate-200);
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.74rem;
  color: var(--slate-700);
  font-weight: 600;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.trust-badge-item:last-child {
  margin-bottom: 0;
}
.trust-badge-item svg {
  color: var(--emerald-600);
  flex-shrink: 0;
}

/* Responsive Styles */
@media (max-width: 960px) {
  html {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.quotation-page-body {
    padding: 0 0 95px 0 !important;
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    background: #F8FAFD !important;
  }

  /* Mobile Header — Reset position:fixed from style.css, use sticky */
  .site-header {
    position: sticky !important;
    top: 0 !important;
    left: auto !important;
    right: auto !important;
    height: 60px !important;
    min-height: 60px !important;
    max-height: 60px !important;
    background: #FFFFFF !important;
    border-top: none !important;
    border-bottom: 1px solid #E2E8F0 !important;
    border-left: none !important;
    border-right: none !important;
    z-index: 9999 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
    box-shadow: 0 2px 10px rgba(7, 30, 73, 0.03) !important;
  }
  .site-header .container,
  .site-header .container.header-inner,
  .site-header .header-inner,
  .quote-header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    height: 60px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    gap: 0 !important;
  }

  /* Tactile Action Buttons (Back & Hamburger) */
  .btn-circle-action,
  .btn-mobile-back-public,
  .hamburger-btn,
  .site-header .hamburger {
    width: 38px !important;
    height: 38px !important;
    border-radius: 12px !important;
    background: #F8FAFC !important;
    border: 1px solid #E2E8F0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #071E49 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.15s ease !important;
  }
  .btn-circle-action:active,
  .btn-mobile-back-public:active,
  .hamburger-btn:active {
    transform: scale(0.94) !important;
    background: #F1F5F9 !important;
  }

  /* Brand Logo Center (Clean Alignment) */
  .brand-group-header,
  .site-header .logo {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
    margin: 0 auto !important;
    max-width: fit-content !important;
    flex: 0 1 auto !important;
  }
  .site-header .logo-mark {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .brand-emblem-box {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    background: #FFFFFF !important;
    border: 1px solid #E2E8F0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 2px !important;
    box-shadow: 0 2px 5px rgba(7, 30, 73, 0.05) !important;
    flex-shrink: 0 !important;
  }
  .site-header img.site-custom-logo,
  .site-header .site-custom-logo {
    height: 36px !important;
    width: auto !important;
    max-width: 170px !important;
    object-fit: contain !important;
    display: block !important;
  }
  .brand-title-main,
  .site-header .logo-text {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #071E49 !important;
    letter-spacing: -0.3px !important;
    text-transform: uppercase !important;
    display: inline-block !important;
    line-height: 1 !important;
  }
  .brand-title-main .logo-dot,
  .brand-title-main span,
  .site-header .logo-dot {
    color: #16A34A !important;
  }

  .site-header .main-nav,
  .site-header .header-actions,
  .quote-header-inner .main-nav,
  .quote-header-inner .header-actions,
  #main-nav,
  .header-actions {
    display: none !important;
  }

  .hamburger-icon-bars {
    display: flex !important;
    flex-direction: column !important;
    gap: 3.5px !important;
    align-items: center !important;
  }
  .hamburger-icon-bars span,
  .site-header .hamburger span,
  .hamburger span {
    display: block !important;
    width: 18px !important;
    height: 2px !important;
    background: #071E49 !important;
    border-radius: 2px !important;
    transition: all 0.2s ease !important;
  }
  .hamburger.open .hamburger-icon-bars span:nth-child(1),
  .hamburger.open span:nth-child(1) {
    transform: translateY(5.5px) rotate(45deg) !important;
  }
  .hamburger.open .hamburger-icon-bars span:nth-child(2),
  .hamburger.open span:nth-child(2) {
    opacity: 0 !important;
  }
  .hamburger.open .hamburger-icon-bars span:nth-child(3),
  .hamburger.open span:nth-child(3) {
    transform: translateY(-5.5px) rotate(-45deg) !important;
  }

  /* Hero Banner Space */
  .quote-hero-banner {
    padding: 1.5rem 0.85rem 2rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
    text-align: center !important;
  }
  .quote-hero-badge {
    font-size: 0.68rem !important;
    padding: 0.3rem 0.75rem !important;
    margin: 0 auto 0.65rem !important;
    display: inline-flex !important;
    align-items: center !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  .quote-hero-title {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    margin: 0 auto 0.45rem !important;
    max-width: 100% !important;
    display: block !important;
  }
  .quote-hero-subtitle {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box !important;
  }

  /* Main Form Layout - 100% Mobile Responsive */
  .quote-main-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    margin-top: -1.25rem !important;
    padding: 0 0.75rem !important;
    gap: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }
  .quote-form-card {
    padding: 1rem 0.85rem !important;
    border-radius: 12px !important;
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .quote-form-card .quote-grid-2,
  .quote-grid-2 {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .quote-card-header {
    gap: 0.6rem !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.6rem !important;
  }
  .quote-card-step {
    width: 26px !important;
    height: 26px !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    flex-shrink: 0 !important;
  }
  .quote-card-title {
    font-size: 0.92rem !important;
    line-height: 1.3 !important;
  }
  .quote-card-subtitle {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }
  .quote-form-group {
    margin-bottom: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .quote-form-label {
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.3rem !important;
    line-height: 1.3 !important;
  }
  .quote-form-input, .quote-form-textarea {
    padding: 0.6rem 0.75rem !important;
    font-size: 0.82rem !important;
    border-radius: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .quote-form-textarea {
    min-height: 65px !important;
  }

  /* Ultra Clean Mobile Portion Input System */
  .portion-input-container {
    padding: 0.75rem 0.75rem !important;
    border-radius: 10px !important;
    margin-bottom: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }
  .portion-input-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.2rem !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
  }
  .portion-helper-tip {
    font-size: 0.68rem !important;
  }
  .portion-field-wrapper {
    height: 42px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
  }
  .portion-icon-prefix {
    height: 42px !important;
    padding: 0 8px !important;
    font-size: 1rem !important;
    flex-shrink: 0 !important;
  }
  .portion-custom-num-input {
    height: 42px !important;
    padding: 0 8px !important;
    font-size: 1.1rem !important;
    min-width: 0 !important;
    flex: 1 !important;
  }
  .portion-unit-badge {
    height: 42px !important;
    padding: 0 8px !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    flex-shrink: 0 !important;
  }
  .portion-quick-select-area {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.4rem !important;
    margin-top: 0.55rem !important;
    padding-top: 0.45rem !important;
    width: 100% !important;
  }
  .portion-quick-label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
  }
  .portion-pills-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .portion-pill {
    padding: 4px 8px !important;
    font-size: 0.7rem !important;
    border-radius: 999px !important;
    line-height: 1.2 !important;
    flex: 1 1 auto !important;
    text-align: center !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
  }

  /* Mobile Commodity Cards Grid */
  .commodity-checkbox-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.45rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  @media (max-width: 360px) {
    .commodity-checkbox-grid {
      grid-template-columns: 1fr !important;
      gap: 0.4rem !important;
    }
  }
  .commodity-check-card {
    padding: 0.5rem 0.45rem !important;
    border-radius: 9px !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.4rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .commodity-icon {
    font-size: 1.1rem !important;
    flex-shrink: 0 !important;
  }
  .commodity-info {
    flex: 1 !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .commodity-info h5 {
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin: 0 0 1px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }
  .commodity-info p {
    font-size: 0.56rem !important;
    color: var(--slate-500) !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .payment-radio-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.45rem !important;
    width: 100% !important;
  }
  .payment-radio-card {
    padding: 0.65rem 0.75rem !important;
    border-radius: 9px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .payment-badge {
    font-size: 0.58rem !important;
    padding: 1px 5px !important;
  }
  .payment-title {
    font-size: 0.78rem !important;
    font-weight: 800 !important;
  }
  .payment-desc {
    font-size: 0.65rem !important;
    line-height: 1.35 !important;
  }
  .summary-card {
    padding: 1rem 0.85rem !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
  .summary-title {
    font-size: 0.92rem !important;
    margin-bottom: 0.75rem !important;
    padding-bottom: 0.45rem !important;
  }
  .summary-item-row {
    font-size: 0.74rem !important;
    margin-bottom: 0.45rem !important;
  }
  .btn-submit-rfq {
    padding: 0.75rem !important;
    font-size: 0.84rem !important;
    border-radius: 9px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .btn-wa-rfq {
    padding: 0.6rem !important;
    font-size: 0.76rem !important;
    border-radius: 9px !important;
    margin-top: 0.5rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Bottom Navigation Bar (Matches Homepage) */
  .bottom-nav {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 64px !important;
    background: #FFFFFF !important;
    border-top: 1px solid #E2E8F0 !important;
    z-index: 9990 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06) !important;
    align-items: center !important;
    justify-content: space-around !important;
    padding: 0 4px !important;
    padding-bottom: env(safe-area-inset-bottom, 0) !important;
  }
  .bottom-nav-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    flex: 1 !important;
    padding: 6px 0 !important;
    color: #8da2b5 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    -webkit-tap-highlight-color: transparent !important;
  }
  .bottom-nav-item svg {
    width: 22px !important;
    height: 22px !important;
    stroke: #8da2b5 !important;
    stroke-width: 2.2 !important;
    transition: all 0.2s ease !important;
  }
  .bottom-nav-item span {
    color: #8da2b5 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    transition: all 0.2s ease !important;
  }
  .bottom-nav-item:not(.cta-item):hover,
  .bottom-nav-item.active {
    color: #00a2c7 !important;
  }
  .bottom-nav-item:not(.cta-item):hover svg,
  .bottom-nav-item.active svg {
    stroke: #00a2c7 !important;
    transform: translateY(-1px);
  }
  .bottom-nav-item:not(.cta-item):hover span,
  .bottom-nav-item.active span {
    color: #00a2c7 !important;
  }
  .bottom-nav-item:not(.cta-item):hover::before,
  .bottom-nav-item.active::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 28px !important;
    height: 3.5px !important;
    background: #00a2c7 !important;
    border-radius: 0 0 4px 4px !important;
    box-shadow: 0 1px 4px rgba(0, 162, 199, 0.3) !important;
  }
  .bottom-nav-item.cta-item {
    color: #8da2b5 !important;
  }
  .bottom-nav-item.cta-item .bottom-nav-icon {
    width: 48px !important;
    height: 48px !important;
    background: linear-gradient(135deg, #00b4d8 0%, #0096c7 35%, #0d9488 75%, #059669 100%) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: -18px !important;
    box-shadow: 0 6px 18px rgba(13, 148, 136, 0.4) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  }
  .bottom-nav-item.cta-item .bottom-nav-icon svg {
    stroke: #FFFFFF !important;
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2.4 !important;
  }
  .bottom-nav-item.cta-item span {
    color: #0096c7 !important;
    font-size: 0.65rem !important;
    font-weight: 600 !important;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    margin-top: 1px !important;
  }
}


