/* Malloca Shop – CSS dùng chung cho mô tả sản phẩm và khối Cam kết. */
.v2_bnc_product_details_page, .mlc-pdp, .mlc-commitments, .mlc-summary { --mlc-frame-border: #ead8b8; }

/* Viền thư viện ảnh của mọi trang chi tiết sản phẩm Bota. */
.v2_bnc_product_details_page .v2_bnc_products_details_zoom_img .f-pr-image-zoom,
.v2_bnc_product_details_page .f-pr-image-zoom-gallery .v2_bnc_product_details_img_small {
  border-color: var(--mlc-frame-border);
}
.v2_bnc_product_details_page .f-pr-image-zoom-gallery a.active .v2_bnc_product_details_img_small {
  border-color: #b98200;
}

.mlc-pdp {
  --blue: #00588a;
  --ink: #15394c;
  --text: #294854;
  --muted: #456371;
  --line: #cfdee5;
  --ice: #eff6f9;
  --mlc-section-gap: clamp(18px, 2.4cqi, 24px);
  --mlc-heading-gap: clamp(12px, 1.6cqi, 16px);
  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: 0; padding: 0; }
/* Các mục lấy khoảng cách từ khối mô tả, kể cả khi bỏ một mục tùy chọn. */
.mlc-pdp > :where(section, .mlc-section, .mlc-overview, .mlc-commitments, .mlc-product-2026-trust) ~ :is(section, .mlc-section, .mlc-overview, .mlc-commitments),
.mlc-commitments + .mlc-pdp > :is(section, .mlc-overview, .mlc-section):first-child {
  margin-block-start: var(--mlc-section-gap);
}
.mlc-pdp .mlc-heading, .mlc-pdp .mlc-overview h2 {
  color: var(--mlc-heading-color);
  font-size: clamp(22px, calc(18px + 1.3cqi), 30px);
}
.mlc-pdp .mlc-heading {
  display: flex; align-items: center; gap: 18px; margin: 0 0 var(--mlc-heading-gap);
  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(--mlc-frame-border) !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(--mlc-frame-border) !important; }
.mlc-pdp .mlc-product-2026-trust-icon {
  background: var(--ice) !important; border-color: var(--line) !important; color: var(--blue) !important;
}
.mlc-pdp, .mlc-product-2026-trust, .mlc-commitments { --mlc-heading-color: var(--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-heading-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;
  padding: clamp(18px,2.9vw,42px);
  background: #fff; border: 1px solid var(--mlc-frame-border); border-radius: 16px;
}
.mlc-pdp .mlc-overview h2 {
  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 > :is(div, dl) { 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 {
  width: 100%; max-width: 1000px; min-width: 0; aspect-ratio: 1 / 1;
  justify-self: center; background: #fff; border-radius: 10px;
}
.mlc-pdp .mlc-overview .mlc-photo img { object-fit: contain; }
.mlc-pdp .mlc-overview .mlc-photo iframe {
  display: block; position: absolute; inset: 0; margin: auto;
  width: 100%; height: 100%; max-width: 100%; border: 0;
}
.mlc-pdp .mlc-overview .mlc-photo > :is(.video-container, .autosize-container) {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
}
/* Shorts đặt giữa ô vuông. Trên màn hình nhỏ, chừa đủ chiều rộng cho nút điều khiển. */
.mlc-pdp .mlc-overview .mlc-photo--short iframe {
  width: min(100%, max(240px, 56.25%)); border-radius: 8px;
}
.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(--mlc-frame-border); border-radius: 12px; overflow: hidden; background: #fff; }
.mlc-pdp .mlc-highlight .mlc-photo :is(video, iframe) {
  display: block; position: absolute; inset: 0; width: 100%; height: 100%;
  max-width: 100%; border: 0; margin: 0; padding: 0;
}
.mlc-pdp .mlc-highlight .mlc-photo video { object-fit: contain; background: #000; }
.mlc-pdp .mlc-highlight .mlc-photo > :is(.video-container, .autosize-container) {
  position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0;
}
.mlc-pdp .mlc-highlight figcaption { display: block; padding: 16px 18px 20px; border-top: 1px solid var(--mlc-frame-border); }
.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-heading:has(+ .mlc-usage) { margin-bottom: 8px; }
.mlc-pdp .mlc-usage { margin: 0 0 var(--mlc-heading-gap); 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(--mlc-frame-border); 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: #c9ae80; }
.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(--mlc-frame-border);
  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; }
/* Gắn biểu tượng vào summary có nội dung để trình soạn thảo giữ được sau khi lưu. */
.mlc-pdp summary.mlc-option-symbol::before {
  content: "";
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--ice) var(--glyph) center / 24px 24px no-repeat;
}
.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: #c9ae80; }
  .mlc-pdp .mlc-option:not(:focus-within):hover::details-content { content-visibility: visible; }
}
.mlc-pdp .mlc-documents {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px;
}
.mlc-pdp .mlc-documents a.mlc-document {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: clamp(12px, 1.8cqi, 20px); min-width: 0; padding: 12px;
  border: 1px solid var(--mlc-frame-border); border-radius: 12px;
  background: #fff; color: var(--mlc-heading-color); text-decoration: none;
}
.mlc-pdp .mlc-document .mlc-doc-preview {
  display: block; width: clamp(84px, 13cqi, 124px); height: auto; aspect-ratio: 1;
  margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 7px;
  object-fit: contain; background: #fff;
}
.mlc-pdp .mlc-document > small {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px;
  background: var(--ice); font-size: 14px; font-weight: 700;
}
.mlc-pdp .mlc-document .mlc-doc-copy { display: grid; justify-items: start; gap: 4px; min-width: 0; }
.mlc-pdp .mlc-document strong { color: var(--mlc-heading-color); font-size: 18px; font-weight: 700; line-height: 1.35; }
.mlc-pdp .mlc-document .mlc-doc-detail { color: var(--muted) !important; font-size: 14px; line-height: 1.45; text-wrap: balance; }
.mlc-pdp .mlc-document .mlc-doc-action { margin-top: 4px; color: var(--blue) !important; font-size: 14px; font-weight: 650; line-height: 1.4; }
.mlc-pdp .mlc-doc-action::after { content: ""; display: inline-block; width: 0.45em; height: 0.45em; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); margin-inline-start: 0.42em; vertical-align: 0.08em; }
.mlc-pdp .mlc-documents a.mlc-document:is(:hover, :focus-visible) { border-color: var(--blue); }
.mlc-pdp .mlc-document:is(:hover, :focus-visible) .mlc-doc-action { text-decoration: underline; text-underline-offset: 3px; }
.mlc-pdp .mlc-documents a.mlc-document:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.mlc-pdp .mlc-specs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.mlc-pdp .mlc-spec { border: 1px solid var(--mlc-frame-border); 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(--mlc-frame-border); 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-highlights, .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(--mlc-frame-border) !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-specs, .mlc-pdp .mlc-documents, .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 > :is(div, dl) { 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: 540px) {
  .mlc-pdp .mlc-highlights { grid-template-columns: minmax(0,1fr); }
}
@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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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%22%2300588a%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 var(--mlc-frame-border);
  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 var(--mlc-frame-border); }
.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-heading-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: #b98200;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
  text-decoration: none;
  text-underline-offset: 3px;
}
.mlc-commitments a.mlc-commitments__link:hover,
.mlc-commitments a.mlc-commitments__link:focus-visible { color: #805a00; text-decoration: underline; }
.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,
.mlc-commitments .mlc-commitments__item:is(.mlc-commitments__icon--product, .mlc-commitments__icon--dealer, .mlc-commitments__icon--invoice)::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 var(--mlc-frame-border); }
}
.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;
}

