
/* custom css by JustinLucas */


header {
    background: #0f5132;
}
header .full-header {
    background: #0f5132;
}
.footer-container {
    background: #0f5132;
}
#header-search .btn-default {
    background: #0f5132;
    transition: background-color 0.5s ease-in-out; 
}
#header-search .btn-default:hover {
    background: #86bc43 !important;
}
#logo .img-responsive {
    max-height: 100% !important;
}
.btn-primary {
    background: #0f5132 !important;
    transition: background-color 0.5s ease-in-out; 
}
.btn-primary:hover {
    background: #86bc43 !important;
}
.TTProduct-Tab .nav-tabs > li.active > a, .TTProduct-Tab .nav-tabs > li.active:hover > a, .TTProduct-Tab .nav-tabs > li.active > a:hover, .TTProduct-Tab .nav-tabs > li:focus > a, .TTProduct-Tab .nav-tabs > li.active > a:focus {
    background: #0f5132 !important;
}
.box-heading > h3::after, .title_block .ttblock-heading::after {
    border-bottom: 2px solid #0f5132;
    bottom: -2px;
    content: "";
    left: 0;
    position: absolute;
    right: auto;
    width: 100px;
}
#column-left .panel-heading, #column-right .panel-heading, #column-left .box-heading, #column-right .box-heading, #column-left .panel-heading, #column-right .panel-heading, #column-left #ttcmstestimonial .title_block, #column-right #ttcmstestimonial .title_block {
    background: #0f5132 !important;
}
.product-product .nav.nav-tabs li.active a {
    background: #0f5132 !important;
}
#subscribe .btn {
    color: white;
    border: 1px solid white;
}
#goToTop {
    background: #0f5132 !important;
}
/** custom css header them logo */
/* Bọc logo và flag ngang hàng */
.logo-wrapper {
    display: flex;
    align-items: center;
}

/* Bỏ margin-bottom mặc định của .img-responsive nếu có */
.logo-wrapper img {
    margin-bottom: 0;
}

/* Cờ cách logo 10px */
.country-flag-wrapper {
    margin-left: 10px;
    width: 250px;
    height: auto;
}
.country-flag-wrapper img {
        height: auto;
    margin-left: 10px;
    width: 100px;
}
.country-flag {
    height: 20px;
    display: block;
}
.wallmart_logo_block li a {
    font: unset;
}
.box-heading-wrap-flag {
    width: 50px;
    height: auto;
    float: left;
    margin-left: 20px;
    margin-top: 5px;
}
.box-heading-wrap-flag img {
    width: 100%;
}
.footer-container a {
    color: white !important;
}
footer .footer-column h5 {
    color: white;
}
footer .contact-us ul li i::before {
    color: white;
}
footer .contact-address {
    color: white;
}
.ttfooter {
    color: white;
}
.footer-container .payment-title {
    color: white !important;
}

.header-bottom-block.fixed {
    background : #0f5132;
}
.header-bottom-block {
    margin: 0px 0px; 
    padding:0 0 20px 0;
    background: #0f5132;
    
}
footer .footer-top::before {
   background: #0f5132 none repeat scroll 0 0;
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 91px;
    width: 100%; 
}

.logo-footer-wrap img {
    width: 250px;
}

.tt-category-featured .category-feature .image {
        border-radius: 20px 20px !important;
}
/* Bọc ngoài */
.wallmart_logo_block {
  text-align: center; /* căn giữa cả khối */
  margin: 20px 0;
}
.wallmart-list.logo-footer-partner {
  display: flex !important;
  list-style: none;
  padding: 0;
  margin: 0 auto;
  justify-content: center;   /* căn giữa ngang */
  align-items: center;       /* căn giữa dọc */
  gap: 20px;                 /* khoảng cách giữa các cờ */
  flex-wrap: nowrap;         /* 1 dòng trên desktop */
}

/* Mobile: cho phép xuống dòng để không vỡ layout */
@media (max-width: 768px) {
  .wallmart-list.logo-footer-partner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .ve-chung-toi {
     white-space: normal !important; 
  }
  .custom-btn-menutop {
      display: none !important;
  }
}

/* List để hiển thị ngang */
.wallmart-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: flex;
  justify-content: center; /* căn giữa theo chiều ngang */
  flex-wrap: wrap; /* nếu nhiều quá thì tự xuống dòng */
  gap: 20px; /* khoảng cách giữa các cờ */
}

/* Từng item */
.wallmart-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.wallmart-list li img {
  /*max-width: 50px;  */
  /*height: auto;*/
  /*display: block;*/
  /*margin-bottom: 5px;*/
   height: 40px;     /* đồng nhất chiều cao */
  width: auto;
  display: block;
  margin-bottom: 5px;
}

