/* Shirtembroidry — chủ đề "phòng nhân viên bệnh viện/trường học": biển chỉ dẫn (Overpass), chữ dễ đọc (Atkinson Hyperlegible), thẻ nhân viên, vạch màu dẫn đường theo khoa.
   Màu chính/nhấn/giảm giá lấy từ Customize → Colors (primary, secondary, danger); màu khoa cố định để khách nhận ra "đường" của mình. */
:root {
  --sg-pri: #1f3a5a;
  --sg-sec: #f2b51d;
  --sg-danger: #d6492f;
  --sg-pri-d: color-mix(in srgb, var(--sg-pri) 80%, #000);
  --sg-ink: color-mix(in srgb, var(--sg-pri) 42%, #07101b);
  --sg-body: color-mix(in srgb, var(--sg-ink) 84%, #fff);
  --sg-muted: color-mix(in srgb, var(--sg-ink) 58%, #fff);
  --sg-bg: color-mix(in srgb, var(--sg-pri) 4%, #f1f3f4);
  --sg-paper: #ffffff;
  --sg-tile: color-mix(in srgb, var(--sg-pri) 7%, #eef1f3);
  --sg-line: color-mix(in srgb, var(--sg-pri) 15%, #e2e7eb);
  --sg-on-sec: color-mix(in srgb, var(--sg-sec) 14%, #171103);
  --sg-sec-soft: color-mix(in srgb, var(--sg-sec) 20%, #fff);
  --sg-on-dark: #edf1f5;
  --sg-on-dark-muted: color-mix(in srgb, #edf1f5 64%, var(--sg-pri));
  --sg-deep: color-mix(in srgb, var(--sg-pri) 78%, #060c14);
  --t-blue: #2f7fc1; --t-yellow: #e5a30f; --t-green: #1d9774; --t-red: #d6492f; --t-purple: #7a5bc6; --t-slate: #56636f;
  --sg-font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sg-disp: "Overpass", "Atkinson Hyperlegible", system-ui, sans-serif;
  --sg-mono: "Overpass Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --sg-r: 14px;
  --sg-r-sm: 9px;
  --sg-shadow: 0 1px 2px color-mix(in srgb, var(--sg-ink) 8%, transparent), 0 14px 32px color-mix(in srgb, var(--sg-ink) 12%, transparent);
  --sg-gut: 16px;
  --sg-max: 1320px;
  --sg-head-h: 64px;
  --sg-lines: linear-gradient(90deg, var(--t-blue) 0 20%, var(--t-yellow) 20% 40%, var(--t-green) 40% 60%, var(--t-red) 60% 80%, var(--t-purple) 80% 100%);
}
@media (min-width: 768px) { :root { --sg-gut: 24px; } }
@media (min-width: 1100px) { :root { --sg-gut: 32px; --sg-head-h: 76px; } }

/* màu khoa: dùng cho thẻ, bảng chỉ dẫn, tủ, nhãn */
.sg-tone--blue, .sg-dept--nursing { --tone: var(--t-blue); --on-tone: #fff; }
.sg-tone--yellow, .sg-dept--teaching { --tone: var(--t-yellow); --on-tone: #1d1503; }
.sg-tone--green, .sg-dept--therapy { --tone: var(--t-green); --on-tone: #fff; }
.sg-tone--red, .sg-dept--clinic { --tone: var(--t-red); --on-tone: #fff; }
.sg-tone--purple, .sg-dept--animal { --tone: var(--t-purple); --on-tone: #fff; }
.sg-tone--slate, .sg-dept--offduty { --tone: var(--t-slate); --on-tone: #fff; }
.sg-tone--navy { --tone: var(--sg-pri); --on-tone: #fff; }
.sg-tone--gold { --tone: var(--sg-sec); --on-tone: var(--sg-on-sec); }

section:where([class*="sg-"]) { margin-bottom: 0; padding: 0; }
html { scroll-padding-top: calc(var(--sg-head-h) + 12px); }
body { background: var(--sg-bg); color: var(--sg-body); font-family: var(--sg-font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body, .lencam-platform-body { overflow-x: clip; }
.lencam-platform-body { min-height: 50vh; }
a { color: var(--sg-pri); }
a:hover { color: var(--sg-pri-d); }
img { max-width: 100%; }
h1, h2, h3, h4 { color: var(--sg-ink); }
:focus-visible { outline: 3px solid var(--sg-sec) !important; outline-offset: 2px; }
.sg-wrap { width: 100%; max-width: var(--sg-max); margin: 0 auto; padding-left: var(--sg-gut); padding-right: var(--sg-gut); }
.sg-sec { padding: 56px 0; }
.sg-sec--tight { padding-top: 16px; }
@media (min-width: 990px) { .sg-sec { padding: 88px 0; } }
.sg-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; font-family: var(--sg-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sg-pri); }
.sg-eyebrow::before { content: ""; width: 30px; height: 6px; border-radius: 2px; background: var(--sg-lines); flex: none; }
.sg-eyebrow svg { width: 16px; height: 16px; }
.sg-eyebrow--on-dark { color: var(--sg-sec); }
.sg-display--md { font-size: clamp(32px, 5.6vw, 54px) !important; }
.sg-display { font-family: var(--sg-disp); font-weight: 900; letter-spacing: -.03em; line-height: .98; font-size: clamp(40px, 7.6vw, 78px); margin: 0 0 18px; color: var(--sg-ink); }
.sg-h2 { font-family: var(--sg-disp); font-weight: 800; letter-spacing: -.022em; line-height: 1.04; font-size: clamp(30px, 4.6vw, 48px); margin: 0 0 8px; color: var(--sg-ink); }
.sg-hl { background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--sg-sec) 85%, transparent) 60% 92%, transparent 92%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sg-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
@media (max-width: 767.98px) { .sg-sec__head { flex-direction: column; align-items: flex-start; gap: 10px; } }
.sg-sec__sub { margin: 8px 0 0; color: var(--sg-muted); max-width: 60ch; font-size: 16.5px; }
.sg-muted { color: var(--sg-muted); }
.sg-center { text-align: center; margin-top: 30px; }
.sg-link { color: var(--sg-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 2px; text-decoration-color: var(--sg-sec); }
.sg-link:hover { color: var(--sg-pri); }
.sg-more { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sg-disp); font-weight: 800; font-size: 15px; color: var(--sg-ink); text-decoration: none; white-space: nowrap; padding: 8px 0; border-bottom: 3px solid var(--sg-sec); }
.sg-more svg { width: 18px; height: 18px; transition: transform .2s; }
.sg-more:hover { color: var(--sg-pri); }
.sg-more:hover svg { transform: translateX(4px); }
.sg-prose { color: var(--sg-body); }
.sg-prose p { margin: 0 0 .8em; }
.sg-prose a { color: var(--sg-pri); text-decoration: underline; }
.sg-prose img { height: auto; border-radius: var(--sg-r-sm); }
.sg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* nút: khối chữ nhật bo nhẹ như biển chỉ dẫn, mũi tên đi kèm */
.sg-btn { --b: var(--sg-pri); --bt: #fff; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 2px solid var(--b); border-radius: 10px; background: var(--b); color: var(--bt) !important; font-family: var(--sg-disp); font-weight: 800; font-size: 15.5px; letter-spacing: .005em; line-height: 1; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .2s, border-color .2s, transform .12s, box-shadow .2s; box-shadow: 0 2px 0 color-mix(in srgb, var(--b) 60%, #000); }
.sg-btn svg { width: 19px; height: 19px; flex: none; transition: transform .2s; }
.sg-btn:hover { --b: var(--sg-pri-d); }
.sg-btn:hover svg { transform: translateX(3px); }
.sg-btn:active { transform: translateY(2px); box-shadow: none; }
.sg-btn[disabled], .sg-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.sg-btn--lg { min-height: 56px; font-size: 16.5px; padding: 0 28px; }
.sg-btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 8px; }
.sg-btn--block { display: flex; width: 100%; }
.sg-btn--grow { flex: 1 1 auto; }
.sg-btn--sec, .sg-btn--clay { --b: var(--sg-sec); --bt: var(--sg-on-sec); }
.sg-btn--sec:hover, .sg-btn--clay:hover { --b: color-mix(in srgb, var(--sg-sec) 86%, #000); }
.sg-btn--light { --b: #fff; --bt: var(--sg-ink); box-shadow: 0 2px 0 color-mix(in srgb, var(--sg-ink) 35%, transparent); }
.sg-btn--light:hover { --b: var(--sg-sec-soft); }
.sg-btn--ghost { --b: transparent; --bt: var(--sg-ink); border-color: var(--sg-ink); box-shadow: none; }
.sg-btn--ghost:hover { --b: var(--sg-tile); }
.sg-btn--line-light { --b: transparent; --bt: #fff; border-color: color-mix(in srgb, #fff 55%, transparent); box-shadow: none; }
.sg-btn--line-light:hover { --b: color-mix(in srgb, #fff 12%, transparent); border-color: #fff; }

.sg-badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 6px; background: var(--sg-pri); color: #fff; font-family: var(--sg-mono); font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; }
.sg-badge svg { width: 13px; height: 13px; }
.sg-badge--soft { background: #fff; color: var(--sg-ink); box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-badge--name { background: var(--sg-sec); color: var(--sg-on-sec); }
.sg-badge--sale { background: var(--sg-danger); }
.sg-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 4px; margin-top: 18px; }
.sg-chips::-webkit-scrollbar { display: none; }
.sg-chips a { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sg-line); color: var(--sg-ink); font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.sg-chips a:hover { box-shadow: inset 0 0 0 2px var(--sg-ink); }
.sg-chips a.is-on { background: var(--sg-ink); color: #fff; box-shadow: none; }
.sg-chips--center { justify-content: center; flex-wrap: wrap; }
@media (min-width: 768px) { .sg-chips { flex-wrap: wrap; overflow: visible; } }
@media (max-width: 767.98px) { .sg-chips:not(.sg-chips--center) { margin-right: calc(var(--sg-gut) * -1); padding-right: 40px; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent); } }

.sg-iconbtn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--sg-ink); text-decoration: none; cursor: pointer; transition: background .2s; }
.sg-iconbtn:hover { background: var(--sg-tile); color: var(--sg-pri); }
.sg-iconbtn svg { width: 23px; height: 23px; }
.sg-bubble { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--sg-sec); color: var(--sg-on-sec); font-family: var(--sg-mono); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; }
.sg-bubble.is-zero { display: none; }
@media (max-width: 767.98px) { .sg-hide-sm { display: none !important; } }

/* thanh thông báo + header */
.sg-ann-stub { display: none !important; }
.sg-ann { background: var(--sg-ink); color: var(--sg-on-dark); font-size: 13.5px; font-weight: 700; }
.sg-ann__in { min-height: 38px; display: flex; align-items: center; justify-content: center; text-align: center; }
.sg-ann__msg { margin: 0; padding: 9px 0; color: inherit; text-decoration: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 22px; }
.sg-ann__msg:hover { color: #fff; }
.sg-ann__msg span:not(:first-child) { display: none; }
@media (min-width: 768px) { .sg-ann__msg span:not(:first-child) { display: inline; } .sg-ann__msg span + span::before { content: "→"; margin-right: 22px; color: var(--sg-sec); } }
@keyframes sgFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sg-header { position: sticky; top: 0; z-index: 1030; background: #fff; transition: box-shadow .2s; }
.sg-header.is-scrolled { box-shadow: 0 8px 22px color-mix(in srgb, var(--sg-ink) 9%, transparent); }
.sg-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--sg-head-h); gap: 8px; }
.sg-floorline { display: grid; grid-template-columns: repeat(5, 1fr); height: 5px; }
.sg-floorline i:nth-child(1) { background: var(--t-blue); } .sg-floorline i:nth-child(2) { background: var(--t-yellow); } .sg-floorline i:nth-child(3) { background: var(--t-green); } .sg-floorline i:nth-child(4) { background: var(--t-red); } .sg-floorline i:nth-child(5) { background: var(--t-purple); }
.sg-burger { justify-self: start; }
.sg-logo { justify-self: center; display: inline-flex; align-items: center; text-decoration: none; color: var(--sg-ink); }
.sg-logo img { height: 34px; width: auto; display: block; }
.sg-logo span { font-family: var(--sg-disp); font-weight: 900; font-size: 25px; letter-spacing: -.02em; }
.sg-icons { justify-self: end; display: flex; align-items: center; gap: 2px; }
.sg-nav { display: none; }
.sg-ico { display: block; }
@media (min-width: 1100px) {
  .sg-head { grid-template-columns: auto 1fr auto; gap: 28px; }
  .sg-burger { display: none; }
  .sg-logo { justify-self: start; }
  .sg-logo img { height: 40px; }
  .sg-nav { display: block; justify-self: center; }
}
.sg-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.sg-nav li { position: relative; }
.sg-nav > ul > li > a { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; color: var(--sg-ink); font-family: var(--sg-disp); font-weight: 800; font-size: 14.5px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.sg-nav > ul > li > a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 4px; border-radius: 2px; background: var(--sg-sec); transform: scaleX(0); transform-origin: left; transition: transform .22s; }
.sg-nav > ul > li > a:hover::after, .sg-nav > ul > li > a.is-active::after { transform: scaleX(1); }
.sg-nav > ul > li > a svg { width: 15px; height: 15px; transition: transform .2s; }
.sg-drop { position: absolute; left: 50%; top: 100%; transform: translate(-50%, 6px); min-width: 240px; padding-top: 8px; opacity: 0; visibility: hidden; transition: opacity .18s, transform .18s, visibility .18s; z-index: 5; }
.sg-drop ul { display: block; background: #fff; border-radius: var(--sg-r); box-shadow: var(--sg-shadow); padding: 8px; border: 1px solid var(--sg-line); border-top: 4px solid var(--sg-pri); }
.sg-drop a { display: block; padding: 9px 12px; border-radius: 7px; color: var(--sg-ink); font-weight: 700; font-size: 14.5px; text-decoration: none; }
.sg-drop a:hover { background: var(--sg-tile); }
.sg-nav li.has-drop:hover > .sg-drop, .sg-nav li.has-drop:focus-within > .sg-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sg-nav li.has-drop:hover > a svg { transform: rotate(180deg); }
.sg-search { display: none; border-top: 1px solid var(--sg-line); background: #fff; padding: 14px 0 16px; }
.sg-search.is-open { display: block; animation: sgFade .2s ease; }
.sg-search__form { position: relative; display: flex; align-items: center; gap: 8px; max-width: 720px; margin: 0 auto; background: var(--sg-bg); border: 2px solid var(--sg-line); border-radius: 12px; padding: 4px 4px 4px 44px; }
.sg-search__form:focus-within { border-color: var(--sg-pri); }
.sg-search__form > svg { position: absolute; left: 15px; width: 20px; height: 20px; color: var(--sg-muted); }
.sg-search__form input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 8px 4px; color: var(--sg-ink); outline: 0; }
.sg-search__pop { max-width: 720px; margin: 12px auto 0; display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--sg-muted); align-items: center; }
.sg-search__pop a { color: var(--sg-ink); font-weight: 700; text-decoration: none; padding: 4px 10px; border-radius: 999px; background: var(--sg-tile); }
.sg-search__pop a:hover { background: var(--sg-sec-soft); }

.sg-drawer, .sg-cartdrawer { background: var(--sg-bg); }
.sg-drawer .offcanvas-title, .sg-cartdrawer .offcanvas-title { font-family: var(--sg-disp); font-weight: 900; font-size: 24px; letter-spacing: -.02em; margin: 0; color: var(--sg-ink); }
.sg-drawer .offcanvas-header, .sg-cartdrawer .offcanvas-header { background: #fff; border-bottom: 5px solid transparent; border-image: var(--sg-lines) 1; }
.sg-mnav { list-style: none; margin: 0; padding: 8px 0; }
.sg-mnav > li { border-bottom: 1px solid var(--sg-line); }
.sg-mnav > li > a, .sg-mnav summary { display: flex; align-items: center; justify-content: space-between; padding: 15px 20px; color: var(--sg-ink); font-family: var(--sg-disp); font-weight: 800; font-size: 19px; text-decoration: none; cursor: pointer; list-style: none; }
.sg-mnav summary::-webkit-details-marker { display: none; }
.sg-mnav summary svg { width: 18px; height: 18px; transition: transform .2s; }
.sg-mnav details[open] summary svg { transform: rotate(180deg); }
.sg-mnav__sub { list-style: none; margin: 0; padding: 0 0 10px; }
.sg-mnav__sub a { display: block; padding: 9px 32px; color: var(--sg-body); text-decoration: none; font-weight: 700; }
.sg-mnav__foot { padding: 18px 20px; display: grid; gap: 4px; }
.sg-mnav__foot a { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--sg-ink); text-decoration: none; font-weight: 700; }
.sg-mnav__foot svg { width: 20px; height: 20px; color: var(--sg-pri); }
.sg-cartdrawer { width: min(420px, 100vw) !important; }
.sg-cart-note { display: flex; align-items: center; gap: 10px; padding: 11px 14px; margin-bottom: 12px; border-radius: var(--sg-r-sm); background: var(--sg-sec-soft); color: var(--sg-ink); font-size: 13.5px; font-weight: 700; line-height: 1.4; }
.sg-cart-note svg { width: 22px; height: 22px; flex: none; color: var(--sg-ink); }
.sg-cart-foot { border-top: 1px solid var(--sg-line); padding-top: 14px; margin-top: 10px; }
.sg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 2000; padding: 12px 18px; border-radius: 10px; background: var(--sg-ink); color: #fff; font-weight: 700; font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.sg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ───────── Trang chủ: giá treo thẻ nhân viên ───────── */
.sg-rack { position: relative; background-color: var(--sg-rack-bg, var(--sg-deep)); color: var(--sg-on-dark); overflow: hidden; isolation: isolate; }
.sg-rack::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(color-mix(in srgb, #fff 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, #fff 5%, transparent) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.sg-rack__in { padding-top: 40px; padding-bottom: 44px; }
.sg-rack__head { display: grid; gap: 6px; max-width: 940px; }
.sg-rack .sg-display { color: #fff; }
.sg-rack .sg-hl { color: var(--sg-ink); background: var(--sg-sec); padding: 0 .12em; border-radius: 6px; }
.sg-rack__lead { font-size: 18px; color: var(--sg-on-dark-muted); max-width: 56ch; margin: 0 0 18px; }
.sg-namer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.sg-namer__lbl { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 700; color: var(--sg-on-dark); }
.sg-namer__lbl svg { width: 18px; height: 18px; color: var(--sg-sec); }
.sg-namer__input { width: min(300px, 100%); height: 50px; padding: 0 16px; border: 0; border-radius: 6px; background: var(--sg-sec) repeating-linear-gradient(90deg, transparent 0 6px, color-mix(in srgb, #000 4%, transparent) 6px 7px); color: var(--sg-on-sec); font-family: var(--sg-mono); font-size: 19px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; box-shadow: inset 0 -3px 0 color-mix(in srgb, #000 18%, transparent), 0 6px 16px rgba(0, 0, 0, .25); }
.sg-namer__input::placeholder { color: color-mix(in srgb, var(--sg-on-sec) 55%, transparent); }
.sg-namer__input:focus { outline: 3px solid #fff; outline-offset: 2px; }
.sg-rack__rail { position: relative; list-style: none; margin: 34px 0 0; padding: 40px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 12px; }
.sg-rack__rail::before { content: ""; position: absolute; left: -8px; right: -8px; top: 0; height: 12px; border-radius: 6px; background: linear-gradient(180deg, #e9eef2, #9aa6b1 70%, #6c7984); box-shadow: 0 4px 10px rgba(0, 0, 0, .35); }
@media (min-width: 768px) { .sg-rack__rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 18px; } }
@media (min-width: 1100px) { .sg-rack__rail--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } .sg-rack__rail--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } .sg-rack__rail--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .sg-rack__rail { gap: 18px; } }
.sg-idcard { position: relative; }
li.sg-idcard::before { content: ""; position: absolute; left: 50%; top: -40px; width: 16px; height: 34px; margin-left: -8px; background: repeating-linear-gradient(0deg, var(--tone) 0 6px, color-mix(in srgb, var(--tone) 70%, #000) 6px 8px); border-radius: 2px; }
@media (max-width: 767.98px) { li.sg-idcard:nth-child(n+3)::before { top: -30px; height: 24px; } }
@media (min-width: 768px) and (max-width: 1099.98px) { li.sg-idcard:nth-child(n+4)::before { top: -44px; height: 38px; } }
.sg-id__card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 10px 10px; border-radius: 14px; background: #fff; color: var(--sg-ink); text-decoration: none; box-shadow: 0 2px 0 rgba(0, 0, 0, .2), 0 18px 34px rgba(0, 0, 0, .35); transform-origin: 50% -30px; transition: transform .3s ease, box-shadow .3s ease; }
.sg-id__card:hover { color: var(--sg-ink); transform: rotate(-2deg) translateY(-3px); box-shadow: 0 2px 0 rgba(0, 0, 0, .2), 0 26px 44px rgba(0, 0, 0, .45); }
.sg-rack__rail li:nth-child(even) .sg-id__card:hover { transform: rotate(2deg) translateY(-3px); }
.sg-id__clip { position: absolute; left: 50%; top: -9px; width: 36px; height: 15px; margin-left: -18px; border-radius: 4px; background: linear-gradient(180deg, #f4f6f8, #a9b3bc); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .18), 0 2px 3px rgba(0, 0, 0, .25); }
.sg-id__card::before { content: ""; position: absolute; left: 50%; top: 10px; width: 30px; height: 6px; margin-left: -15px; border-radius: 6px; background: var(--sg-deep); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .5); }
.sg-id__band { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0 -10px; padding: 7px 8px; background: var(--tone); color: var(--on-tone); font-family: var(--sg-disp); font-size: 13px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; text-align: center; line-height: 1.1; }
.sg-id__band svg { width: 16px; height: 16px; flex: none; }
.sg-id__band b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-id__photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; margin: 10px 0 8px; border-radius: 8px; overflow: hidden; background: var(--sg-tile); color: var(--sg-muted); box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-id__photo img { width: 100%; height: 100%; object-fit: cover; }
.sg-id__photo svg { width: 40%; height: 40%; }
.sg-id__name { font-family: var(--sg-disp); font-weight: 900; font-size: 19px; line-height: 1.05; letter-spacing: -.01em; color: var(--sg-ink); text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-id__name.is-typed { color: var(--sg-pri); }
.sg-id__role { display: block; margin-top: 3px; font-size: 12px; font-weight: 700; line-height: 1.3; color: var(--sg-muted); text-align: center; min-height: 2.6em; }
.sg-id__foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--sg-line); font-family: var(--sg-mono); font-size: 11px; font-weight: 700; color: var(--sg-muted); }
.sg-id__count { display: inline-flex; align-items: center; gap: 4px; color: var(--sg-ink); white-space: nowrap; }
.sg-id__count svg { width: 14px; height: 14px; color: var(--tone); transition: transform .2s; }
.sg-id__card:hover .sg-id__count svg { transform: translateX(3px); }
.sg-rack__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 34px; }
.sg-rack__facts { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; }
.sg-rack__facts li { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: var(--sg-on-dark); }
.sg-rack__facts svg { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--sg-sec); color: var(--sg-on-sec); flex: none; }
@media (max-width: 767.98px) {
  .sg-rack__in { padding-top: 28px; padding-bottom: 34px; }
  .sg-rack__lead { font-size: 16.5px; margin-bottom: 14px; }
  .sg-namer__input { width: 100%; }
  .sg-id__card { padding: 20px 8px 8px; }
  .sg-id__band { margin: 0 -8px; font-size: 11.5px; letter-spacing: .08em; }
  .sg-id__name { font-size: 16.5px; }
  .sg-id__role { font-size: 11.5px; }
  .sg-id__foot { font-size: 10px; }
  .sg-id__id { display: none; }
  .sg-rack .sg-btn--lg { min-height: 52px; padding: 0 20px; font-size: 15.5px; }
}
@media (min-width: 1100px) { .sg-rack__in { padding-top: 64px; padding-bottom: 64px; } .sg-rack__rail { margin-top: 44px; } }

/* bảng chỉ dẫn tầng */
.sg-dir { background: var(--sg-bg); }
.sg-dir__board { border-radius: 18px; background: var(--sg-ink); color: var(--sg-on-dark); padding: 10px; box-shadow: var(--sg-shadow); }
.sg-dir__top { display: flex; align-items: center; gap: 8px; padding: 8px 12px 14px; }
.sg-dir__top span { display: inline-flex; align-items: center; gap: 6px; margin-right: auto; font-family: var(--sg-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sg-sec); }
.sg-dir__top span svg { width: 16px; height: 16px; }
.sg-dir__top i { width: 24px; height: 6px; border-radius: 3px; }
.sg-dir__top i:nth-of-type(1) { background: var(--t-blue); } .sg-dir__top i:nth-of-type(2) { background: var(--t-yellow); } .sg-dir__top i:nth-of-type(3) { background: var(--t-green); } .sg-dir__top i:nth-of-type(4) { background: var(--t-red); } .sg-dir__top i:nth-of-type(5) { background: var(--t-purple); }
.sg-dir__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sg-dir__row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; align-items: center; padding: 14px; border-radius: 12px; background: color-mix(in srgb, #fff 5%, transparent); border-left: 6px solid var(--tone); transition: background .2s; }
.sg-dir__row:hover { background: color-mix(in srgb, #fff 9%, transparent); }
.sg-dir__dept { display: flex; align-items: center; gap: 14px; min-width: 0; color: #fff; text-decoration: none; }
.sg-dir__dept:hover { color: #fff; }
.sg-dir__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 50px; height: 50px; border-radius: 10px; background: var(--tone); color: var(--on-tone); }
.sg-dir__ico svg { width: 28px; height: 28px; }
.sg-dir__txt { min-width: 0; display: grid; }
.sg-dir__txt b { font-family: var(--sg-disp); font-weight: 900; font-size: 22px; line-height: 1.1; letter-spacing: -.01em; }
.sg-dir__txt small { font-size: 13.5px; color: var(--sg-on-dark-muted); line-height: 1.35; }
.sg-dir__floor { flex: none; margin-left: auto; padding: 4px 9px; border-radius: 6px; background: color-mix(in srgb, #fff 12%, transparent); font-family: var(--sg-mono); font-size: 12px; font-weight: 700; color: var(--sg-on-dark); }
.sg-dir__chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px; }
.sg-dir__chips a { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, #fff 9%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #fff 18%, transparent); color: var(--sg-on-dark); font-size: 13.5px; font-weight: 700; text-decoration: none; transition: background .15s, color .15s; }
.sg-dir__chips a:hover { background: var(--tone); color: var(--on-tone); box-shadow: none; }
.sg-dir__go { grid-row: 1; grid-column: 2; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--tone); color: var(--on-tone); transition: transform .2s; }
.sg-dir__go:hover { color: var(--on-tone); transform: translateX(3px); }
.sg-dir__go svg { width: 22px; height: 22px; }
@media (min-width: 990px) {
  .sg-dir__board { padding: 14px; }
  .sg-dir__row { grid-template-columns: minmax(260px, 340px) minmax(0, 1fr) auto; padding: 16px 18px; gap: 20px; }
  .sg-dir__chips { grid-column: 2; grid-row: 1; }
  .sg-dir__go { grid-column: 3; }
}
@media (max-width: 575.98px) { .sg-dir__txt b { font-size: 19px; } .sg-dir__ico { width: 44px; height: 44px; } .sg-dir__floor { display: none; } .sg-dir__chips a { font-size: 13px; padding: 5px 11px; } }

/* lưới SP + thẻ SP kiểu thẻ nhân viên */
.sg-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 10px; }
@media (min-width: 768px) { .sg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 16px; } }
@media (min-width: 1100px) { .sg-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; } }
.sg-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.sg-card { --tone: var(--sg-pri); position: relative; display: flex; flex-direction: column; min-width: 0; padding: 7px; border-radius: var(--sg-r); background: #fff; box-shadow: 0 0 0 1px var(--sg-line); transition: box-shadow .25s, transform .25s; }
@media (hover: hover) { .sg-card:hover { box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--tone) 55%, transparent), var(--sg-shadow); transform: translateY(-2px); } }
.sg-card::before { content: ""; position: absolute; left: 50%; top: 14px; z-index: 2; width: 32px; height: 7px; margin-left: -16px; border-radius: 7px; background: var(--sg-bg); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--sg-ink) 40%, transparent), 0 0 0 1px rgba(255, 255, 255, .6); pointer-events: none; }
.sg-card__media { position: relative; display: block; aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: var(--sg-tile); }
.sg-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .6s ease; }
.sg-card__alt { opacity: 0; }
@media (hover: hover) { .sg-card:hover .sg-card__alt { opacity: 1; } .sg-card:hover .sg-card__media img:first-child { transform: scale(1.03); } }
.sg-card__badges { position: absolute; left: 8px; bottom: 8px; display: flex; flex-wrap: wrap; gap: 4px; z-index: 1; pointer-events: none; }
.sg-card__body { padding: 10px 5px 4px; display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; }
.sg-card__dept { display: flex; align-items: center; gap: 7px; margin: 0; font-family: var(--sg-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-card__dept i { flex: none; width: 18px; height: 5px; border-radius: 3px; background: var(--tone); }
.sg-card__dept span { color: var(--sg-muted); font-weight: 600; letter-spacing: .04em; text-transform: none; font-family: var(--sg-font); font-size: 11.5px; }
@media (max-width: 575.98px) { .sg-card__dept span { display: none; } }
.sg-card__dots { display: flex; align-items: center; gap: 4px; min-height: 14px; }
.sg-card__dots span { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); background: var(--sg-tile); }
.sg-card__dots span.is-none { display: none; }
.sg-card__dots small { font-size: 11.5px; color: var(--sg-muted); font-weight: 700; margin-left: 2px; }
.sg-card__title { margin: 0; font-family: var(--sg-font); font-size: 14.5px; font-weight: 700; line-height: 1.36; letter-spacing: 0; text-transform: none; }
.sg-card__title a { color: var(--sg-ink); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sg-card__title a:hover { color: var(--sg-pri); text-decoration: underline; text-underline-offset: 2px; }
.sg-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.sg-price__from { font-size: 12.5px; color: var(--sg-muted); font-weight: 700; }
.sg-price__now { font-family: var(--sg-disp); font-weight: 900; font-size: 18px; color: var(--sg-ink); letter-spacing: -.01em; }
.sg-price__was { color: var(--sg-muted); font-size: 13.5px; }
.sg-card__body > .sg-price { margin-bottom: 6px; }
.sg-card__quick { margin-top: auto; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 6px 10px; border: 0; border-radius: 8px; background: var(--sg-tile); color: var(--sg-ink); font-family: var(--sg-disp); font-weight: 800; font-size: 14px; cursor: pointer; transition: background .2s, color .2s; }
.sg-card__quick svg { width: 17px; height: 17px; }
.sg-card__quick:hover { background: var(--sg-ink); color: #fff; }
.sg-card__quick[data-sg-custom] { background: var(--sg-sec-soft); }
.sg-card__quick[data-sg-custom]:hover { background: var(--sg-sec); color: var(--sg-on-sec); }
@media (min-width: 990px) { .sg-card { padding: 8px; } .sg-card__title { font-size: 15px; } }

/* bảng tin */
.sg-board { background: #fff; }
.sg-board__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; margin-bottom: 30px; }
.sg-board__note { position: relative; max-width: 720px; }
.sg-board__tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; background: var(--sg-sec); color: var(--sg-on-sec); font-family: var(--sg-mono); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; transform: rotate(-2deg); box-shadow: 0 3px 6px color-mix(in srgb, var(--sg-ink) 18%, transparent); }
.sg-board__side { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.sg-board__stamp { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; border-radius: 8px; background: var(--sg-tile); font-family: var(--sg-mono); font-size: 12px; font-weight: 700; color: var(--sg-muted); text-transform: uppercase; letter-spacing: .06em; }
.sg-board__stamp svg { width: 16px; height: 16px; color: var(--sg-pri); }
.sg-board__stamp b { color: var(--sg-ink); }
.sg-board .sg-card { background: #fff; }

/* tủ locker quà tặng */
.sg-lockers { background: var(--sg-bg); }
.sg-lockers__row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .sg-lockers__row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .sg-lockers__row { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; } }
.sg-locker__door { position: relative; display: flex; flex-direction: column; height: 100%; padding: 12px 12px 14px; border-radius: 8px; background: linear-gradient(180deg, #e7ebee, #cfd6dc); box-shadow: inset 0 0 0 1px #b6c0c8, inset 0 2px 0 rgba(255, 255, 255, .7), 0 10px 22px color-mix(in srgb, var(--sg-ink) 14%, transparent); color: var(--sg-ink); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.sg-locker__door:hover { color: var(--sg-ink); transform: translateY(-4px); box-shadow: inset 0 0 0 1px #b6c0c8, inset 0 2px 0 rgba(255, 255, 255, .7), 0 0 0 3px color-mix(in srgb, var(--tone) 60%, transparent), 0 18px 30px color-mix(in srgb, var(--sg-ink) 20%, transparent); }
.sg-locker__vents { display: block; height: 26px; margin: 0 14px 10px; background: repeating-linear-gradient(180deg, #7f8b95 0 3px, transparent 3px 6px); border-radius: 2px; opacity: .55; }
.sg-locker__plate { align-self: center; margin-bottom: 10px; padding: 2px 10px; border-radius: 4px; background: #fff; box-shadow: inset 0 0 0 1px #aab4bc; font-family: var(--sg-mono); font-size: 11.5px; font-weight: 700; color: var(--sg-ink); }
.sg-locker__win { display: flex; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 4px #9fabb4, 0 1px 0 rgba(255, 255, 255, .8); color: var(--sg-muted); }
.sg-locker__win img { width: 100%; height: 100%; object-fit: cover; padding: 4px; border-radius: 8px; }
.sg-locker__win svg { width: 40%; height: 40%; }
.sg-locker__tag { position: relative; display: grid; gap: 2px; margin-top: 12px; padding: 10px 11px; border-radius: 4px; background: #fff; border-top: 5px solid var(--tone); box-shadow: 0 2px 4px color-mix(in srgb, var(--sg-ink) 12%, transparent); }
.sg-locker__tag b { font-family: var(--sg-disp); font-weight: 900; font-size: 16.5px; line-height: 1.15; }
.sg-locker__tag small { font-size: 13px; line-height: 1.35; color: var(--sg-muted); }
.sg-locker__tag em { font-style: normal; font-family: var(--sg-mono); font-size: 12px; font-weight: 700; color: var(--sg-ink); }
.sg-locker__handle { position: absolute; right: 7px; top: 50%; width: 5px; height: 34px; margin-top: -17px; border-radius: 3px; background: linear-gradient(90deg, #8d99a3, #e6eaee); box-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
@media (max-width: 575.98px) { .sg-locker__door { padding: 10px 10px 12px; } .sg-locker__vents { height: 18px; margin: 0 10px 8px; } .sg-locker__tag b { font-size: 15px; } .sg-locker__tag small { display: none; } }

/* hạn đặt hàng mùa lễ */
.sg-holiday { background: var(--sg-hol-bg, color-mix(in srgb, var(--t-red) 62%, #1b0906)); color: var(--sg-on-dark); position: relative; overflow: hidden; isolation: isolate; }
.sg-holiday::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 12% 18%, rgba(255, 255, 255, .08) 0 2px, transparent 3px) 0 0 / 46px 46px, radial-gradient(circle at 60% 70%, rgba(255, 255, 255, .06) 0 1.5px, transparent 2.5px) 0 0 / 34px 34px; }
.sg-holiday__in { display: grid; gap: 26px; align-items: center; }
@media (min-width: 990px) { .sg-holiday__in { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; } }
.sg-holiday__in--solo { grid-template-columns: minmax(0, 1fr) !important; max-width: 820px; }
.sg-holiday .sg-h2 { color: #fff; }
.sg-holiday .sg-hl { color: var(--sg-ink); background: var(--sg-sec); border-radius: 6px; padding: 0 .12em; }
.sg-holiday__cut { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 14px 20px; margin: 18px 0 16px; }
.sg-holiday__cut[hidden] { display: none; }
.sg-rota { min-width: 0; max-width: 360px; padding: 12px; border-radius: 12px; background: #fff; color: var(--sg-ink); box-shadow: 0 12px 26px rgba(0, 0, 0, .28); }
.sg-rota__fallback { margin: 0; font-weight: 700; }
.sg-rota__head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 3px solid var(--sg-ink); }
.sg-rota__head b { font-family: var(--sg-disp); font-weight: 900; font-size: 17px; }
.sg-rota__head span { font-family: var(--sg-mono); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); }
.sg-rota__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.sg-rota__dow { font-style: normal; text-align: center; font-family: var(--sg-mono); font-size: 10.5px; font-weight: 700; color: var(--sg-muted); padding-bottom: 2px; }
.sg-rota__day { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 1.15; border-radius: 5px; background: var(--sg-tile); font-family: var(--sg-mono); font-size: 12px; font-weight: 700; color: var(--sg-ink); }
.sg-rota__day.is-past { opacity: .35; }
.sg-rota__day.is-cut { background: var(--sg-sec); color: var(--sg-on-sec); box-shadow: 0 0 0 2px var(--sg-ink); z-index: 1; }
.sg-rota__day.is-late { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--t-red) 22%, #fff) 0 4px, #fff 4px 8px); color: var(--sg-muted); }
.sg-rota__day.is-hol { background: var(--t-red); color: #fff; }
.sg-rota__day.is-hol::after { content: "★"; position: absolute; top: -7px; right: -4px; font-size: 12px; color: var(--sg-sec); text-shadow: 0 1px 1px rgba(0, 0, 0, .4); }
.sg-rota__key { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 10px 0 0; padding: 0; font-size: 11.5px; font-weight: 700; color: var(--sg-muted); }
.sg-rota__key li { display: inline-flex; align-items: center; gap: 5px; }
.sg-rota__key li::before { content: ""; width: 11px; height: 11px; border-radius: 3px; }
.sg-rota__key .k-cut::before { background: var(--sg-sec); box-shadow: 0 0 0 1.5px var(--sg-ink); }
.sg-rota__key .k-late::before { background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--t-red) 30%, #fff) 0 2px, #fff 2px 4px); box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-rota__key .k-hol::before { background: var(--t-red); }
.sg-holiday__left { display: grid; margin: 0; }
.sg-holiday__left b { font-family: var(--sg-disp); font-weight: 900; font-size: 58px; line-height: 1; color: var(--sg-sec); }
.sg-holiday__left small { font-family: var(--sg-mono); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-on-dark); max-width: 12ch; }
@media (max-width: 575.98px) { .sg-holiday__cut { grid-template-columns: 1fr; } .sg-holiday__left { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 10px; } .sg-holiday__left b { font-size: 44px; } .sg-holiday__left small { max-width: none; } }
.sg-holiday__expired { font-weight: 700; color: #fff; margin: 12px 0; }
.sg-holiday__txt { color: var(--sg-on-dark); opacity: .9; max-width: 52ch; margin: 0 0 18px; }
.sg-holiday__fine { margin: 14px 0 0; font-size: 13px; color: var(--sg-on-dark); opacity: .72; max-width: 56ch; }
.sg-holiday .sg-card { box-shadow: none; }

/* "bệnh án" chiếc áo */
.sg-chart { background: #fff; }
.sg-chart__in { display: grid; gap: 34px; align-items: center; }
@media (min-width: 990px) { .sg-chart__in { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 64px; } }
.sg-chart__copy .sg-btn { margin-top: 22px; }
.sg-chart__board { position: relative; padding: 28px 14px 14px; border-radius: 16px; background: linear-gradient(160deg, var(--sg-pri), var(--sg-deep)); box-shadow: var(--sg-shadow); }
.sg-chart__clip { position: absolute; left: 50%; top: -10px; z-index: 2; width: 120px; height: 34px; margin-left: -60px; border-radius: 8px 8px 14px 14px; background: linear-gradient(180deg, #f2f4f6, #9aa5ae); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .2), 0 4px 8px rgba(0, 0, 0, .3); }
.sg-chart__clip::after { content: ""; position: absolute; left: 50%; top: 7px; width: 34px; height: 9px; margin-left: -17px; border-radius: 5px; background: var(--sg-deep); }
.sg-chart__sheet { position: relative; padding: 22px 18px 18px; border-radius: 6px; background: #fff repeating-linear-gradient(180deg, transparent 0 39px, color-mix(in srgb, var(--t-blue) 14%, transparent) 39px 40px); }
.sg-chart__title { display: flex; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 3px solid var(--sg-ink); font-family: var(--sg-mono); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sg-ink); }
.sg-chart__title b { color: var(--t-red); }
.sg-chart__photo { float: right; width: 34%; max-width: 170px; margin: 0 0 10px 14px; padding: 5px 5px 8px; background: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--sg-ink) 22%, transparent); transform: rotate(3deg); position: relative; }
.sg-chart__photo::before { content: ""; position: absolute; left: 22px; top: -12px; width: 12px; height: 30px; border: 2.5px solid #8d99a3; border-radius: 8px; border-bottom-color: transparent; }
.sg-chart__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; display: block; }
.sg-chart__photo figcaption { margin-top: 4px; font-family: var(--sg-mono); font-size: 10.5px; font-weight: 700; color: var(--sg-muted); text-align: center; }
.sg-chart__rows { margin: 0; display: grid; }
.sg-chart__row { display: grid; grid-template-columns: minmax(0, 132px) minmax(0, 1fr); gap: 4px 14px; padding: 9px 0; border-bottom: 1px dashed var(--sg-line); }
.sg-chart__row dt { display: flex; align-items: flex-start; gap: 7px; font-family: var(--sg-mono); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--sg-muted); padding-top: 2px; }
.sg-chart__row dt svg { width: 16px; height: 16px; flex: none; color: var(--sg-pri); }
.sg-chart__row dd { margin: 0; font-weight: 700; color: var(--sg-ink); font-size: 15px; line-height: 1.45; }
.sg-chart__sign { clear: both; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin: 14px 0 0; font-size: 12.5px; color: var(--sg-muted); }
.sg-chart__sign i { font-family: var(--sg-disp); font-weight: 900; font-style: italic; font-size: 20px; color: var(--sg-pri); transform: rotate(-4deg); border-bottom: 2px solid var(--sg-line); padding: 0 8px 2px; }
@media (max-width: 575.98px) { .sg-chart__row { grid-template-columns: 1fr; } .sg-chart__photo { float: none; width: 58%; max-width: 220px; margin: 6px auto 14px; } .sg-chart__sheet { padding: 18px 14px 14px; } }

/* một phí ship cho cả đơn */
.sg-flat { background: var(--sg-bg); }
.sg-flat__in { display: grid; gap: 32px; align-items: center; }
@media (min-width: 990px) { .sg-flat__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 60px; } }
.sg-flat__copy .sg-btn { margin-top: 22px; }
.sg-flat__fine { margin: 14px 0 0; font-size: 13.5px; color: var(--sg-muted); }
.sg-flat__stacks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.sg-flat__col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 18px 8px 16px; border-radius: var(--sg-r); background: #fff; box-shadow: 0 0 0 1px var(--sg-line); }
.sg-flat__pile { display: flex; flex-direction: column-reverse; align-items: center; justify-content: flex-start; height: 150px; margin-bottom: 8px; }
.sg-flat__pile i { display: block; width: 66px; height: 22px; margin-top: 2px; border-radius: 3px; background: linear-gradient(90deg, transparent 44%, color-mix(in srgb, #fff 45%, transparent) 44% 56%, transparent 56%), #c99a5d; box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .12); }
.sg-flat__pile i:nth-child(even) { width: 58px; transform: translateX(4px); }
.sg-flat__price { display: grid; place-items: center; align-content: center; gap: 2px; min-width: 96px; height: 62px; margin: -4px 0 10px; padding: 0 12px; border-radius: 999px; background: var(--sg-sec); color: var(--sg-on-sec); font-family: var(--sg-disp); font-weight: 900; font-size: 26px; line-height: 1; transform: rotate(-6deg); box-shadow: 0 6px 14px color-mix(in srgb, var(--sg-ink) 20%, transparent); }
.sg-flat__price small { display: block; font-family: var(--sg-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.sg-flat__col b { font-family: var(--sg-disp); font-weight: 900; font-size: 17px; color: var(--sg-ink); line-height: 1.15; }
.sg-flat__col > small { font-size: 13px; color: var(--sg-muted); line-height: 1.35; }
@media (max-width: 575.98px) { .sg-flat__pile { height: 120px; } .sg-flat__pile i { width: 48px; height: 17px; } .sg-flat__pile i:nth-child(even) { width: 42px; } .sg-flat__price { min-width: 78px; height: 52px; font-size: 21px; padding: 0 8px; } .sg-flat__price small { font-size: 8px; } .sg-flat__col b { font-size: 15px; } }

/* FAQ: phiếu bàn giao ca */
.sg-handover { background: #fff; }
.sg-handover__in { display: grid; gap: 24px; }
@media (min-width: 990px) { .sg-handover__in { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; } .sg-handover__head { position: sticky; top: calc(var(--sg-head-h) + 24px); } }
.sg-handover__head .sg-more { margin-top: 16px; }
.sg-handover__sheet { border-radius: var(--sg-r); background: var(--sg-bg); box-shadow: 0 0 0 1px var(--sg-line); overflow: hidden; }
.sg-handover__bar { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 12px 18px; background: var(--sg-ink); color: #fff; font-family: var(--sg-mono); font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.sg-handover__bar span:last-child { color: var(--sg-sec); }
.sg-acc { border-bottom: 1px solid var(--sg-line); }
.sg-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; cursor: pointer; list-style: none; font-family: var(--sg-disp); font-weight: 800; font-size: 17px; line-height: 1.3; color: var(--sg-ink); }
.sg-acc summary::-webkit-details-marker { display: none; }
.sg-acc summary > svg { flex: none; width: 20px; height: 20px; transition: transform .25s; color: var(--sg-pri); }
.sg-acc[open] summary > svg { transform: rotate(180deg); }
.sg-acc__body { padding: 0 0 18px; color: var(--sg-body); }
.sg-acc__body a { color: var(--sg-pri); text-decoration: underline; }
.sg-acc--check { padding: 0 18px; background: #fff; }
.sg-acc--check summary { justify-content: flex-start; }
.sg-acc--check summary > span { flex: 1 1 auto; }
.sg-acc__box { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--sg-line); color: transparent; transition: background .2s, color .2s, box-shadow .2s; }
.sg-acc__box svg { width: 16px; height: 16px; }
.sg-acc--check[open] .sg-acc__box { background: var(--t-green); color: #fff; box-shadow: none; }
.sg-acc--check .sg-acc__body { padding-left: 38px; }

/* CTA: thẻ chấm công */
.sg-clock { background: var(--sg-pri); color: var(--sg-on-dark); overflow: hidden; }
.sg-clock__in { display: grid; gap: 34px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px) { .sg-clock__in { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; } }
.sg-clock .sg-h2 { color: #fff; }
.sg-clock .sg-hl { color: var(--sg-ink); background: var(--sg-sec); border-radius: 6px; padding: 0 .12em; }
.sg-clock__copy p { max-width: 56ch; margin: 0 0 22px; color: var(--sg-on-dark); opacity: .9; font-size: 17px; }
.sg-clock__card { position: relative; justify-self: center; display: grid; gap: 10px; width: 220px; padding: 18px 18px 46px; border-radius: 6px; background: #f7f3e6; color: var(--sg-ink); transform: rotate(-4deg); box-shadow: 0 18px 34px rgba(0, 0, 0, .35); }
.sg-clock__name { font-family: var(--sg-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding-bottom: 8px; border-bottom: 2px solid var(--sg-ink); }
.sg-clock__row { display: flex; align-items: baseline; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed #cbbf9e; }
.sg-clock__row small { font-family: var(--sg-mono); font-weight: 700; font-size: 12px; color: var(--sg-muted); }
.sg-clock__row b { font-family: var(--sg-mono); font-weight: 700; font-size: 26px; color: var(--sg-pri); transform: rotate(-2deg); }
.sg-clock__row--out b { color: var(--t-red); }
.sg-clock__holes { position: absolute; left: 18px; right: 18px; bottom: 14px; height: 14px; background: radial-gradient(circle, var(--sg-pri) 0 4px, transparent 4.5px) 0 0 / 22px 14px repeat-x; }

/* dải cam kết */
.sg-trust { background: #fff; border-bottom: 1px solid var(--sg-line); }
.sg-trust__list { list-style: none; margin: 0; padding: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; }
.sg-trust__list li, .sg-trust__list li > a { display: flex; align-items: center; gap: 12px; color: var(--sg-ink); text-decoration: none; }
.sg-trust__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--sg-pri); color: #fff; }
.sg-trust__list li:nth-child(4n+2) .sg-trust__ico { background: var(--t-green); } .sg-trust__list li:nth-child(4n+3) .sg-trust__ico { background: var(--t-yellow); color: #1d1503; } .sg-trust__list li:nth-child(4n+4) .sg-trust__ico { background: var(--t-red); }
.sg-trust__ico svg { width: 22px; height: 22px; }
.sg-trust__list b { display: block; font-family: var(--sg-disp); font-weight: 800; font-size: 15px; line-height: 1.2; }
.sg-trust__list small { display: block; font-size: 12.5px; color: var(--sg-muted); line-height: 1.3; }
@media (min-width: 990px) { .sg-trust__list { grid-template-columns: repeat(4, 1fr); padding: 22px 0; } .sg-trust__list li { justify-content: center; } }

.sg-rich__in { max-width: 820px; text-align: center; }
.sg-rich__in .sg-eyebrow { justify-content: center; }
.sg-rich__in .sg-btn { margin-top: 18px; }
.sg-banner__in { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--sg-tile); color: #fff; text-decoration: none; }
.sg-banner__in img { display: block; width: 100%; height: auto; }
.sg-banner__cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 22px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--sg-ink) 80%, transparent)); }
.sg-banner__cap b { font-family: var(--sg-disp); font-weight: 900; font-size: clamp(22px, 3vw, 34px); color: #fff; }
.sg-banner__cap i { font-style: normal; font-weight: 800; }
.sg-tiles__grid, .sg-clist { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-tile { position: relative; display: block; border-radius: var(--sg-r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--sg-tile); color: #fff; text-decoration: none; isolation: isolate; border-bottom: 6px solid var(--sg-pri); }
.sg-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; z-index: -1; }
.sg-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, color-mix(in srgb, var(--sg-ink) 84%, transparent) 100%); z-index: -1; }
.sg-tile:hover img { transform: scale(1.05); }
.sg-tile__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px; display: grid; gap: 2px; }
.sg-tile__cap b { font-family: var(--sg-disp); font-size: 22px; font-weight: 900; line-height: 1.08; color: #fff; }
.sg-tile__cap small { font-size: 13px; opacity: .9; line-height: 1.35; }
.sg-tile__cap i { font-style: normal; display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-family: var(--sg-disp); font-size: 13.5px; font-weight: 800; color: var(--sg-sec); }
.sg-tile__cap i svg { width: 15px; height: 15px; }
@media (min-width: 768px) { .sg-clist { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 768px) and (max-width: 989.98px) { .sg-clist { grid-template-columns: repeat(3, 1fr); } }

/* trang collection: biển khoa */
.sg-chead { padding: 22px 0 12px; background: #fff; border-bottom: 1px solid var(--sg-line); }
.sg-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-bottom: 14px; font-size: 13px; color: var(--sg-muted); }
.sg-crumbs a { color: var(--sg-muted); text-decoration: none; }
.sg-crumbs a:hover { color: var(--sg-ink); text-decoration: underline; }
.sg-crumbs svg { width: 12px; height: 12px; }
.sg-crumbs span { color: var(--sg-ink); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.sg-sign { --tone: var(--sg-pri); --on-tone: #fff; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px 18px; padding: 16px 18px; border-radius: 14px; background: var(--tone); color: var(--on-tone); box-shadow: 0 3px 0 color-mix(in srgb, var(--tone) 60%, #000); }
.sg-sign__ico { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 12px; background: #fff; color: var(--tone); }
.sg-sign__ico svg { width: 32px; height: 32px; }
.sg-sign__txt { min-width: 0; }
.sg-sign__floor { margin: 0 0 2px; font-family: var(--sg-mono); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.sg-sign__title { margin: 0; font-family: var(--sg-disp); font-weight: 900; font-size: clamp(28px, 5vw, 50px); line-height: 1; letter-spacing: -.025em; color: inherit; }
.sg-sign__count { margin: 0; display: grid; text-align: right; font-family: var(--sg-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; opacity: .9; }
.sg-sign__count b { font-family: var(--sg-disp); font-size: 30px; font-weight: 900; letter-spacing: -.02em; line-height: 1; }
@media (max-width: 575.98px) { .sg-sign { grid-template-columns: auto minmax(0, 1fr); padding: 14px; } .sg-sign__ico { width: 46px; height: 46px; } .sg-sign__count { grid-column: 1 / -1; display: flex; gap: 6px; align-items: baseline; text-align: left; } .sg-sign__count b { font-size: 20px; } }
.sg-chead__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; }
.sg-chead__row .sg-display { margin-bottom: 6px; }
.sg-chead__text { color: var(--sg-body); max-width: 70ch; font-size: 16px; margin-top: 14px; }
.sg-chead .sg-chips { padding-bottom: 6px; }
.sg-collection { padding: 18px 0 64px; }
.sg-toolbar { position: sticky; top: var(--sg-head-h); z-index: 20; display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; margin-bottom: 20px; background: var(--sg-bg); border-bottom: 1px solid var(--sg-line); }
.sg-select { position: relative; display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.sg-select__lbl { font-family: var(--sg-mono); font-size: 12px; font-weight: 700; color: var(--sg-muted); text-transform: uppercase; letter-spacing: .1em; }
.sg-select select { appearance: none; -webkit-appearance: none; min-height: 42px; padding: 0 34px 0 14px; border: 1.5px solid var(--sg-line); border-radius: 9px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23101c2a' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px; color: var(--sg-ink); font-weight: 700; font-size: 14px; cursor: pointer; }
.sg-select select:hover { border-color: var(--sg-ink); }
.sg-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -6px 0 18px; }
.sg-active button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px; background: var(--sg-tile); color: var(--sg-ink); font-weight: 700; font-size: 13px; cursor: pointer; }
.sg-active button svg { width: 12px; height: 12px; }
.sg-active a { font-size: 13px; color: var(--sg-ink); text-decoration: underline; }
.sg-empty { text-align: center; padding: 56px 16px; }
.sg-empty h2 { font-family: var(--sg-disp); font-weight: 900; font-size: 30px; margin-bottom: 8px; }
.sg-pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 44px; }
.sg-pager a, .sg-pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 10px; border-radius: 9px; color: var(--sg-ink); font-family: var(--sg-disp); font-weight: 800; text-decoration: none; }
.sg-pager a { box-shadow: inset 0 0 0 1.5px var(--sg-line); background: #fff; }
.sg-pager a:hover { box-shadow: inset 0 0 0 2px var(--sg-ink); }
.sg-pager .is-on { background: var(--sg-ink); color: #fff; }

/* trang SP */
.sg-pdp-wrap { padding: 16px 0 40px; }
.sg-pdp { display: grid; gap: 22px; }
@media (min-width: 990px) { .sg-pdp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 52px; align-items: start; } .sg-gal { position: sticky; top: calc(var(--sg-head-h) + 16px); } }
@media (min-width: 1280px) { .sg-pdp { gap: 68px; } }
.sg-pdp > * { min-width: 0; }
.sg-gal__main { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--sg-line); }
.sg-gal__main img, .sg-gal__main video { width: 100%; height: 100%; object-fit: cover; display: block; }
.sg-gal__main video { object-fit: contain; background: var(--sg-ink); }
.sg-gal__main [hidden] { display: none !important; }
.sg-gal__thumbs { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 8px) / 5); gap: 8px; margin-top: 8px; padding: 2px 2px 6px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: thin; }
.sg-gal__thumb { scroll-snap-align: start; }
@media (min-width: 990px) { .sg-gal__thumbs { grid-auto-columns: calc((100% - 5 * 10px) / 6); gap: 10px; } }
.sg-gal__thumb { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--sg-r-sm); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); cursor: pointer; opacity: .78; transition: opacity .2s, box-shadow .2s; }
.sg-gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.sg-gal__thumb:hover { opacity: 1; }
.sg-gal__thumb.is-on { opacity: 1; box-shadow: inset 0 0 0 3px var(--sg-pri); }
.sg-gal__thumb.is-on img { padding: 4px; border-radius: 10px; }
.sg-gal__play { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: var(--sg-ink); color: #fff; font-size: 18px; }
.sg-buy__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.sg-dept-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 6px; border-radius: 6px; background: var(--tone); color: var(--on-tone); font-family: var(--sg-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.sg-dept-chip svg { width: 16px; height: 16px; }
.sg-pdp__title { font-family: var(--sg-disp); font-weight: 900; letter-spacing: -.025em; line-height: 1.04; font-size: clamp(28px, 4.2vw, 40px); margin: 0 0 10px; color: var(--sg-ink); }
.sg-rating { display: inline-flex; gap: 6px; align-items: center; font-size: 14px; color: var(--sg-ink); text-decoration: none; margin-bottom: 8px; }
.sg-stars { color: var(--sg-sec); letter-spacing: 1px; }
.sg-pdp__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 4px 0 14px; }
.sg-pdp__price .product-price { font-family: var(--sg-disp); font-size: 30px; font-weight: 900; color: var(--sg-ink); letter-spacing: -.02em; }
.sg-pdp__price .product-old-price { color: var(--sg-muted); font-size: 17px; }
.sg-pdp__price .product-old-price:empty { display: none; }
.sg-eta { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); border-left: 5px solid var(--t-green); }
.sg-eta[hidden] { display: none; }
.sg-eta > svg { width: 26px; height: 26px; flex: none; color: var(--t-green); }
.sg-eta p { margin: 0; display: grid; line-height: 1.35; }
.sg-eta b { color: var(--sg-ink); font-size: 15px; }
.sg-eta p > span { font-size: 13.5px; color: var(--sg-muted); }
.sg-opts { display: grid; gap: 20px; }
.sg-opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.sg-opt__name { float: none; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0 0 10px; padding: 0; font-family: var(--sg-mono); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--sg-ink); }
.sg-opt__val { font-family: var(--sg-font); font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--sg-muted); font-size: 14px; }
.sg-opt__val:not(:empty)::before { content: "— "; }
.sg-opt__aside { margin-left: auto; text-transform: none; letter-spacing: 0; }
.sg-opt__aside .gbx-sizechart { margin: 0 !important; }
.sg-opt__aside .gbx-sizechart__btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: var(--sg-ink); font-weight: 700; font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.sg-opt__vals { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-opt__vals > label, .sg-pill { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; min-width: 54px; padding: 8px 14px; border: 0; border-radius: 9px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sg-line); color: var(--sg-ink); font-weight: 700; font-size: 14.5px; line-height: 1.2; cursor: pointer; transition: box-shadow .15s, background .15s, color .15s; user-select: none; text-align: center; }
.sg-opt__vals > label:hover, .sg-pill:hover { box-shadow: inset 0 0 0 2px var(--sg-ink); }
.sg-opt__vals > .btn-check:checked + label, .sg-pill.is-on { background: var(--sg-ink); color: #fff; box-shadow: inset 0 0 0 2px var(--sg-ink), inset 0 -4px 0 var(--sg-sec); }
.sg-opt__vals > .btn-check:focus-visible + label, .sg-pill:focus-visible { outline: 3px solid var(--sg-sec); outline-offset: 2px; }
.sg-opt__vals > label.is-na, .sg-pill.is-na { color: var(--sg-muted); background: #fff linear-gradient(to top left, transparent calc(50% - 1px), var(--sg-line) 50%, transparent calc(50% + 1px)); }
.sg-opt__vals > .btn-check:checked + label.is-na { color: #fff; background: var(--sg-muted); }
.sg-opt__vals > label.is-off { display: none; }
.sg-split { display: grid; gap: 14px; }
.sg-split__row { display: grid; gap: 8px; }
.sg-split__lbl { font-family: var(--sg-mono); font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-muted); }
.sg-split-src { display: none !important; }
.sg-opt--color .sg-opt__vals { gap: 10px; }
.sg-opt--color .sg-opt__vals > label { min-width: 0; min-height: 0; width: 42px; height: 42px; padding: 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--sg-line); }
.sg-opt--color .sg-opt__vals > label .sg-sw { width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .14); background: var(--sg-tile); }
.sg-opt--color .sg-sw__name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sg-opt--color .sg-opt__vals > .btn-check:checked + label { background: #fff; box-shadow: inset 0 0 0 3px var(--sg-ink); }
.sg-opt--color .sg-opt__vals > label.is-na { opacity: .35; background: #fff; }
.sg-opt--color .sg-opt__vals > label.sg-sw--text { width: auto; height: auto; min-height: 42px; padding: 6px 14px; border-radius: 9px; }
.sg-opt--color .sg-opt__vals > label.sg-sw--text .sg-sw { display: none; }
.sg-opt--color .sg-opt__vals > label.sg-sw--text .sg-sw__name { position: static; width: auto; height: auto; clip: auto; }
.sg-opt--color .sg-opt__vals > .btn-check:checked + label.sg-sw--text { background: var(--sg-ink); color: #fff; }
.sg-perso { margin-top: 22px; padding: 16px; border-radius: var(--sg-r); background: var(--sg-sec-soft); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--sg-sec) 60%, transparent); }
.sg-perso__top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.sg-perso__title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--sg-disp); font-size: 17px; font-weight: 900; color: var(--sg-ink); }
.sg-perso__title svg { width: 20px; height: 20px; color: var(--sg-ink); }
.sg-perso__badge { position: relative; flex: none; display: grid; justify-items: center; min-width: 120px; max-width: 46%; padding: 16px 12px 8px; border-radius: 9px; background: #fff; box-shadow: 0 0 0 1px var(--sg-line), 0 6px 14px color-mix(in srgb, var(--sg-ink) 14%, transparent); transform: rotate(2deg); }
.sg-perso__badge i { position: absolute; top: 6px; left: 50%; width: 22px; height: 5px; margin-left: -11px; border-radius: 5px; background: var(--sg-bg); box-shadow: inset 0 1px 2px color-mix(in srgb, var(--sg-ink) 40%, transparent); }
.sg-perso__badge small { font-family: var(--sg-mono); font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sg-muted); }
.sg-perso__badge b { max-width: 100%; font-family: var(--sg-disp); font-weight: 900; font-size: 18px; line-height: 1.15; color: var(--sg-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sg-perso__badge b.is-typed { color: var(--sg-pri); }
.sg-field + .sg-field { margin-top: 14px; }
.sg-field > label { display: block; font-weight: 700; color: var(--sg-ink); margin-bottom: 4px; font-size: 15px; }
.sg-field__help { margin: 0 0 8px; font-size: 13.5px; color: var(--sg-muted); white-space: pre-line; line-height: 1.5; }
.sg-field .form-control, .sg-field .form-select { border: 1.5px solid color-mix(in srgb, var(--sg-sec) 50%, var(--sg-line)); border-radius: 9px; background: #fff; padding: 11px 13px; font-size: 16px; color: var(--sg-ink); }
.sg-field .form-control:focus, .sg-field .form-select:focus { border-color: var(--sg-ink) !important; box-shadow: none; }
.sg-req { color: var(--sg-danger); }
.sg-perso__note { margin: 12px 0 0; font-size: 13px; color: var(--sg-body); }
.sg-check { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.sg-varname { margin: 12px 0 0; font-size: 13.5px; min-height: 0; }
.sg-varname:empty { display: none; }
.sg-buy__row { display: flex; gap: 10px; margin: 22px 0 10px; }
.sg-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--sg-line); border-radius: 10px; background: #fff; }
.sg-qty button { width: 40px; height: 54px; border: 0; background: none; color: var(--sg-ink); font-size: 20px; cursor: pointer; }
.sg-qty input { width: 38px; border: 0; background: none; text-align: center; font-weight: 700; font-size: 16px; color: var(--sg-ink); -moz-appearance: textfield; }
.sg-qty input::-webkit-outer-spin-button, .sg-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.sg-perks { list-style: none; margin: 22px 0 0; padding: 6px 16px; display: grid; border-radius: var(--sg-r); background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-perks li { display: flex; gap: 12px; align-items: center; padding: 11px 0; }
.sg-perks li + li { border-top: 1px dashed var(--sg-line); }
.sg-perks__ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 9px; background: var(--sg-pri); color: #fff; }
.sg-perks li:nth-child(2) .sg-perks__ico { background: var(--t-green); } .sg-perks li:nth-child(3) .sg-perks__ico { background: var(--t-red); }
.sg-perks__ico svg { width: 20px; height: 20px; }
.sg-perks b { display: block; color: var(--sg-ink); font-size: 14.5px; line-height: 1.3; }
.sg-perks small { display: block; color: var(--sg-muted); font-size: 13px; line-height: 1.4; }
.sg-pay { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 14px 0 0; }
.sg-pay img { height: 24px; width: auto; display: block; }
.sg-accs { margin-top: 20px; border-top: 1px solid var(--sg-line); }
.sg-accs .sg-acc__body { font-size: 15px; }
.sg-accs .sg-acc__body.ql-editor { white-space: normal; overflow-wrap: anywhere; }
.sg-revs { display: grid; gap: 14px; margin-top: 18px; }
@media (min-width: 768px) { .sg-revs { grid-template-columns: repeat(3, 1fr); } }
.sg-rev { padding: 18px; border-radius: var(--sg-r); background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-rev h3 { font-size: 16px; margin: 6px 0; }
.sg-rev p { margin: 0 0 8px; }
.sg-rev cite { font-style: normal; font-weight: 700; color: var(--sg-ink); font-size: 14px; }
.sg-related { background: #fff; border-top: 1px solid var(--sg-line); }
.sg-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1025; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); border-top: 4px solid transparent; border-image: var(--sg-lines) 1; box-shadow: 0 -8px 24px color-mix(in srgb, var(--sg-ink) 10%, transparent); transform: translateY(110%); transition: transform .25s ease; padding-bottom: env(safe-area-inset-bottom); }
.sg-sticky.is-on { transform: none; }
.sg-sticky__in { display: flex; align-items: center; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.sg-sticky__in img { width: 48px; height: 48px; border-radius: var(--sg-r-sm); object-fit: cover; }
.sg-sticky__name { flex: 1 1 auto; min-width: 0; display: grid; font-size: 13.5px; font-weight: 700; color: var(--sg-ink); line-height: 1.3; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sg-sticky__name b { font-family: var(--sg-disp); font-weight: 900; font-size: 16px; }
@media (max-width: 575.98px) { .sg-sticky__in img { display: none; } }

.sg-qa .modal-content { border: 0; border-radius: var(--sg-r); overflow: hidden; background: var(--sg-bg); }
.sg-qa__close { position: absolute; right: 12px; top: 12px; z-index: 3; background-color: #fff; border-radius: 50%; padding: 10px; opacity: 1; }
.sg-qa__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.sg-qa__img { background: #fff; aspect-ratio: 1; max-height: 42vh; min-width: 0; overflow: hidden; }
.sg-qa__img img { width: 100%; height: 100%; object-fit: cover; }
.sg-qa__info { padding: 18px; display: grid; gap: 14px; max-height: 70vh; overflow-y: auto; }
.sg-qa__title { font-family: var(--sg-disp); font-weight: 900; font-size: 23px; line-height: 1.1; margin: 0; letter-spacing: -.015em; }
.sg-qa__info .sg-pdp__price { margin: 0; }
.sg-qa__more { justify-self: center; font-size: 14px; }
@media (min-width: 768px) { .sg-qa__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; } .sg-qa__img { max-height: none; } .sg-qa__info { padding: 28px 24px; max-height: 80vh; } }

.sg-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--sg-line); }
.sg-line__img { width: 76px; height: 76px; border-radius: var(--sg-r-sm); object-fit: cover; background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-line__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--sg-ink); font-weight: 700; font-size: 14px; line-height: 1.35; text-decoration: none; }
.sg-line__var { color: var(--sg-muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; overflow-wrap: anywhere; }
.sg-cf__img { width: 34px; height: 34px; object-fit: cover; border-radius: 4px; vertical-align: middle; }
.sg-line__remove { border: 0; background: none; padding: 0; color: var(--sg-muted); font-size: 12.5px; text-decoration: underline; cursor: pointer; }
.sg-line__price { font-weight: 700; color: var(--sg-ink); font-size: 14.5px; text-align: right; white-space: nowrap; }
.sg-line .quantity-box { width: 108px; flex-wrap: nowrap; border: 1px solid var(--sg-line); border-radius: var(--sg-r-sm); background: #fff; overflow: hidden; }
.sg-line .quantity-box .btn { border: 0; padding: 4px 10px; color: var(--sg-ink); }
.sg-line .quantity-box .form-control { border: 0; text-align: center; padding: 4px 0; font-weight: 700; box-shadow: none; }
.cart-summary { padding: 16px; border-radius: var(--sg-r); background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); }
.sg-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.sg-sum-row--disc { color: var(--sg-danger); }
.sg-sum-row--total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--sg-line); font-family: var(--sg-disp); font-weight: 900; font-size: 18px; color: var(--sg-ink); }
.sg-cartdrawer .cart-summary { box-shadow: none; padding: 8px 0 0; background: transparent; }

.sg-page { padding: 30px 0 68px; }
.sg-page h1 { font-family: var(--sg-disp); font-weight: 900; font-size: clamp(32px, 5vw, 46px); letter-spacing: -.025em; text-align: center; margin-bottom: 20px; }
.sg-input { flex: 1 1 auto; min-height: 48px; padding: 0 16px; border: 1.5px solid var(--sg-line); border-radius: var(--sg-r-sm); background: #fff; font-size: 16px; color: var(--sg-ink); }
.sg-info { max-width: 820px; margin: 0 auto; padding: 26px var(--sg-gut) 68px; }
.sg-info header h1 { font-family: var(--sg-disp); font-weight: 900; font-size: clamp(34px, 6vw, 52px); letter-spacing: -.025em; line-height: 1.02; margin: 0 0 22px; }
.sg-info__body { color: var(--sg-body); font-size: 16px; overflow-wrap: anywhere; }
.sg-info__body h2, .sg-info__body h3 { margin-top: 1.4em; }
.sg-info__body table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sg-info__body td, .sg-info__body th { border: 1px solid var(--sg-line); padding: 8px 10px; }
.sg-info__support { margin-top: 36px; padding: 22px; border-radius: var(--sg-r); background: #fff; box-shadow: inset 0 0 0 1px var(--sg-line); border-left: 6px solid var(--sg-pri); }
.sg-info__support h2 { font-family: var(--sg-disp); font-weight: 900; font-size: 24px; margin: 0 0 6px; }
.sg-info__support p { margin: 0 0 8px; }
.sg-404__in { max-width: 680px; text-align: center; }
.sg-404__in .sg-sec__sub { margin: 0 auto 22px; }
.sg-404__search { margin-bottom: 18px; }

/* footer chuẩn nền tảng, khoác áo biển chỉ dẫn */
.gbx-std-footer { background: var(--sg-ink) !important; color: var(--sg-on-dark) !important; padding: 60px 0 24px !important; margin-top: 0 !important; position: relative; }
.gbx-std-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--sg-lines); }
.gbx-std-footer h6 { color: #fff; font-family: var(--sg-disp); font-size: 15px !important; letter-spacing: .08em !important; font-weight: 900 !important; text-transform: uppercase !important; }
.gbx-std-footer .footer-brand img { background: #fff; padding: 8px 12px; border-radius: 10px; box-sizing: content-box; }
.gbx-std-footer .footer-brand span { color: #fff; font-family: var(--sg-disp); font-weight: 900; letter-spacing: -.01em; }
.gbx-std-footer .footer-about { color: var(--sg-on-dark-muted); }
.gbx-std-footer .footer-link { color: var(--sg-on-dark); }
.gbx-std-footer a:not(.btn):hover { color: var(--sg-sec); opacity: 1 !important; }
.gbx-std-footer .footer-bottom { border-color: rgba(255, 255, 255, .14) !important; color: var(--sg-on-dark-muted); }
.gbx-std-footer .footer-newsletter input[type="email"] { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); color: #fff; border-radius: var(--sg-r-sm); }
.gbx-std-footer .footer-newsletter input[type="email"]::placeholder { color: var(--sg-on-dark-muted); }
.gbx-std-footer .footer-newsletter .btn, .gbx-std-footer .footer-newsletter button { background: var(--sg-sec); border-color: var(--sg-sec); color: var(--sg-on-sec); border-radius: 9px; font-family: var(--sg-disp); font-weight: 800; }
.gbx-std-footer .footer-badges img { background: #fff; border-radius: 4px; padding: 2px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
