/* All styles scoped to HD CLC modules for Flatsome compatibility. */
.hdclc-rfq-form,.hdclc-account{font:16px/1.55 Roboto,Arial,Helvetica,sans-serif;max-width:1150px;margin:24px auto;padding:22px;border:1px solid #cbd7cf;background:#fff;color:#20312a;box-sizing:border-box;clear:both}
.hdclc-rfq-form *,.hdclc-account *{box-sizing:border-box}
.hdclc-rfq-form h3,.hdclc-account h2{font:700 24px/1.3 Roboto,Arial,sans-serif;color:#176b3a;margin:0 0 10px}
.hdclc-rfq-form p,.hdclc-account p{font-size:15px;line-height:1.6;color:#425347}
.hdclc-rfq-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0}
.hdclc-rfq-field{display:block;min-width:0}.hdclc-rfq-field>span{display:block;font-size:15px;font-weight:700;margin-bottom:6px}
.hdclc-rfq-field input{width:100%;min-width:0;min-height:49px;font:16px Roboto,Arial,sans-serif;border:1px solid #9cab9f!important;border-radius:3px!important;padding:10px 12px;background:#fff;color:#202820}
.hdclc-rfq-field input:focus{outline:2px solid #74a887;outline-offset:1px}
.hdclc-rfq-wide{grid-column:1/-1}.hdclc-rfq-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.hdclc-rfq-send{min-height:49px;padding:12px 22px;background:#176b3a;border:0;border-radius:3px;color:#fff;font:700 16px Roboto,Arial,sans-serif;cursor:pointer}
.hdclc-rfq-send:disabled{opacity:.68;cursor:default}.hdclc-rfq-result{min-height:24px;font-weight:700}
.hdclc-account #loginform{max-width:510px}.hdclc-account #loginform input:not([type=checkbox]){width:100%;min-height:45px;font-size:16px}
.hdclc-account-request{border:1px solid #cddbd0;margin:12px 0;padding:0;background:#fff}
.hdclc-account-request summary{display:flex;flex-wrap:wrap;align-items:center;gap:12px;cursor:pointer;padding:14px;background:#f5f9f5;font-size:15px}
.hdclc-account-request summary strong{font-size:16px;color:#176b3a}.hdclc-account-request summary span{font-weight:700}.hdclc-account-request summary small{color:#526458}
.hdclc-account-request-body{padding:16px}.hdclc-quote-table-wrap{max-width:100%;overflow-x:auto;margin:15px 0}
.hdclc-account .hdclc-quote-items{width:100%;min-width:630px;border-collapse:collapse}.hdclc-account .hdclc-quote-items td,.hdclc-account .hdclc-quote-items th{border:1px solid #d5e1d8;padding:9px;font-size:14px}
.hdclc-quote-admin-actions,.hdclc-quote-status-form{background:#fff;border:1px solid #d7e4d9;padding:18px;margin:18px 0;max-width:1000px}
.hdclc-quote-status-form label{display:block;margin:10px 0;font-weight:600}.hdclc-quote-status-form select,.hdclc-quote-status-form textarea{display:block;width:100%;max-width:700px;min-height:42px;margin-top:6px}
.hdclc-doc-links{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;align-items:stretch}
.hdclc-doc-choice{--hdclc-doc-color:#176b3a;display:flex;flex-direction:column;justify-content:space-between;gap:10px;min-width:0;padding:12px;border:1px solid #cbded0;border-radius:8px;background:#f7fbf8}
.hdclc-doc-choice--quote{--hdclc-doc-color:#176b3a}.hdclc-doc-choice--delivery{--hdclc-doc-color:#176da5}.hdclc-doc-choice--contract{--hdclc-doc-color:#7550a3}
.hdclc-doc-choice-heading{font-weight:800;color:var(--hdclc-doc-color)}
.hdclc-doc-choice-actions{display:flex;flex-wrap:wrap;gap:7px}
.hdclc-doc-button{display:inline-flex;flex:1 1 100px;align-items:center;justify-content:center;min-height:40px;padding:8px 10px;border:1px solid var(--hdclc-doc-color);border-radius:5px;text-align:center;text-decoration:none!important;font-size:12px;font-weight:800;line-height:1.25}
.hdclc-doc-button--pdf{background:var(--hdclc-doc-color);color:#fff!important}.hdclc-doc-button--word{background:#fff;color:var(--hdclc-doc-color)!important}
.hdclc-quote-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}.hdclc-quote-tabs a{display:inline-block;padding:8px 11px;background:#fff;border:1px solid #cfdad1;text-decoration:none}
@media(max-width:700px){.hdclc-rfq-form,.hdclc-account{margin:16px 10px;padding:16px}.hdclc-rfq-fields{grid-template-columns:1fr}.hdclc-rfq-wide{grid-column:auto}.hdclc-rfq-send{display:block;width:100%}.hdclc-account-request summary{align-items:flex-start;flex-direction:column}.hdclc-doc-links{flex-direction:column}}

.hdclc-shared-price{font-weight:700;color:#176b3a!important;font-size:15px!important}.hdclc-shared-total{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:flex-end;padding:13px 0;border-top:1px solid #d6e2d9}.hdclc-shared-total strong{font-size:18px;color:#176b3a}.hdclc-shared-total small{font-size:13px;color:#58685d}.hdclc-technical-library{font:16px Roboto,Arial,sans-serif;margin:22px 0}.hdclc-technical-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.hdclc-technical-card{padding:16px;border:1px solid #ccd9d0}.hdclc-technical-card img{max-width:100%;height:165px;object-fit:contain}.hdclc-technical-card h3{font-size:18px}.hdclc-technical-details table{width:100%;border-collapse:collapse}.hdclc-technical-details td,.hdclc-technical-details th{border:1px solid #d4ded6;padding:8px}.hdclc-technical-details th{width:30%}@media(max-width:700px){.hdclc-technical-grid{grid-template-columns:1fr}.hdclc-shared-total{justify-content:flex-start}}

.hdclc-rfq-result .hdclc-request-print-link{display:inline-flex;margin:8px 0 0;padding:8px 12px;border-radius:5px;background:#176b3a;color:#fff!important;font-weight:700;text-decoration:none!important}
.hdclc-rfq-result .hdclc-request-print-link:hover{filter:brightness(.94)}

/* Gợi ý khách hàng cũ */
.hdclc-suggest-wrap{position:relative;display:block;width:100%}
.hdclc-suggest-wrap > input{width:100%}
.hdclc-suggest-list{
  position:absolute;left:0;right:0;top:calc(100% + 4px);z-index:80;
  max-height:280px;overflow:auto;
  margin:0;padding:6px;
  border:1px solid #c5d6cb;border-radius:10px;
  background:#fff;
  box-shadow:0 12px 28px rgba(23,65,39,.14);
}
.hdclc-suggest-item{
  display:flex;flex-direction:column;align-items:flex-start;gap:2px;
  width:100%;margin:0 0 4px;padding:10px 12px;
  border:0;border-radius:8px;background:transparent;
  color:#20312a;text-align:left;cursor:pointer;
  font:inherit;
}
.hdclc-suggest-item:last-child{margin-bottom:0}
.hdclc-suggest-item:hover,
.hdclc-suggest-item.is-active{background:#eef6f0}
.hdclc-suggest-item strong{font-size:14.5px;font-weight:750;color:#173d28}
.hdclc-suggest-item span{font-size:12.5px;color:#5a6d60}
.hdclc-suggest-item em{font-size:12px;font-style:normal;color:#7a8b7f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.clc-bao-gia .hdclc-suggest-wrap,
.cl-customer-details .hdclc-suggest-wrap{width:100%}
.hdclc-member-portal .hdclc-suggest-list{z-index:120}

/* Optional consent to retain customer details for repeat transactions. */
.hdclc-rfq-save-profile{margin:16px 0;padding:13px 15px;border:1px solid #c8ddce;border-left:4px solid #176b3a;border-radius:7px;background:#f5faf6}
.hdclc-rfq-save-profile label{display:flex;align-items:flex-start;gap:10px;margin:0;cursor:pointer;color:#203b2b}
.hdclc-rfq-save-profile input[type=checkbox]{flex:0 0 auto;width:18px;height:18px;margin:3px 0 0;accent-color:#176b3a}
.hdclc-rfq-save-profile span{display:block;min-width:0}
.hdclc-rfq-save-profile strong{display:block;font-size:14px;line-height:1.5}
.hdclc-rfq-save-profile small{display:block;margin-top:4px;color:#5b6c60;font-size:12px;line-height:1.5}
.hdclc-customer-directory-edit{max-width:980px;background:#fff;padding:18px;border:1px solid #d6e2d9;border-radius:8px}
/* Product/request tables: content-aware auto-fit with stable numeric columns. */
.hdclc-quote-table-wrap table.hdclc-quote-items{width:100%;table-layout:auto}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(1),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(1){width:4%;min-width:28px;white-space:nowrap;text-align:center}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(2),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(2){width:23%;min-width:120px}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(3),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(3){width:35%;min-width:150px}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(4),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(4){width:5%;min-width:48px;white-space:nowrap}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(5),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(5){width:9%;min-width:48px;white-space:nowrap}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(6),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(6){width:12%;min-width:95px;white-space:nowrap}
.hdclc-quote-table-wrap table.hdclc-quote-items th:nth-child(7),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(7){width:12%;min-width:95px;white-space:nowrap}
.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(2),.hdclc-quote-table-wrap table.hdclc-quote-items td:nth-child(3){overflow-wrap:anywhere;word-break:normal}