.wallmart-list li p {
  margin: 0;
  font-size: 14px;
  color: #fff; /* đổi màu text cho hợp với footer */
}


.logo-footer-partner li {
    margin: 5px 5px !important;
    height: auto;
}
.logo-footer-partner li img {
    width: 70px;
    height: 40px;
}

.tt-category-featured .ttfcat-items .item .image a {
    padding: 0px !important;
}

.slideshow-panel {
    width: 100% !important;
}

/* css slogan */
.ve-chung-toi {
    white-space: nowrap;
    margin-top: 0px;
}
#ttcmsfooterservice .service-title {
    font-size: 14px;
}

/* ----- SPECIFICATION TABLE – GoldenGate style ----- */
#tab-specification .table,
#tab-specification table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  width: 100%;
  background: #fff;
  border: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  border-radius: 16px;
  overflow: hidden; 
  table-layout: fixed;
  font-size: 15px;
}


#tab-specification thead th {
  background: #2a7c3c
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .3px;
  padding: 14px 18px;
  border: none !important;
  text-align: center;
}
#tab-specification thead th + th {
  font-size: 13px !important;
}

/* Bo góc cho 4 góc ngoài */
#tab-specification thead th:first-child { border-top-left-radius: 16px; }
#tab-specification thead th:last-child  { border-top-right-radius: 16px; }
#tab-specification tbody tr:last-child th:first-child { border-bottom-left-radius: 16px; }
#tab-specification tbody tr:last-child td:last-child   { border-bottom-right-radius: 16px; }

/* Cột đầu tiên – label từng dòng (Size, Season, …) */
#tab-specification tbody th {
  width: 26%;
  background: #f2f4f5;
  color: #222;
  font-weight: 700;
  padding: 14px 16px;
  border-right: 2px solid #ffffff;
  border-top: 8px solid #ffffff;       
  text-transform: none;
}

/* Ô dữ liệu 2 cột bên phải */
#tab-specification tbody td {
  padding: 14px 16px;
  background: #ffffff;
  color: #2b2b2b;
  border-top: 8px solid #ffffff;       
  text-align: center;
}

/* Viền dọc giữa 2 cột phải */
#tab-specification tbody td + td {
  border-left: 2px solid #ffffff;
}

#tab-specification .is-leaf::before {
  content: "🍃 ";
  color: #2a7c3c;
  font-weight: 700;
}

/* Tiêu đề “INFORMATION” phía trên bảng (nếu bạn thêm h5 trước bảng) */
#tab-specification .gg-info-title {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .3px;
  margin: 16px 0 10px;
}

/* Responsive: cho phép kéo ngang trên mobile để giữ bố cục 3 cột */
@media (max-width: 768px) {
  #tab-specification { overflow-x: auto; }
  #tab-specification .table, 
  #tab-specification table { min-width: 720px; } 
  #tab-specification thead th { font-size: 13px; padding: 12px 14px; }
  #tab-specification tbody th, 
  #tab-specification tbody td { font-size: 14px; padding: 12px 14px; }
}





/* css button float right header top  */
.custom-btn-menutop {
    position: relative;
    padding: 0 10px;
    float: right !important;
}

.custom-btn-menutop .contact-sales-btn {
   background: white;
    color: black;
    padding: 20px 20px;
    border-radius: 20px 20px;
    /* font-weight: 700; */
    font-size: 14px !important;
    /* letter-spacing: .1px; */
    /* margin-left: 20px; */
}

/** css custom quotation price for detail products */
.quote-options .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.quote-options label {
  flex: 1;
  text-align: center;
  padding: 10px 20px;
  border: 2px solid #0f5132;
  border-radius: 10px;
  margin: 5px 5px;
  cursor: pointer;
  transition: 0.2s;
}
.quote-options label.active {
  background-color: #0f5132;
  color: #fff;
}
.quote-options label.disabled {
  opacity: 0.5;
  pointer-events: none;
}


/**
* css custom popup newsletter
*/
@media (max-width: 480px) {
    .b-modal.__b-popup1__ {
        background-color: unset !important;
        position: relative !important;
        opacity: 1 !important;
    }
    .newletter-popup {
        display: none !important;
    }
}



/****** Áp dụng cho toàn bộ trang Information ********/
body[class^="information-information"] {
    font-family: 'Roboto', Arial, sans-serif !important;
    color: #333;
    line-height: 1.6;
}

