/* Malloca Shop – CSS dùng chung cho mô tả sản phẩm và khối Cam kết. */
.mlc-pdp {
  --blue: #00588a;
  --ink: #15394c;
  --text: #294854;
  --muted: #456371;
  --line: #cfdee5;
  --ice: #eff6f9;
  container: mlc-product / inline-size;
  width: 100%;
  max-width: 100%;
  color: var(--text);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  overflow-wrap: break-word;
}
.mlc-pdp, .mlc-pdp * { box-sizing: border-box; }
.mlc-pdp :is(h2,h3,p,dl,dt,dd,figure,table,caption) {
  margin: 0; padding: 0; text-indent: 0; text-transform: none;
  letter-spacing: normal; text-align: left; color: inherit; background: transparent;
}
.mlc-pdp .mlc-section { margin: clamp(30px,4vw,54px) 0 0; padding: 0; }
.mlc-pdp .mlc-heading {
  display: flex; align-items: center; gap: 18px; margin: 0 0 19px;
  color: var(--ink); font-size: clamp(22px,2.6vw,30px);
  font-weight: 700; line-height: 1.22; letter-spacing: -.025em;
}
.mlc-pdp .mlc-heading::after { content: ""; flex: 1; min-width: 16px; height: 1px; background: var(--line); }
.mlc-pdp .mlc-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.mlc-pdp :is(a,summary):focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
/* Khối cam kết cũ dùng !important cho các thuộc tính dưới đây. */
.mlc-pdp .mlc-product-2026-trust {
  border-color: var(--line) !important; border-radius: 12px !important;
  box-shadow: none !important; margin: 0 !important;
}
.mlc-pdp .mlc-product-2026-trust-item { min-height: 0 !important; border-color: var(--line) !important; }
.mlc-pdp .mlc-product-2026-trust-icon {
  background: var(--ice) !important; border-color: var(--line) !important; color: var(--blue) !important;
}
.mlc-product-2026-trust, .mlc-commitments { --mlc-commitment-title-color: #00588a; }
.mlc-product-2026-trust .mlc-product-2026-trust-title,
#f-pr-view-01 .mlc-product-2026-trust .mlc-product-2026-trust-title { color: var(--mlc-commitment-title-color) !important; }
.mlc-pdp .mlc-product-2026-trust-text { color: var(--muted) !important; }
.mlc-pdp .mlc-product-2026-trust-link { color: var(--blue) !important; text-underline-offset: 3px; }
.mlc-pdp .mlc-product-2026-trust-link::after { content: " →"; }
.mlc-pdp .mlc-overview {
  display: grid; grid-template-columns: minmax(0,1.04fr) minmax(0,1fr);
  gap: clamp(18px,3.3vw,48px); align-items: center;
  margin-top: 20px; padding: clamp(18px,2.9vw,42px);
  background: #f3f8fa; border: 1px solid var(--line); border-radius: 16px;
}
.mlc-pdp .mlc-overview h2 {
  color: var(--ink); font-size: clamp(22px, calc(18px + 1.3cqi), 30px); line-height: 1.24;
  letter-spacing: -.022em; font-weight: 700; text-wrap: wrap;
}
.mlc-pdp .mlc-overview p { margin-top: 16px; line-height: 1.65; }
.mlc-pdp .mlc-facts { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 20px; margin-top: 22px; }
.mlc-pdp .mlc-facts > div { padding-top: 8px; border-top: 1px solid #bfd3de; }
.mlc-pdp .mlc-facts dt { font-size: 13px; font-weight: 500; color: var(--muted); }
.mlc-pdp .mlc-facts dd { color: var(--blue); font-size: clamp(16px,1.7vw,20px); font-weight: 650; line-height: 1.32; }
.mlc-pdp .mlc-photo { display: block; position: relative; overflow: hidden; aspect-ratio: 1; background: #f6f8f9; margin: 0; }
.mlc-pdp .mlc-photo img { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; padding: 0; border: 0; object-fit: cover; }
.mlc-pdp .mlc-overview .mlc-photo { border-radius: 10px; }
.mlc-pdp .mlc-highlights { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.mlc-pdp .mlc-highlight { min-width: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; }
.mlc-pdp .mlc-highlight figcaption { display: block; padding: 16px 18px 20px; border-top: 1px solid var(--line); }
.mlc-pdp .mlc-highlight h3 { color: var(--ink); font-size: 18px; font-weight: 700; line-height: 1.35; }
.mlc-pdp .mlc-highlight p { margin-top: 7px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.mlc-pdp .mlc-photo--controls img { transform: scale(3.6); transform-origin: 46% 68.5%; }
.mlc-pdp .mlc-usage { margin: -7px 0 16px; color: var(--muted); font-size: 14px; }
.mlc-pdp .mlc-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; align-items: start; }
.mlc-pdp .mlc-options--safe { grid-template-columns: repeat(3,minmax(0,1fr)); }
.mlc-pdp .mlc-option { min-width: 0; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.mlc-pdp .mlc-option summary {
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 11px 8px;
  padding: 17px; list-style: none; cursor: pointer; border-radius: 11px;
  color: var(--ink); text-align: left;
}
.mlc-pdp .mlc-option summary::-webkit-details-marker { display: none; }
.mlc-pdp .mlc-option summary::after {
  content: ""; width: 8px; height: 8px; border: solid var(--blue); border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg); grid-row: 1; grid-column: 2; margin: 6px 2px 0;
}
.mlc-pdp .mlc-option[open] summary::after { transform: rotate(225deg); margin-top: 10px; }
.mlc-pdp .mlc-option[open] { border-color: #8cbbcf; }
.mlc-pdp .mlc-option .mlc-label { display: grid; grid-column: 1/-1; gap: 4px; }
.mlc-pdp .mlc-label strong { font-size: 16px; font-weight: 700; line-height: 1.32; }
.mlc-pdp .mlc-label small { font-size: 14px; line-height: 1.45; color: var(--muted); }
.mlc-pdp .mlc-option .mlc-answer {
  margin: 0 16px; padding: 12px 0 16px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.55; color: var(--text);
}
.mlc-pdp .mlc-options--safe summary { grid-template-columns: auto 1fr auto; align-items: center; min-height: 92px; }
.mlc-pdp .mlc-options--safe .mlc-label { grid-row: 1; grid-column: 2; }
.mlc-pdp .mlc-options--safe summary::after { grid-column: 3; align-self: start; }
.mlc-pdp .mlc-iconbox { display: grid; place-items: center; width: 42px; height: 42px; background: var(--ice); color: var(--blue); border-radius: 11px; }
.mlc-pdp .mlc-icon {
  display: inline-block; width: 24px; height: 24px; flex-shrink: 0;
  background: currentColor; -webkit-mask: var(--glyph) center/contain no-repeat; mask: var(--glyph) center/contain no-repeat;
}
@media (hover:hover) and (pointer:fine) {
  .mlc-pdp .mlc-option:hover { border-color: #8cbbcf; }
  .mlc-pdp .mlc-option:not(:focus-within):hover::details-content { content-visibility: visible; }
}
.mlc-pdp .mlc-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mlc-pdp .mlc-spec { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; }
.mlc-pdp .mlc-spec table { width: 100%; table-layout: fixed; border: 0; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.mlc-pdp .mlc-spec caption { padding: 13px 16px; background: var(--ice); color: var(--ink); font-size: 16px; font-weight: 700; caption-side: top; }
.mlc-pdp .mlc-spec :is(th,td) { border: 0; border-top: 1px solid var(--line); padding: 10px 16px; vertical-align: top; text-align: left; background: #fff; }
.mlc-pdp .mlc-spec th { width: 44%; color: var(--muted); font-weight: 600; }
.mlc-pdp .mlc-spec td { color: var(--ink); }
@container mlc-product (max-width: 840px) {
  .mlc-pdp .mlc-options { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .mlc-pdp .mlc-options--safe { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .mlc-pdp .mlc-options--safe summary { grid-template-columns: 1fr auto; }
  .mlc-pdp .mlc-options--safe .mlc-label { grid-column: 1/-1; grid-row: 2; }
  .mlc-pdp .mlc-options--safe summary::after { grid-column: 2; }
}
@container mlc-product (max-width: 680px) {
  .mlc-pdp .mlc-product-2026-trust { grid-template-columns: 1fr !important; }
  .mlc-pdp .mlc-product-2026-trust-item { grid-template-columns: 40px minmax(0,1fr) !important; padding: 12px 14px !important; border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .mlc-pdp .mlc-product-2026-trust-item:last-child { border-bottom: 0 !important; }
  .mlc-pdp .mlc-product-2026-trust-icon { width: 38px !important; height: 38px !important; min-width: 38px !important; }
  .mlc-pdp .mlc-overview, .mlc-pdp .mlc-highlights, .mlc-pdp .mlc-specs, .mlc-pdp .mlc-options--safe { grid-template-columns: minmax(0,1fr); }
  .mlc-pdp .mlc-options--safe summary { grid-template-columns: auto 1fr auto; min-height: 72px; }
  .mlc-pdp .mlc-options--safe .mlc-label { grid-column: 2; grid-row: 1; }
  .mlc-pdp .mlc-options--safe summary::after { grid-column: 3; }
  .mlc-pdp .mlc-spec td { text-align: right; }
  .mlc-pdp .mlc-facts { grid-template-columns: minmax(0,1fr); gap: 0; }
  .mlc-pdp .mlc-facts > div { display: grid; align-items: baseline; grid-template-columns: 1fr auto; gap: 12px; padding: 7px 0; }
  .mlc-pdp .mlc-facts dd { text-align: right; }
  .mlc-pdp .mlc-photo { width: 100%; }
}
@container mlc-product (max-width: 370px) {
  .mlc-pdp .mlc-option summary { padding: 12px; }
  .mlc-pdp .mlc-spec :is(th,td) { padding: 9px 10px; }
}
.mlc-pdp .mlc-icon--box { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%207%209-5%209%205v10l-9%205-9-5z%20M3%207l9%205%209-5%20M12%2012v10%20M7.5%204.5l9%205%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--award { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%229%22%20r%3D%226%22%2F%3E%3Cpath%20d%3D%22m8.5%2014-1.3%207%204.8-2.8%204.8%202.8-1.3-7m-6-5%201.8%201.8%203.7-3.7%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--receipt { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M6%203h12v18l-3-1.8-3%201.8-3-1.8L6%2021z%20M9%207h6m-6%204h6m-6%204h3%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--boost { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M13.5%202.8%204.5%2014h6l-.6%207.2L20%209.5h-6.4z%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--rings { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%225.5%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%222%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--pot { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M5%2010h14v7a3%203%200%200%201-3%203H8a3%203%200%200%201-3-3z%20M3%2011h2m14%200h2M8%207c0-1.8%201.2-1.8%201.2-3.5M12%207c0-1.8%201.2-1.8%201.2-3.5%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--timer { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2214%22%20r%3D%227.5%22%2F%3E%3Cpath%20d%3D%22M9%203h6m-3%200v3m5.5%202.5%202-2M12%2010v4l2.5%201.5%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--lock { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%225.5%22%20y%3D%2210%22%20width%3D%2213%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8.5%2010V7a3.5%203.5%200%201%201%207%200v3M12%2014v3%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--heat { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2019h16M6.5%2016c3-3-2.5-4.5.5-8M11.5%2016c3.5-4-3-6%20.5-12M16.5%2016c3-3-2.5-4.5.5-8%22%2F%3E%3C%2Fsvg%3E"); }
.mlc-pdp .mlc-icon--power { --glyph: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.65%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v9M7.2%206.5a8%208%200%201%200%209.6%200%22%2F%3E%3C%2Fsvg%3E"); }

/* Cam kết dùng chung. Có thể đặt khối này bên trong hoặc bên ngoài .mlc-pdp. */
.mlc-commitments {
  container: mlc-commitments / inline-size;
  box-sizing: border-box;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  color: #15394c;
  background: #fff;
  border: 1px solid #cfdee5;
  border-radius: 12px;
  overflow: hidden;
  font-family: inherit;
}
.mlc-commitments *, .mlc-commitments *::before { box-sizing: border-box; }
.mlc-commitments .mlc-commitments__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  background: #fff;
  list-style: none;
}
.mlc-commitments .mlc-commitments__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  margin: 0;
  padding: 18px clamp(15px, 2vw, 24px);
  background: transparent;
}
.mlc-commitments .mlc-commitments__item + .mlc-commitments__item { border-inline-start: 1px solid #cfdee5; }
.mlc-commitments .mlc-commitments__item::before { content: none; }
.mlc-commitments .mlc-commitments__body { flex: 1; min-width: 0; }
.mlc-commitments .mlc-commitments__title {
  display: block;
  margin: 0;
  color: var(--mlc-commitment-title-color);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  text-align: start;
  text-transform: none;
}
.mlc-commitments p.mlc-commitments__text {
  margin: 5px 0 0;
  padding: 0;
  color: #456371;
  font-size: 14px;
  line-height: 1.55;
  text-align: start;
  text-align-last: auto;
}
.mlc-commitments a.mlc-commitments__link {
  display: inline-block;
  margin-top: 5px;
  color: #00588a;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mlc-commitments .mlc-commitments__link:hover { color: #003d61; }
.mlc-commitments .mlc-commitments__link:focus-visible { outline: 2px solid #00588a; outline-offset: 3px; border-radius: 2px; }
.mlc-commitments .mlc-commitments__icon { display: contents; }
.mlc-commitments .mlc-commitments__icon::before {
  content: var(--mlc-commitment-marker, none);
  display: block;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  background: var(--mlc-commitment-art, none) center / contain no-repeat;
}
.mlc-commitments__icon--product { --mlc-commitment-art: var(--mlc-icon-genuine, none); }
.mlc-commitments__icon--dealer { --mlc-commitment-art: var(--mlc-icon-dealer, none); }
.mlc-commitments__icon--invoice { --mlc-commitment-art: var(--mlc-icon-invoice, none); }
@container mlc-commitments (max-width: 680px) {
  .mlc-commitments .mlc-commitments__list { grid-template-columns: minmax(0, 1fr); }
  .mlc-commitments .mlc-commitments__item { padding: 14px 16px; }
  .mlc-commitments .mlc-commitments__item + .mlc-commitments__item { border-inline-start: 0; border-block-start: 1px solid #cfdee5; }
}
.mlc-commitments {
  --mlc-commitment-marker: "";
  --mlc-icon-genuine: url("https://upload2.mybota.vn/media/1351/ICON/cam-ket-chinh-hang.png");
  --mlc-icon-dealer: url("https://upload2.mybota.vn/media/1351/ICON/cam-ket-phan-phoi.png");
  --mlc-icon-invoice: url("https://upload2.mybota.vn/media/1351/ICON/cam-ket-hoa-don.png");
}

/* Bỏ đường phân cách của thanh tab ngay trên phần mô tả sản phẩm. */
.v2_bnc_products_view_details .f-product-view-tab .f-product-view-tab-header,
.v2_bnc_products_view_details .f-product-view-tab .f-product-view-tab-header > .nav-tabs {
  border-bottom: 0;
}
.v2_bnc_products_view_details .f-product-view-tab .f-product-view-tab-body {
  border-top: 0;
}