/* Nhịp từ cuối khối mua hàng hoặc dải ảnh tới Cam kết. */
.v2_bnc_product_details_page:has(#f-pr-view-01 :is(.mlc-commitments, .mlc-product-2026-trust)) .v2_bnc_products_details_box > .v2_bnc_products_contact:last-child {
  margin-bottom: 0;
}
.v2_bnc_product_details_page > .f-product-view-tab:has(#f-pr-view-01 :is(.mlc-commitments, .mlc-product-2026-trust)) {
  margin-top: clamp(18px, 2vw, 24px);
}
/* Với một tab mô tả, thanh tab của Bota không hiển thị nhãn. */
.f-product-view-tab:has(.f-product-view-tab-header > .nav-tabs > li:only-child > a[href="#f-pr-view-01"]) .f-product-view-tab-body:has(> #f-pr-view-01.active :is(.mlc-commitments, .mlc-product-2026-trust)) {
  padding-top: 0;
}
.f-product-view-tab:has(.f-product-view-tab-header > .nav-tabs > li:only-child > a[href="#f-pr-view-01"]) #f-pr-view-01.active > .mlc-product-2026-wrap:has(> .mlc-product-2026-trust:first-child) {
  margin-top: 0;
}
/* Khi hai cột nằm cạnh nhau, dải ảnh cũng kết thúc ngay sau ảnh thu nhỏ. */
@media (min-width: 992px) {
  .v2_bnc_product_details_page:has(#f-pr-view-01 :is(.mlc-commitments, .mlc-product-2026-trust)) .f-pr-image-zoom-gallery .margin-bottom-30 {
    margin-bottom: 0 !important;
  }
}