/* Giới hạn chiều rộng nội dung cho đẹp hơn */
body[class^="information-information"] #content {
    max-width: 1100px;
    margin: 0 auto;
    font-size: 16px;
}
body[class^="information-information"] #content img {

}

/* css custom payment-list */
.payment-list img {
    width: 42px;
    height: 26px;
}

#ttcmsfooterservice .service .service-icon-background {
    cursor: default !important;
}
#ttcmsfooterservice .service .service-content {
    cursor: default !important;
}

/* css banner information */
.information-banner img {
  object-fit: cover;
}

.information-page-custom {
    padding-top: 30px;
}
.information-page-custom .breadcrumb {
    float: left !important;
}
.information-page img {
    width: 70% !important;
}




/********************* CSS cho phan booking trong product page *************************** */
.incoterm-btn { border:1px solid #6fb43f; background:#fff; padding:5px 12px; margin:4px; border-radius:6px; cursor:pointer; display:inline-block; }
.incoterm-btn input { margin-right:6px; }
.incoterm-btn.active { background:#6fb43f; color:#fff; }
.incoterm-btn.disabled { opacity:.5; pointer-events:none; }

.btn-quote { border:1px solid #6fb43f; background:#fff; padding:5px 15px; margin:4px; border-radius:6px; cursor:pointer; }
.btn-quote.active { background:#6fb43f; color:#fff; }
.form-control { padding:6px; border-radius:6px; border:1px solid #ccc; width:100%; }
.rfq-search { width:100%; display:block; border:1px solid #d9d9d9; border-radius:6px; padding:8px 10px; font-size:13px; }

/* Inline row: search + select trên cùng 1 hàng */
.rfq-inline{ display:flex; gap:12px; align-items:flex-start; }
.rfq-inline .ac-wrap{ position:relative; flex:1; min-width:240px; }
.rfq-inline select.form-control{ width:280px; max-width:100%; min-width:220px; }
.rfq-inline .rfq-search{ margin-bottom:0; }

/* Autocomplete dropdown */
.form-group{ position:relative; }
.rfq-ac-holder{ position:relative; }
.rfq-autocomplete{ position:absolute; left:0; right:0; top:calc(100% + 4px); background:#fff; border:1px solid #d9d9d9; border-radius:6px; box-shadow:0 6px 16px rgba(0,0,0,.08); max-height:280px; overflow:auto; z-index:9999; }
.rfq-ac-item{ padding:8px 10px; cursor:pointer; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.rfq-ac-item:hover, .rfq-ac-item.active{ background:#f2f8ec; }

/* Mobile: stack dọc lại */
@media (max-width: 768px){
  .rfq-inline{ flex-direction:column; }
  .rfq-inline select.form-control{ width:100%; max-width:none; }
}
@media (max-width: 480px) {
    .rfq-inline .ac-wrap {min-width: 98%;}
}

/*
*css custom chart by lucas */
/* =========================
   PCF / ESG CHART (OPTIMIZED)
   ========================= */

/* Scope only inside ESG tab to avoid affecting other pages */
#tab-esg-chart .pcf,
#tab-esg-chart .pcf * { box-sizing: border-box; }

#tab-esg-chart .pcf{
  /* palette */
  --b:#cfcfcf;
  --txt:#333;
  --muted:#6c6c6c;
  --panel:#f2f2f2;

  --s1:#66bb3a;      /* Scope1 */
  --s2:#f39c2b;      /* Scope2 */
  --s3:#bdbdbd;      /* Scope3 */
  --blue:#22a6f2;    /* EOL */
  --purple:#8e44ad;  /* Paper */

  /* extra palette for Scope1/Scope2 legends */
  --diesel:#0b5e7a;
  --petrol:#f39c2b;
  --lpg:#1e8f3a;
  --ng:#19a0d8;
  --refrig:#9b2c98;

  --grid:#0b5e7a;
  --dcool:#f39c2b;
  --steam:#1e8f3a;

  width:100%;
  max-width: 100%;
  margin: 10px 0 0;
  background:#fff;
  color:var(--txt);
  font-family: Arial, Helvetica, sans-serif;
}

/* Title */
#tab-esg-chart .pcf__title{
  border:1px solid var(--b);
  text-align:center;
  padding:8px 10px;
  font-weight:700;
  color:#7a7a7a;
  text-transform:uppercase;
  letter-spacing:.3px;
  margin-bottom:6px;
}

/* Summary */
#tab-esg-chart .pcf__summary{ margin-bottom:10px; }
#tab-esg-chart .pcf__summary-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 0;
  border-bottom:1px solid #e9e9e9;
  font-size:12px;
}
#tab-esg-chart .pcf__summary-row--total{
  border-bottom:1px solid var(--b);
  padding-bottom:6px;
  margin-bottom:2px;
}
#tab-esg-chart .pcf__summary-left{ display:flex; align-items:center; gap:6px; min-width:0; }
#tab-esg-chart .pcf__summary-right{
  display:flex; gap:8px; align-items:baseline;
  min-width:160px; justify-content:flex-end;
}
#tab-esg-chart .pcf__summary-num{ font-weight:700; min-width:72px; text-align:right; }
#tab-esg-chart .pcf__summary-unit{ font-weight:700; color:#6a6a6a; min-width:56px; text-align:left; }
#tab-esg-chart .pcf__summary-label{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
#tab-esg-chart .pcf__summary-link{ text-decoration:underline; color:#4b4b4b; }

#tab-esg-chart .pcf__ico{
  width:16px; height:16px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid #ddd; border-radius:3px;
  font-size:11px; background:#efefef;
}

/* Panels */
#tab-esg-chart .pcf__box{ border:1px solid var(--b); background:#fff; }
#tab-esg-chart .pcf__box-inner{ padding:14px; }

#tab-esg-chart .pcf__box-title{
  text-align:center;
  font-size:12px;
  font-weight:700;
  color:#4b4b4b;
  margin-bottom:8px;
}

/* Mid layout: Scope pie + KPI right */
#tab-esg-chart .pcf__mid{
  display:grid;
  grid-template-columns: 1fr 320px;
  gap:14px;
  align-items:start;
  margin-bottom:12px;
}

/* Generic row for chart + legend */
#tab-esg-chart .pcf__chart-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

/* Chart wrappers (sizes are controlled here only) */
#tab-esg-chart .pcf__chart-wrap{ position:relative; width:100%; }
#tab-esg-chart .pcf__chart-wrap--small{ max-width: 520px; height: 260px; }
#tab-esg-chart .pcf__chart-wrap--big{ height: 320px; }

/* Canvas must fill wrapper */
#tab-esg-chart .pcf__canvas{
  width:100% !important;
  height:100% !important;
  display:block;
}

