/* Khu «Đánh giá Google» — dải thẻ trượt ngang (bản cuối 0412: chỉ còn Mẫu 2, gọn chân thẻ).
   Bật bằng lớp gg--truot trên section[data-from="gg-review"] (do gg-truot.js thêm). Dữ liệu là khối thường (8 phần tử card). */
.gg-san{position:relative;margin-top:28px;--gg-gap:20px;padding-inline:56px}
.gg-san *{box-sizing:border-box}
.gg-duong{display:flex;gap:var(--gg-gap);align-items:flex-start}
/* thẻ: ảnh tròn bên trái, tên + sao bên phải, chữ trải hết chiều rộng; cao vừa nội dung */
.gg-the{background:var(--paper,#f7f3e6);color:var(--ink-900,#232b18);border-radius:14px;padding:20px 22px 18px;text-align:left;
  display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:12px;row-gap:8px;align-content:start;min-width:0;position:relative}
.gg-the>.el{margin:0;grid-column:1/-1;min-width:0}
.gg-the>.el--image{grid-column:1;grid-row:1/3;width:48px;height:48px;align-self:center}
.gg-the>.gg-ten{grid-column:2;grid-row:1;align-self:end}
.gg-the>.gg-sao{grid-column:2;grid-row:2;align-self:start}
.gg-the .el--image img{width:48px;height:48px;border-radius:50%;object-fit:cover;display:block}
.gg-chu{width:48px;height:48px;border-radius:50%;background:var(--gold-500,#debd7c);color:var(--green-800,#171b10);
  display:flex;align-items:center;justify-content:center;font:700 21px/1 var(--font-sans-viet,sans-serif)}
.gg-ten{font:700 16px/1.25 var(--font-sans-viet,sans-serif)}
.gg-sao{font-size:16px;letter-spacing:2px;line-height:1}
.gg-goc{font:400 15px/1.55 var(--font-serif-soft,Georgia,serif);margin-top:2px!important}
/* cắt còn 5 dòng; mở ra (gg-rong) thì chỉ thẻ đó cao lên */
.gg-goc .el__text,.gg-dich{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:5;line-clamp:5;overflow:hidden;overflow-wrap:anywhere;max-width:none;font:inherit;line-height:inherit}
.gg-goc [data-locale],.gg-dich [data-locale]{white-space:pre-line}
.gg-the>.gg-dich,.gg-the>.gg-nhan-dich{grid-column:1/-1}
.gg-the.gg-rong .gg-goc .el__text{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
.gg-the.gg-rong .gg-dich{-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
.gg-dich{display:none;font:italic 400 14px/1.5 var(--font-serif-soft,Georgia,serif);border-left:3px solid var(--gold-500,#debd7c);padding-left:12px;color:var(--ink-600,#55604a)}
.gg-the.gg-mo .gg-dich{display:-webkit-box}
.gg-nhan-dich{display:none;font:600 12px/1 var(--font-sans-viet,sans-serif);color:var(--gold-600,#a9803f);text-transform:none}
.gg-the.gg-mo .gg-nhan-dich{display:block}
/* hàng nút nhỏ: Xem thêm · Xem bản dịch */
.gg-hanh{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:6px 8px;align-items:center}
.gg-hanh:not(:has(button:not([hidden]))){display:none}
.gg-hanh button{background:none;border:1px solid currentColor;color:var(--ink-600,#55604a);border-radius:99px;
  font:500 12px/1 var(--font-sans-viet,sans-serif);padding:6px 11px;cursor:pointer;min-height:28px}
.gg-hanh button:hover,.gg-hanh button:focus-visible{color:var(--gold-600,#a9803f)}
.gg-hanh button[hidden]{display:none}
.gg-hanh .gg-them{border-color:transparent;padding-inline:2px;text-decoration:underline;text-underline-offset:3px}
.gg-nguon,.gg-nguon a{font:500 12px/1.4 var(--font-sans-viet,sans-serif);color:var(--ink-600,#55604a)}
.gg-nguon a{text-decoration:underline;text-underline-offset:3px}
.gg-nguon a:hover,.gg-nguon a:focus-visible{color:var(--gold-600,#a9803f)}

/* mũi tên nằm NGOÀI dải thẻ (lề 56px mỗi bên) */
.gg-mt{position:absolute;top:50%;z-index:3;width:44px;height:44px;margin-top:-22px;border-radius:50%;border:0;cursor:pointer;
  background:var(--gold-500,#debd7c);color:var(--green-800,#171b10);font:700 22px/1 var(--font-sans-viet,sans-serif);display:flex;align-items:center;justify-content:center}
.gg-mt:hover,.gg-mt:focus-visible{background:var(--gold-300,#e8c888)}
.gg-mt--t{left:0}.gg-mt--p{right:0}
.gg-san :focus-visible{outline:3px solid var(--gold-300,#e8c888);outline-offset:2px}

.gg-cua{overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:4px 2px}
.gg-cua::-webkit-scrollbar{display:none}
.gg-the{flex:0 0 calc((100% - 2 * var(--gg-gap)) / 3);scroll-snap-align:start}

/* Ép màu trong thẻ: khối nền tối (xb--bg-toi) làm .el__text sáng lên (xmg.css ~3789), mà thẻ nền kem.
   Màu nằm ở --el-color của phần tử → đặt biến ngay trên thẻ chữ. */
/* 0417: áp cho CẢ hai trạng thái — trong dải (.gg-san) và lúc đang sửa (.is-gg-sua, thẻ trả ra ngoài dải). */
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-ten{--el-color:var(--ink-900,#232b18)}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-sao{--el-color:#e0a526}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-goc{--el-color:var(--ink-900,#232b18)}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-dich,:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-nguon{--el-color:var(--ink-600,#55604a)}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .gg-nhan-dich{color:var(--gold-600,#a9803f)}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the .el__text{color:var(--el-color)}
:is(section.xb .gg-san,section.xb.is-gg-sua>.xb__inner) .gg-the :is(.gg-goc,.gg-ten,.gg-sao,.gg-nguon) .el__text{font:inherit;line-height:inherit;letter-spacing:inherit;max-width:none}
.gg-the .gg-nguon a{color:inherit}

@media (max-width:900px){
  .gg-the{flex-basis:calc((100% - var(--gg-gap)) / 2)}
}
@media (max-width:640px){
  .gg-the{flex-basis:100%}
  .gg-san{padding-inline:0;margin-bottom:64px}
  /* điện thoại: mũi tên xuống dưới dải, giữa trang (cách cũ đè chữ) */
  .gg-mt--t{left:calc(50% - 52px)}.gg-mt--p{right:calc(50% - 52px)}
  .gg-mt{top:auto;bottom:-56px;margin:0;width:40px;height:40px}
}
@media (prefers-reduced-motion:reduce){
  .gg-cua{scroll-behavior:auto}
}

/* 0406 · đang sửa: bỏ băng trượt, thẻ xếp dọc như dữ liệu thật (không cắt chữ) */
.is-gg-sua .gg-san{display:none!important}
.is-gg-sua > .xb__inner > .gg-the{display:flex;flex-direction:column;max-width:720px;margin:12px auto;opacity:1!important;transform:none!important;position:relative!important}
.is-gg-sua > .xb__inner > .gg-the .gg-goc .el__text{display:block;-webkit-line-clamp:unset;line-clamp:unset;overflow:visible}
.is-gg-sua > .xb__inner > .gg-the .gg-hanh{display:none}

/* 0443/0452 · khối đánh giá trang chi nhánh: mỗi thẻ gắn gg-lg-<tiếng>; chỉ hiện thẻ của tiếng đang xem (kể cả lúc mở trình sửa, nhờ !important) */
body[data-lang="vi"] .gg-the.gg-lg-en,body[data-lang="vi"] .gg-the.gg-lg-ko,body[data-lang="vi"] .gg-the.gg-lg-ru,
body[data-lang="en"] .gg-the.gg-lg-vi,body[data-lang="en"] .gg-the.gg-lg-ko,body[data-lang="en"] .gg-the.gg-lg-ru,
body[data-lang="ko"] .gg-the.gg-lg-vi,body[data-lang="ko"] .gg-the.gg-lg-en,body[data-lang="ko"] .gg-the.gg-lg-ru,
body[data-lang="ru"] .gg-the.gg-lg-vi,body[data-lang="ru"] .gg-the.gg-lg-en,body[data-lang="ru"] .gg-the.gg-lg-ko{display:none!important}