/* Căn hai mép của mô tả theo khung ảnh và thông tin sản phẩm của Bota. */
.v2_bnc_products_view_details .f-product-view-tab-body:has(> #f-pr-view-01.active > .mlc-pdp) {
  padding-inline: 0;
  border-inline-width: 0;
}

/* Bản di động có thể nằm trong một cột cạnh thanh danh mục khi xoay ngang. */
.bacground_white > .v2_bnc_products_view_details:has(#f-pr-view-01 > .mlc-pdp) > .container,
.bacground_white > .v2_bnc_products_view_details:has(#f-pr-view-01 > .mlc-pdp) > .productbreadcrumb > .container {
  max-width: 100%;
}
.v2_bnc_products_view_details .f-product-view-tab .col-md-9:has(> .f-product-view-tab-body > #f-pr-view-01.active > .mlc-pdp) {
  width: 100%;
}

/* Mô tả ngắn bên cạnh giá trong trang sản phẩm. */
.v2_bnc_products_details_box_description.f-pr-view-choosesizeGroup:has(.mlc-summary) {
  padding: 0 !important;
  border: 0;
  background: transparent;
}
.mlc-summary {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid var(--mlc-frame-border);
  border-radius: 12px;
  background: #fff;
  color: #294854;
  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  overflow-wrap: break-word;
}
.mlc-summary > p {
  margin: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}
.mlc-summary > p > strong {
  color: #00588a;
  font-weight: 700;
}
.mlc-summary > dl {
  display: grid;
  grid-template-columns: fit-content(34%) minmax(0, 1fr);
  align-items: baseline;
  gap: 6px clamp(10px, 2vw, 20px);
  margin: 10px 0 0;
  padding: 10px 0 0;
  border-top: 1px solid #cfdee5;
}
.mlc-summary > dl > :is(dt, dd) {
  min-width: 0;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.mlc-summary > dl > dt { color: #15394c; font-weight: 650; }
.mlc-summary > dl > dd { color: #294854; font-weight: 400; }

/* QR nằm trong luồng bố cục của khối giá và tình trạng. */
.v2_bnc_products_details_box_info:has(.mlc-summary):has(> ul > .maqr .img-qr) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-content: start;
  align-items: baseline;
}
.v2_bnc_products_details_box_info:has(.mlc-summary):has(> ul > .maqr .img-qr) > * {
  grid-column: 1 / -1;
  min-width: 0;
}
.v2_bnc_products_details_box_info:has(.mlc-summary):has(> ul > .maqr .img-qr) > .v2_bnc_products_details_box_price {
  grid-column: 1 / 3;
}
.v2_bnc_products_details_box_info:has(.mlc-summary) > ul:has(> .maqr .img-qr) {
  display: contents;
}
.v2_bnc_products_details_box_info:has(.mlc-summary) > ul:has(> .maqr .img-qr) > .clearfix { display: none; }
.v2_bnc_products_details_box_info:has(.mlc-summary) > ul:has(> .maqr .img-qr) > .key { grid-column: 1; }
.v2_bnc_products_details_box_info:has(.mlc-summary) > ul:has(> .maqr .img-qr) > .value { grid-column: 2; }
.v2_bnc_products_details_box_info:has(.mlc-summary) .maqr:has(.img-qr) {
  position: static;
  grid-column: 3;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: end;
  display: block;
  padding: 12px;
  background: #fff;
}
.v2_bnc_products_details_box_info:has(.mlc-summary) .maqr .value {
  display: block;
  width: auto;
  float: none;
  margin: 0;
  padding: 0;
}
.v2_bnc_products_details_box_info:has(.mlc-summary) .maqr .img-qr {
  display: block;
  width: 100px;
  height: 100px;
}
@media (max-width: 600px) {
  .v2_bnc_products_details_box_info:has(.mlc-summary):has(> ul > .maqr .img-qr) > .v2_bnc_products_details_box_price {
    grid-column: 1 / -1;
  }
  .v2_bnc_products_details_box_info:has(> ul > .maqr .img-qr) > ul:has(> .v2_bnc_products_details_box_description .mlc-summary) {
    display: contents;
  }
  .v2_bnc_products_details_box_info:has(.mlc-summary) .maqr:has(.img-qr) { grid-row: 2 / 4; }
  .v2_bnc_products_details_box_info:has(> ul > .maqr .img-qr) > ul:has(.mlc-summary) > * {
    grid-column: 1 / 3;
  }
  .v2_bnc_products_details_box_info:has(> ul > .maqr .img-qr) > ul > .v2_bnc_products_details_box_description:has(.mlc-summary) {
    grid-column: 1 / -1;
  }
}

/* Trên điện thoại, mỗi dịch vụ có một dòng tiêu đề và toàn bộ chiều ngang cho phạm vi áp dụng. */
@media (max-width: 600px) {
  .mlc-summary > dl.mlc-services {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
    margin-block-start: 12px;
    padding-block-start: 12px;
  }
  .mlc-services .mlc-service-area { display: inline-block; max-width: 100%; }
  .mlc-summary > .mlc-services > dt {
    color: #00588a;
  }
  .mlc-summary > .mlc-services > dd + dt {
    margin-block-start: 7px;
  }
}

/* Hàng đặt mua trong mẫu chi tiết sản phẩm của Bota. */
.v2_bnc_products_details_box:has(> .f-pr-view-box-size select[name="ProductQuantity"]):has(> .f-pr-view-box-size + #add-cart + .btn-buy-now) {
  display: grid;
  grid-template-columns: 82px minmax(0, 1.35fr) minmax(0, 1fr);
  column-gap: 8px;
  align-content: start;
}
:where(.v2_bnc_products_details_box:has(> .f-pr-view-box-size select[name="ProductQuantity"]):has(> .f-pr-view-box-size + #add-cart + .btn-buy-now)) > * {
  grid-column: 1 / -1;
}
.v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]):has(+ #add-cart + .btn-buy-now) {
  grid-column: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: visible;
  margin: 0;
  padding: 0;
}
.v2_bnc_products_details_box > .f-pr-view-box-size:has(+ #add-cart + .btn-buy-now) .box-size-title {
  position: absolute;
  z-index: 1;
  inset: 5px auto auto 10px;
  margin: 0;
  color: #405b6a;
  font-size: 11px;
  line-height: 14px;
  text-transform: none;
  pointer-events: none;
}
.v2_bnc_products_details_box > .f-pr-view-box-size:has(+ #add-cart + .btn-buy-now) select[name="ProductQuantity"] {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 16px 4px 2px 9px;
  /* Mẫu Bota đặt ba thuộc tính của select bằng !important. */
  border: 1px solid #d9bd87 !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  color: #123b52;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
}
.v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]) + #add-cart:has(+ .btn-buy-now),
.v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]) + #add-cart + .btn-buy-now {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-sizing: border-box;
  min-width: 0;
  min-height: 48px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #00588a;
  border-radius: 8px;
  background: #fff;
  color: #00588a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  text-wrap: balance;
}
.v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]) + #add-cart + .btn-buy-now {
  grid-column: 3;
  background: #00588a;
  color: #fff;
}
@media (hover: hover) {
  .v2_bnc_products_details_box > .f-pr-view-box-size + #add-cart:has(+ .btn-buy-now):hover { background: #eff6fa; }
  .v2_bnc_products_details_box > .f-pr-view-box-size + #add-cart + .btn-buy-now:hover { background: #00446c; }
}
.v2_bnc_products_details_box > .f-pr-view-box-size select[name="ProductQuantity"]:focus-visible,
.v2_bnc_products_details_box > #add-cart:focus-visible,
.v2_bnc_products_details_box > .btn-buy-now:focus-visible {
  outline: 2px solid #00588a;
  outline-offset: 2px;
}
@media (max-width: 480px) {
  .v2_bnc_products_details_box:has(> .f-pr-view-box-size select[name="ProductQuantity"]):has(> .f-pr-view-box-size + #add-cart + .btn-buy-now) {
    grid-template-columns: 66px minmax(0, 1.45fr) minmax(0, 1fr);
    column-gap: 6px;
  }
  .v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]) + #add-cart:has(+ .btn-buy-now),
  .v2_bnc_products_details_box > .f-pr-view-box-size:has(select[name="ProductQuantity"]) + #add-cart + .btn-buy-now {
    gap: 4px;
    padding-inline: 4px;
    font-size: 14px;
  }
}
@media (max-width: 374px) {
  .v2_bnc_products_details_box > #add-cart > .fa,
  .v2_bnc_products_details_box > .btn-buy-now > .fa { display: none; }
}