/* Legend */
#tab-esg-chart .pcf__legend{
  list-style:none;
  padding:0;
  margin:0;
  font-size:12px;
  color:#3b3b3b;
}
#tab-esg-chart .pcf__legend-item{
  display:flex;
  align-items:center;
  gap:8px;
  margin:6px 0;
}
#tab-esg-chart .pcf__swatch{
  width:10px; height:10px;
  border-radius:2px;
  border:1px solid rgba(0,0,0,.08);
  flex:0 0 auto;
}

/* Swatches: scope + scope3 top5 */
#tab-esg-chart .pcf__swatch--s1{ background:var(--s1); }
#tab-esg-chart .pcf__swatch--s2{ background:var(--s2); }
#tab-esg-chart .pcf__swatch--s3{ background:var(--s3); }
#tab-esg-chart .pcf__swatch--waste{ background:var(--s1); }
#tab-esg-chart .pcf__swatch--commute{ background:var(--s2); }
#tab-esg-chart .pcf__swatch--air{ background:var(--s3); }
#tab-esg-chart .pcf__swatch--eol{ background:var(--blue); }
#tab-esg-chart .pcf__swatch--paper{ background:var(--purple); }

/* Swatches: Scope 1 (Diesel/Petrol/LPG/Natural Gas/Refrigerant) */
#tab-esg-chart .pcf__swatch--diesel{ background:var(--diesel); }
#tab-esg-chart .pcf__swatch--petrol{ background:var(--petrol); }
#tab-esg-chart .pcf__swatch--lpg{ background:var(--lpg); }
#tab-esg-chart .pcf__swatch--ng{ background:var(--ng); }
#tab-esg-chart .pcf__swatch--refrig{ background:var(--refrig); }

/* Swatches: Scope 2 (Grid/DistrictCooling/Steam) */
#tab-esg-chart .pcf__swatch--grid{ background:var(--grid); }
#tab-esg-chart .pcf__swatch--dcool{ background:var(--dcool); }
#tab-esg-chart .pcf__swatch--steam{ background:var(--steam); }

/* KPI stack (right) */
#tab-esg-chart .pcf__kpis{ display:flex; flex-direction:column; gap:10px; }
#tab-esg-chart .pcf__kpi{
  border:1px solid var(--b);
  background: var(--panel);
  padding:10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  font-size:12px;
  min-height:44px;
}
#tab-esg-chart .pcf__kpi-left{ font-weight:700; color:#555; padding-right:10px; }
#tab-esg-chart .pcf__kpi-right{ font-weight:800; color:#333; min-width:60px; text-align:right; }