/* Liên hệ báo giá trong cụm đặt mua. Số điện thoại lấy từ cấu hình Bota. */
.v2_bnc_products_details_box > .mlc-price-contact {
  margin-top: 12px;
  padding: 0;
  background: transparent;
}
.mlc-price-contact > a.mlc-price-contact__link {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) max-content;
  grid-template-areas: "icon title number" "icon note number";
  align-items: center;
  gap: 3px 12px;
  box-sizing: border-box;
  min-height: 64px;
  padding: 12px 16px;
  border: 1px solid #c18719;
  border-radius: 10px;
  background: #d3931b;
  --mlc-hotline-ink: #0e2d42;
  color: var(--mlc-hotline-ink);
  text-align: left;
  text-transform: none;
  text-decoration: none;
  line-height: 1.35;
}
.mlc-price-contact__link > .mlc-price-contact__icon {
  grid-area: icon;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--mlc-hotline-ink);
  color: #fff;
  font-size: 17px;
}
.mlc-price-contact__link > .mlc-price-contact__title { grid-area: title; font-size: 16px; font-weight: 700; }
.mlc-price-contact__link > .mlc-price-contact__number {
  grid-area: number;
  color: var(--mlc-hotline-ink);
  font-size: 22px;
  line-height: 1.15;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mlc-price-contact__link > .mlc-price-contact__note {
  grid-area: note;
  color: #253544;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 400;
}
@media (hover: hover) {
  .mlc-price-contact > a.mlc-price-contact__link:hover { background: #dda02c; border-color: #a97513; }
}
.mlc-price-contact > a.mlc-price-contact__link:focus-visible { outline: 2px solid #00588a; outline-offset: 2px; }
/* Khi hai cột ảnh và thông tin xếp dọc, căn từng dòng vào giữa thanh gọi. */
@media (max-width: 991px) {
  .mlc-price-contact > a.mlc-price-contact__link {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-areas: "title title title" "icon number ." "note note note";
    justify-items: center;
    gap: 3px 6px;
    padding: 10px 12px;
    text-align: center;
  }
  .mlc-price-contact__link > .mlc-price-contact__icon {
    justify-self: end;
    width: 22px;
    height: 22px;
    font-size: 13px;
  }
  .mlc-price-contact__link > .mlc-price-contact__number { font-size: 21px; }
}