/* Green section bar */
#tab-esg-chart .pcf__bar{
  background:#0f5132; /* per your request */
  color:#fff;
  font-weight:800;
  font-size:12px;
  padding:7px 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin: 10px 0 0;
}
#tab-esg-chart .pcf__bar-ico{
  width:16px; height:16px;
  background:#fff;
  color:#13923a;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
}

/* Bottom sections: Scope1/2/3 blocks */
#tab-esg-chart .pcf__box--bottom{ border-top:none; }

/* Default bottom row (scope3): chart left + legend right */
#tab-esg-chart .pcf__chart-row--bottom{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:18px;
  align-items:center;
}

/* New layout for scope1/scope2: chart + (legend + mini KPI) on right */
#tab-esg-chart .pcf__chart-row--with-kpi{
  display:grid;
  grid-template-columns: 2fr 1fr;
  gap:18px;
  align-items:stretch;
}
#tab-esg-chart .pcf__side{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
#tab-esg-chart .pcf__kpis--mini{
  flex: 0 0 260px;
}

/* Responsive */
@media (max-width: 992px){
  #tab-esg-chart .pcf__mid{ grid-template-columns: 1fr; }
  #tab-esg-chart .pcf__chart-wrap--small{ height: 240px; max-width:100%; }
  #tab-esg-chart .pcf__chart-wrap--big{ height: 300px; }
  #tab-esg-chart .pcf__chart-row--bottom,
  #tab-esg-chart .pcf__chart-row--with-kpi{ grid-template-columns: 1fr; }
  #tab-esg-chart .pcf__side{ flex-direction:column; }
  #tab-esg-chart .pcf__kpis--mini{ flex-basis:auto; width:100%; }
}

@media (max-width: 768px){
  #tab-esg-chart .pcf__box-inner{ padding:12px; }
  #tab-esg-chart .pcf__chart-row{ flex-direction:column; align-items:flex-start; }
}
/**
* PCF Chart Cards - refined UI
*/
.pcf {
  /* dùng variables nếu Quang đã set trong #tab-esg-chart .pcf */
  --pcf-card-bg: rgba(255,255,255,.92);
  --pcf-card-border: rgba(17,24,39,.08);
  --pcf-card-shadow: 0 10px 28px rgba(17,24,39,.08);
  --pcf-card-shadow-hover: 0 14px 34px rgba(17,24,39,.12);
  --pcf-radius: 16px;

  --pcf-title: rgba(17,24,39,.92);
  --pcf-muted: rgba(17,24,39,.62);
}
.pcf__bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 12px;
}
.pcf__bottom-box {
    background: var(--pcf-card-bg);
  border: 1px solid var(--pcf-card-border);
  border-radius: var(--pcf-radius);
  box-shadow: var(--pcf-card-shadow);
  padding: 14px 14px 12px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  overflow: hidden;
  position: relative;
}
.pcf__bottom-box:hover {
  transform: translateY(-1px);
  box-shadow: var(--pcf-card-shadow-hover);
  border-color: rgba(17,24,39,.14);
}
.pcf__bottom-box::before {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 10px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(34,197,94,.9),
    rgba(59,130,246,.85),
    rgba(245,158,11,.85)
  );
  opacity: .18;
  pointer-events: none;
}
/*.pcf__bottom-title {*/
/*    text-align: center;*/
/*    display: block;*/
/*    background: #0f5132;*/
/*    color: white;*/
/*    padding: 10px 10px;*/
/*    font-weight: 700;*/
/*    margin-bottom: 10px;*/
/*}*/

.pcf__bottom-title {
    margin: 5px 5px;
    padding: 10px 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .2px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #0f5132;

}
.pcf__bottom-title::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(34,197,94,.85);
  box-shadow: 0 0 0 4px rgba(34,197,94,.12);
}

.pcf__legend {
    list-style: none;
  padding: 10px 0 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.pcf__legend li {
    display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid rgba(17,24,39,.10);
  background: rgba(255,255,255,.75);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--pcf-muted);
  box-shadow: 0 6px 18px rgba(17,24,39,.05);

/* Mobile: giảm padding cho gọn */
@media (max-width: 576px) {
  #tab-esg-chart .pcf__bottom-box { padding: 12px; border-radius: 14px; }
  #tab-esg-chart .pcf__bottom-title { font-size: 13px; }
  #tab-esg-chart .pcf__bottom-chart { padding: 8px; border-radius: 12px; }
}