.st-theme-menu .st-menu-item, .st-theme-menu .st-menu-subitem { font-family:var(--st-menu-font-family, inherit); }
/* Do not flash a fallback footer logo before its selected theme package mounts. */
#st-footer-host .st-footer-block-logo[data-logo-theme]:not([data-st-logo-theme-ready]) { visibility:hidden; }
#st-footer-host .st-footer-block-logo[data-logo-theme][data-st-logo-theme-ready] { visibility:visible; }
/* Keep both ends of the menu rail inset, including when aligned right. */
.st-menu-inner { padding-left: max(var(--st-menu-inner-pl, 0px), 10px) !important; padding-right: max(var(--st-menu-inner-pr, 0px), 10px) !important; }
.st-menu-icon { display:inline-block; margin-right:8px; }
.st-menu-badge { display:inline-block; margin-left:8px; padding:2px 6px; font:600 10px/1.4 sans-serif; border-radius:999px; background:color-mix(in srgb,currentColor 15%,transparent); vertical-align:middle; }
.st-menu-description { display:block; max-width:280px; white-space:normal; font-size:12px; line-height:1.5; font-weight:400; text-transform:none; opacity:.75; margin-top:4px; }
.st-menu-submenu.st-menu-modern-panel { background:var(--mu-panel-bg) !important; color:var(--mu-panel-text) !important; border-radius:14px; padding:8px; max-width:calc(100vw - 16px); box-sizing:border-box; }
.st-menu-modern-panel .st-menu-subitem { color:var(--mu-panel-text) !important; padding:10px 12px; min-height:40px; box-sizing:border-box; white-space:normal; }
.st-menu-modern-panel .st-menu-subitem:hover { background:var(--mu-hover-bg); color:var(--mu-hover-text) !important; }
.st-menu-modern-panel .st-menu-subitem.active { background:var(--mu-active-bg); color:var(--mu-active-text) !important; }
[data-menu-dropdown="click"] .st-menu-item-group:not(.open) > .st-menu-submenu { display:none !important; }
.st-menu-modern-panel a:focus-visible { outline:2px solid var(--mu-accent); outline-offset:2px; }
/* Phông chữ và reset */
:root { --st-website-primary-color: #f39c12; --bg-bar: #111; --text: #fff; }
/* `scrollbar-gutter: stable` giữ chỗ sẵn cho thanh cuộn ⇒ bề rộng nội dung KHÔNG đổi khi
   trang cao lên lúc hydrate (nếu không, body bị hẹp đi ~15px ⇒ các block trông như "co lại"). */
html { margin: 0; padding: 0; scrollbar-gutter: stable; }
body { margin: 0; padding-top: calc(60px + var(--st-admin-bar-height, 0px)); font-family: 'Inter', sans-serif; background: #f0f2f5; box-sizing: border-box; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
body.admin-bar { --st-wp-admin-bar-height: 32px; padding-top: calc(var(--st-runtime-body-padding-top, 70px) + var(--st-wp-admin-bar-height) + var(--st-admin-bar-height, 0px)); }
body.admin-bar #st-menu { top: var(--st-wp-admin-bar-height, 32px) !important; }
@media screen and (max-width: 782px) {
    body.admin-bar { --st-wp-admin-bar-height: 46px; }
}

/* Thanh Vỉa Hè (Street Bar) */
/* Dedicated management bar: separate from the site header and editor toolbar. */
/* Site themes style the website surface. Marked admin controls keep their own UI typography and interaction states. */
#st-admin-bar.st-admin-ui { isolation:isolate; color-scheme:dark; }
#st-admin-bar.st-admin-ui [data-st-admin-control] { font-family:Arial,sans-serif !important; text-decoration:none !important; text-transform:none !important; letter-spacing:normal !important; }
#st-admin-bar.st-admin-ui [data-st-admin-control]:hover { transform:none !important; }
#st-admin-bar.st-admin-ui :is(button,a)[data-st-admin-control]::before,
#st-admin-bar.st-admin-ui :is(button,a)[data-st-admin-control]::after { pointer-events:none; }
#st-admin-bar {
    position: fixed; top: var(--st-wp-admin-bar-height, 0px); left: 0; width: 100%; height: 36px;
    display: flex; align-items: center; justify-content: flex-start; gap: 12px; padding: 0 16px; box-sizing: border-box;
    background: var(--st-admin-bar-bg, #000); color: var(--st-admin-bar-fg, #fff); border-bottom: 1px solid #1f2937; z-index: 110000; font-family: sans-serif;
    overflow: visible;
}
#st-admin-bar > #st-float-toolbar.st-admin-toolbar { flex: 0 1 auto !important; min-width: 0 !important; overflow-x: auto !important; overflow-y: hidden !important; scrollbar-width: none; justify-content: flex-start !important; }
#st-admin-bar > #st-float-toolbar.st-admin-toolbar::-webkit-scrollbar { display: none; }
#st-admin-bar > div { flex: 0 0 auto; }
#st-admin-bar > .st-admin-quickpost { order: 0; margin-right: 0 !important; }
#st-admin-bar > .st-admin-theme-launcher { order: 0; margin-left: -6px; }
#st-admin-bar .st-admin-theme-launcher { position: relative; display: inline-flex; align-items: center; }
#st-admin-bar .st-admin-theme-toggle { display:inline-flex; align-items:center; gap:6px; min-height:30px; padding:5px 12px; border:0; border-radius:6px; background:transparent; color:#cbd5e1; cursor:pointer; font:600 13px/1.4 sans-serif; white-space:nowrap; }
#st-admin-bar .st-admin-theme-toggle:hover, #st-admin-bar .st-admin-theme-launcher.is-open .st-admin-theme-toggle { background:rgba(255,255,255,.12); color:#fff; }
#st-admin-bar .st-admin-theme-toggle > span:first-child { color:#60a5fa; font-size:15px; line-height:1; }
/* Panel "Theme" đang mở (dock trái/phải) ⇒ nút Theme là nút ĐANG hoạt động (nền sáng hơn nền admin bar). */
#st-admin-bar .st-admin-theme-launcher.is-active .st-admin-theme-toggle { background:rgba(255,255,255,.18); color:#fff; }
#st-admin-bar .st-admin-theme-launcher.is-active .st-admin-theme-toggle:hover { background:rgba(255,255,255,.26); color:#fff; }

#st-admin-bar .st-admin-theme-picker { position:absolute; top:34px; left:0; z-index:110030; width:min(340px, calc(100vw - 24px)); padding:14px; border:1px solid #334155; border-radius:12px; background:#111827; box-shadow:0 14px 36px rgba(0,0,0,.38); box-sizing:border-box; }
#st-admin-bar .st-admin-theme-picker[hidden] { display:none; }
#st-admin-bar .st-admin-theme-picker-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:2px 2px 12px; color:#f8fafc; }
#st-admin-bar .st-admin-theme-picker-head strong { display:block; font-size:15px; line-height:1.3; }
#st-admin-bar .st-admin-theme-picker-head span { display:block; margin-top:3px; color:#94a3b8; font-size:11px; line-height:1.4; }
#st-admin-bar .st-admin-theme-close { width:26px; height:26px; padding:0; border:0; border-radius:6px; background:transparent; color:#94a3b8; cursor:pointer; font:400 22px/1 sans-serif; }
#st-admin-bar .st-admin-theme-close:hover { background:#1f2937; color:#fff; }
#st-admin-bar .st-admin-theme-cards { display:flex; flex-direction:column; gap:7px; }
#st-admin-bar .st-admin-theme-card { display:flex; align-items:center; gap:10px; width:100%; min-height:58px; padding:9px 10px; border:1px solid #334155; border-radius:9px; background:#1f2937; color:#e2e8f0; cursor:pointer; text-align:left; box-sizing:border-box; }
#st-admin-bar .st-admin-theme-card:hover { border-color:#60a5fa; background:#26364a; }
#st-admin-bar .st-admin-theme-card-icon { display:inline-flex; align-items:center; justify-content:center; flex:0 0 32px; width:32px; height:32px; border-radius:8px; background:#334155; color:#93c5fd; font-size:16px; }
#st-admin-bar .st-admin-theme-card > span:nth-child(2) { min-width:0; flex:1; }
#st-admin-bar .st-admin-theme-card strong { display:block; color:#f8fafc; font-size:13px; line-height:1.3; }
#st-admin-bar .st-admin-theme-card small { display:block; margin-top:3px; overflow:hidden; color:#94a3b8; font-size:11px; line-height:1.3; text-overflow:ellipsis; white-space:nowrap; }
#st-admin-bar .st-admin-theme-card-arrow { color:#64748b; font-size:22px; line-height:1; }
#st-admin-bar > #st-admin-device-controls,
#st-admin-bar > .st-admin-device-controls { order: 1; margin-left: auto; }
#st-admin-bar > #st-float-toolbar.st-admin-toolbar { order: 2; }
#st-admin-bar > .st-admin-logout-link { order: 3; }
#st-admin-bar .st-admin-quickpost .st-quickpost-chevron { width:8px !important; height:8px !important; display:block; flex:0 0 auto; opacity:.75; }
#st-admin-bar .st-admin-quickpost #st-quickpost-toggle { min-height:30px; padding:5px 12px !important; gap:6px !important; font-size:13px !important; font-weight:600 !important; line-height:1.4 !important; }
#st-admin-bar .st-admin-quickpost #st-quickpost-toggle { color:#cbd5e1 !important; }
#st-admin-bar .st-admin-quickpost #st-quickpost-toggle:hover { background:rgba(255,255,255,.12) !important; color:#fff !important; }
#st-admin-bar button:hover, #st-admin-bar a:hover { transform:none !important; }
#st-admin-bar .st-admin-quickpost #st-quickpost-dropdown { background:#111827 !important; border:1px solid #334155 !important; box-shadow:0 8px 20px rgba(0,0,0,.35) !important; }
#st-admin-bar .st-admin-quickpost #st-quickpost-dropdown > button { color:#cbd5e1 !important; border-color:#334155 !important; }
#st-admin-bar .st-admin-quickpost #st-quickpost-dropdown > button:hover { background:#1f2937 !important; color:#fff !important; }
#st-admin-bar #st-float-toolbar.st-admin-toolbar {
    position: static !important; inset: auto !important; display: flex !important; visibility: visible !important;
    transform: none !important; width: auto !important; max-width: none !important; min-width: 0 !important;
    height: 36px !important; margin: 0 !important; padding: 0 !important; gap: 6px !important; align-items:center !important;
    flex: 0 1 auto !important; background: transparent !important; border: 0 !important;
    border-radius: 0 !important; box-shadow: none !important; z-index: auto !important;
}
#st-admin-bar #st-float-toolbar.st-admin-toolbar > * { flex: 0 0 auto; }
#st-admin-bar #st-float-toolbar.st-admin-toolbar > .exit-split-btn-group {
    display:inline-flex !important; align-items:stretch !important; align-self:center !important;
    flex:0 0 auto !important; height:28px !important; gap:0 !important; overflow:hidden;
    border-radius:4px; vertical-align:middle;
}
/* Nhãn chữ "Sửa web" của nút Sửa: mặc định ẨN (mobile/thanh công cụ giữ nút icon);
   chỉ hiện khi nút được tách ra admin bar ở desktop — xem rule cuối file. */
#st-admin-bar .exit-label { display: none; }
#st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit {
    align-self:stretch !important; width:28px !important; min-width:28px !important; height:28px !important;
    padding:0 !important; border-radius:4px 0 0 4px !important; box-shadow:none !important;
}
#st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit-split-arrow {
    align-self:stretch !important; width:18px !important; min-width:18px !important; height:28px !important;
    padding:0 !important; border-radius:0 4px 4px 0 !important;
}
#st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-arrow {
    border:1px solid rgba(255,255,255,.14) !important; border-left-color:rgba(255,255,255,.24) !important;
    background:rgba(255,255,255,.14) !important;
}
#st-admin-bar #st-float-toolbar.st-admin-toolbar > button:hover { transform:none !important; }
#st-admin-bar #st-float-toolbar.st-admin-toolbar .toolbar-drag-handle { display: none !important; }
#st-admin-bar #st-float-toolbar.st-admin-toolbar .st-toolbar-submenu { z-index: 110010; }
#st-admin-bar #st-user-button {
    position: static !important; display: inline-flex !important; width: auto !important; height: 36px !important;
    min-width: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: transparent !important; color: #fff !important; box-shadow: none !important;
    font-size: 13px; font-weight: 600; line-height: 36px; cursor: pointer; transform: none !important;
}
#st-admin-bar #st-user-button:hover { color: #d1d5db !important; background: transparent !important; transform: none !important; }
/* Logout link on admin bar – pinned to the far right */
#st-admin-bar .st-admin-logout-link {
    display: none; align-items: center; gap: 4px;
    padding: 0 8px; height: 36px; line-height: 1.4;
    color: #d1d5db; font-size: 13px; font-weight: 600; font-family: sans-serif;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    border-left: 1px solid rgba(255,255,255,0.35);
    margin-left: 8px; padding-left: 12px; transition: color 0.15s;
}
#st-admin-bar .st-admin-logout-link:hover { color: #fff; }
#st-admin-bar .st-admin-logout-link svg { width: 14px; height: 14px; flex-shrink: 0; }
#st-admin-bar .st-admin-logout-link.visible { display: inline-flex; }
#st-admin-bar .st-admin-device-controls { position:relative; display:flex; align-items:center; height:36px; margin-left:auto; margin-right:4px; padding:0 12px 0 8px; border-right:1px solid rgba(255,255,255,0.25); }
#st-admin-bar .st-admin-device-button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-width:96px; height:30px; padding:0 9px; border:0; border-radius:6px; background:transparent; color:#cbd5e1 !important; cursor:pointer; font-family:inherit; font-size:13px; font-weight:600; line-height:1.4; white-space:nowrap; }
/* Hover chỉ đổi NỀN (giống các nút khác trên admin bar). KHÔNG đổi màu chữ: trước đây rule này dùng
   `-webkit-text-fill-color:#cbd5e1 → #fff` nên nhãn "Máy tính" bị đổi màu khi hover (khác mọi nút khác). */
#st-admin-bar .st-admin-device-button:hover { background:rgba(255,255,255,.12); }
#st-admin-bar .st-admin-device-button > span { color:inherit !important; -webkit-text-fill-color:inherit; }
#st-admin-bar .st-admin-device-button svg, #st-admin-bar .st-admin-device-option svg { width:17px; height:17px; display:block; flex:0 0 auto; }
/* Mũi tên xuống của nút "Chọn màn hình": ĐÚNG 8x8 px như mũi tên nút "Sửa web"
   (.exit-split-arrow svg). Selector phải ĐẶC HIỆU HƠN rule
   `#st-admin-bar .st-admin-device-button svg { width:17px; height:17px; }` (dành cho icon thiết bị),
   nếu không mũi tên bị phóng to theo icon. */
#st-admin-bar .st-admin-device-button svg.st-admin-device-chevron { width:8px !important; height:8px !important; margin-left:2px; display:block; flex:0 0 auto; }
#st-admin-bar .st-admin-device-menu { position:absolute; top:34px; right:8px; z-index:110020; min-width:170px; padding:4px; border:1px solid #334155; border-radius:7px; background:#111827; box-shadow:0 8px 20px rgba(0,0,0,.35); }
#st-admin-bar .st-admin-device-option { display:flex; align-items:center; gap:8px; width:100%; min-height:38px; height:auto; padding:10px 16px; border:0; border-radius:5px; background:transparent; color:#cbd5e1; cursor:pointer; font-family:inherit; font-size:13px; font-weight:400; line-height:1.4; text-align:left; white-space:nowrap; box-sizing:border-box; }
#st-admin-bar .st-admin-device-option:hover { background:rgba(255,255,255,.12); color:#fff; }
#st-admin-bar .st-admin-device-option.is-active { background:#2563eb; color:#fff; }
#st-admin-bar .st-admin-device-button svg { width:17px; height:17px; display:block; }
#st-admin-bar .st-admin-more-controls { display:none; position:relative; }
#st-admin-bar .st-admin-more-button { display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; padding:0; border:0; border-radius:6px; background:transparent; color:#cbd5e1; cursor:pointer; font:600 15px/1 sans-serif; letter-spacing:1px; }
#st-admin-bar .st-admin-more-button:hover { background:rgba(255,255,255,.12); color:#fff; }
#st-admin-bar .st-admin-more-menu { position:absolute; top:34px; right:0; z-index:110020; min-width:150px; padding:4px; border:1px solid #334155; border-radius:7px; background:#111827; box-shadow:0 8px 20px rgba(0,0,0,.35); }
#st-admin-bar .st-admin-more-item { display:flex; align-items:center; width:100%; min-height:38px; padding:10px 16px; border:0; border-radius:5px; background:transparent; color:#cbd5e1; cursor:pointer; font-family:inherit; font-size:13px; font-weight:400; line-height:1.4; text-align:left; white-space:nowrap; box-sizing:border-box; }
#st-admin-bar .st-admin-more-item:hover { background:rgba(255,255,255,.12); color:#fff; }
#st-admin-bar .st-admin-history-button { display:none; align-items:center; justify-content:center; gap:6px; height:30px; margin:0 4px; padding:0 10px; border:0; border-radius:6px; background:transparent; color:#cbd5e1; cursor:pointer; font:600 13px/1.4 sans-serif; white-space:nowrap; }
#st-admin-bar .st-admin-history-button svg { width:17px; height:17px; display:block; flex:0 0 auto; }
#st-admin-bar .st-admin-history-button:hover { background:rgba(255,255,255,.12); color:#fff; }
/* Nút bật/tắt chế độ "Panel trái" (mở phần chỉnh sửa block trong panel bên trái). */
#st-admin-bar .st-admin-panel-toggle { display:inline-flex; align-items:center; justify-content:center; gap:6px; height:30px; margin:0 4px; padding:0; width:30px; min-width:30px; border:0; border-radius:6px; background:transparent; color:#cbd5e1; cursor:pointer; font:600 13px/1.4 sans-serif; white-space:nowrap; }
#st-admin-bar .st-admin-panel-toggle svg { width:17px; height:17px; display:block; flex:0 0 auto; }
#st-admin-bar .st-admin-panel-toggle:hover { background:rgba(255,255,255,.12); color:#fff; }
#st-admin-bar .st-admin-panel-toggle.is-active { background:rgba(255,255,255,.18); color:#fff; }
#st-admin-bar .st-admin-panel-toggle.is-active:hover { background:rgba(255,255,255,.26); color:#fff; }
@media (max-width: 767px) {
    #st-admin-bar .st-admin-panel-toggle { padding:0; width:30px; min-width:30px; gap:0; }
    #st-admin-bar .st-admin-panel-toggle > span { display:none; }
}
@media (max-width: 767px) {
    /* Mobile: KHÔNG có nút "+" (không có panel trái) — panel chỉ dùng trên màn hình lớn. */
    #st-admin-bar .st-admin-panel-toggle { display:none !important; }
    #st-admin-bar .st-admin-device-button { width:30px; min-width:30px; padding:0; gap:0; }
    #st-admin-bar .st-admin-device-button > span { display:none; }
    #st-admin-bar .st-admin-more-controls { display:block; order:3; }
    #st-admin-bar > #st-float-toolbar.st-admin-toolbar { order:2; gap:4px !important; overflow:visible !important; }
    #st-admin-bar > .st-admin-logout-link { order:4; display:none !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .theme-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .content-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .history-group-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .command-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > #st-toolbar-preview-mode,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > #st-toolbar-publish-page,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > #st-toolbar-sidebar-toggle,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .toolbar-collapse-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .st-toolbar-submenu { display:none !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .settings-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .add-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .save { display:inline-flex !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .exit,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit { display:inline-flex !important; background:#1e293b !important; border-color:transparent !important; box-shadow:none !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .resume-btn { display:none !important; }
    /* Keep the toggle button consistent: .resume-btn can only enter edit mode,
       while .exit handles both entering and leaving it. */
    body.live-update-mode #st-admin-bar #st-float-toolbar.st-admin-toolbar > .exit,
    body.live-update-mode #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit { display:inline-flex !important; background:#3b82f6 !important; }
    body.live-update-mode #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit-split-arrow { background:#2563eb !important; }
    /* Sửa riêng Header/Footer ⇒ nút Sửa dùng nền TRUNG TÍNH (nền xanh chỉ dành cho khi sửa BODY). */
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar #st-float-toolbar.st-admin-toolbar > .exit,
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit { background:#1e293b !important; }
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit-split-arrow { background:rgba(255,255,255,.14) !important; }
    body.live-update-mode #st-admin-bar #st-float-toolbar.st-admin-toolbar > .resume-btn { display:none !important; }
     #st-admin-bar #st-float-toolbar.st-admin-toolbar > button { flex:0 0 30px !important; width:30px !important; min-width:30px !important; height:30px !important; padding:0 !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .exit-split-btn-group { height:30px !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit { width:30px !important; min-width:30px !important; height:30px !important; }
    #st-admin-bar #st-float-toolbar.st-admin-toolbar .exit-split-btn-group > .exit-split-arrow { width:18px !important; min-width:18px !important; height:30px !important; }
 }
@media (min-width: 768px) {
    #st-admin-bar .st-admin-history-button { display:inline-flex !important; order:2; }
    #st-admin-bar > #st-float-toolbar.st-admin-toolbar > .history-group-btn { display:none !important; }
    /* Màn hình lớn: đã có nút "+" ở mép trái admin bar ⇒ ẩn nút "Thêm" trong thanh công cụ. */
    #st-admin-bar #st-float-toolbar.st-admin-toolbar .add-btn,
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .add-btn { display:none !important; }
}
/* ── Chế độ panel: nút edit (vào/thoát chế độ Sửa) LUÔN hiển thị, kể cả khi đang Sửa + mở panel. ── */
body.st-device-preview { background:#e2e8f0; }
body.st-device-preview #house-template,
body.st-device-preview #st-footer-host { width:min(var(--st-device-preview-width), calc(100vw - 24px)) !important; max-width:none !important; margin-left:auto !important; margin-right:auto !important; box-shadow:0 0 0 1px rgba(15,23,42,.12), 0 10px 30px rgba(15,23,42,.14); }
body.st-device-preview > #street-bar,
body.st-device-preview > #st-menu,
body.st-device-preview > #st-secondary-menu { width:min(var(--st-device-preview-width), calc(100vw - 24px)) !important; max-width:none !important; left:50% !important; margin-left:0 !important; margin-right:0 !important; transform:translateX(-50%); }
body.st-device-preview #street-bar .st-header-group-full-width { width:min(var(--st-device-preview-width), calc(100vw - 24px)) !important; max-width:none !important; }
body.st-device-preview #street-bar .st-header-group-full-width::before { width:min(var(--st-device-preview-width), calc(100vw - 24px)) !important; }
body.st-device-preview #street-bar .st-header-block-main-menu #st-menu,
body.st-device-preview > #st-menu { width:100% !important; min-width:0 !important; max-width:100% !important; overflow-x:auto !important; overflow-y:hidden !important; justify-content:flex-start !important; }
body.st-device-preview #street-bar .st-header-block-main-menu #st-menu .st-menu-inner,
body.st-device-preview > #st-menu .st-menu-inner { width:max-content !important; min-width:max-content !important; max-width:none !important; flex:0 0 auto !important; margin-left:0 !important; margin-right:0 !important; padding-left:0 !important; padding-right:0 !important; justify-content:flex-start !important; }
body.st-device-preview > #st-menu { width:min(var(--st-device-preview-width), calc(100vw - 24px)) !important; max-width:none !important; }

/* Framed layout: opaque gap cover above sticky header.
   z-index 999 is below the header (1000) but above body content,
   so it only fills the gap + corner radius areas behind the header. */
body.st-framed-sticky-cover::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: calc(var(--st-framed-cover-h, 32px) + 24px);
    background: var(--st-framed-cover-bg, #f0f2f5);
    z-index: 999;
    pointer-events: none;
}

/* ── Reusable themed button classes ─────────────────────────────────────
 * .st-btn          – base flat rounded button
 * .st-btn-icon     – small square icon-only button
 * .st-btn-danger   – red-tinted for destructive actions
 * .st-btn-add      – green-tinted for add actions
 * .st-btn-sm       – extra-small text-only
 * ─────────────────────────────────────────────────────────────────────── */
.st-btn { display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;height:28px;min-width:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#374151;font-size:12px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;transition:background .12s,color .12s,border-color .12s;font-family:inherit; }
.st-btn:hover { background:#f1f5f9;border-color:#94a3b8; }
.st-btn:active { background:#e2e8f0; }
.st-btn-icon { display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;min-width:0;padding:0;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#64748b;font-size:14px;font-weight:700;line-height:1;cursor:pointer;transition:background .12s,color .12s,border-color .12s;font-family:inherit; }
.st-btn-icon:hover { background:#f1f5f9;color:#334155;border-color:#94a3b8; }
.st-btn-danger { display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;height:28px;min-width:28px;border:1px solid #fca5a5;border-radius:8px;background:#fef2f2;color:#dc2626;font-size:12px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;transition:background .12s;font-family:inherit; }
.st-btn-danger:hover { background:#fee2e2;border-color:#f87171; }
.st-btn-add { display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;height:28px;min-width:28px;border:1px dashed #86efac;border-radius:8px;background:#f0fdf4;color:#16a34a;font-size:12px;font-weight:600;line-height:1;cursor:pointer;white-space:nowrap;transition:background .12s,border-color .12s;font-family:inherit; }
.st-btn-add:hover { background:#dcfce7;border-color:#4ade80; }
.st-btn-sm { padding:3px 8px;height:24px;min-width:24px;font-size:11px;border-radius:6px; }
.st-ui-dark .st-btn, .st-ui-dark .st-btn-icon { background:#1e293b;border-color:#334155;color:#cbd5e1; }
.st-ui-dark .st-btn:hover, .st-ui-dark .st-btn-icon:hover { background:#334155;border-color:#475569; }
.st-ui-dark .st-btn-icon { color:#94a3b8; }
.st-ui-dark .st-btn-icon:hover { color:#e2e8f0; }
.st-ui-dark .st-btn-danger { background:#450a0a;border-color:#7f1d1d;color:#fca5a5; }
.st-ui-dark .st-btn-danger:hover { background:#7f1d1d;border-color:#dc2626; }
[data-header-theme-apply] { background:#16a34a!important;color:#fff!important;border:1px solid #15803d!important; }
[data-header-theme-apply]:hover { background:#15803d!important;border-color:#166534!important; }
[data-header-theme-apply]:disabled { opacity:.55;cursor:not-allowed; }
.st-ui-dark .st-btn-add { background:#052e16;border-color:#166534;color:#86efac; }
.st-ui-dark .st-btn-add:hover { background:#14532d;border-color:#22c55e; }
.st-ui-dark [data-header-theme-apply] { background:#16a34a!important;color:#fff!important;border-color:#15803d!important; }
.st-ui-dark [data-header-theme-apply]:hover { background:#22c55e!important;border-color:#4ade80!important; }

/* ── Header layout manager buttons ─────────────────────────────────────── */
#st-header-layout-manager button[data-h-row-move],
#st-header-layout-manager button[data-h-block-move] { all:unset;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#64748b;font-size:14px;font-weight:700;cursor:pointer;transition:background .12s,color .12s,border-color .12s; }
#st-header-layout-manager button[data-h-row-move]:hover,
#st-header-layout-manager button[data-h-block-move]:hover { background:#f1f5f9;color:#334155;border-color:#94a3b8; }
#st-header-layout-manager button[data-h-row-remove],
#st-header-layout-manager button[data-h-block-remove] { all:unset;display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;height:28px;border:1px solid #fca5a5;border-radius:8px;background:#fef2f2;color:#dc2626;font-size:12px;font-weight:600;cursor:pointer;transition:background .12s; }
#st-header-layout-manager button[data-h-row-remove]:hover,
#st-header-layout-manager button[data-h-block-remove]:hover { background:#fee2e2;border-color:#f87171; }
#st-header-layout-manager button[data-h-row-add],
#st-header-layout-manager button[data-h-block-add] { all:unset;display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:5px 12px;height:28px;border:1px dashed #86efac;border-radius:8px;background:#f0fdf4;color:#16a34a;font-size:12px;font-weight:600;cursor:pointer;transition:background .12s,border-color .12s; }
#st-header-layout-manager button[data-h-row-add]:hover,
#st-header-layout-manager button[data-h-block-add]:hover { background:#dcfce7;border-color:#4ade80; }
#st-header-layout-manager select { padding:4px 8px;height:28px;border:1px solid #d1d5db;border-radius:8px;background:#fff;color:#334155;font-size:12px;font-weight:600;cursor:pointer;outline:none;transition:border-color .12s; }
#st-header-layout-manager select:hover { border-color:#94a3b8; }
#st-header-layout-manager input[data-header-field] { padding:6px 8px;border:1px solid #d1d5db;border-radius:8px;font-size:12px;color:#1f2a37;background:#fff;transition:border-color .12s; }
#st-header-layout-manager input[data-header-field]:focus { border-color:#2563eb;outline:none; }
/* Dark theme for layout manager */
.st-ui-dark #st-header-layout-manager { background:#0f172a;border-color:#1e293b; }
.st-ui-dark #st-header-layout-manager strong { color:#e2e8f0; }
.st-ui-dark #st-header-layout-manager button[data-h-row-move],
.st-ui-dark #st-header-layout-manager button[data-h-block-move] { background:#1e293b;border-color:#334155;color:#94a3b8; }
.st-ui-dark #st-header-layout-manager button[data-h-row-move]:hover,
.st-ui-dark #st-header-layout-manager button[data-h-block-move]:hover { background:#334155;color:#e2e8f0;border-color:#475569; }
.st-ui-dark #st-header-layout-manager button[data-h-row-remove],
.st-ui-dark #st-header-layout-manager button[data-h-block-remove] { background:#450a0a;border-color:#7f1d1d;color:#fca5a5; }
.st-ui-dark #st-header-layout-manager button[data-h-row-remove]:hover,
.st-ui-dark #st-header-layout-manager button[data-h-block-remove]:hover { background:#7f1d1d;border-color:#dc2626; }
.st-ui-dark #st-header-layout-manager button[data-h-row-add],
.st-ui-dark #st-header-layout-manager button[data-h-block-add] { background:#052e16;border-color:#166534;color:#86efac; }
.st-ui-dark #st-header-layout-manager button[data-h-row-add]:hover,
.st-ui-dark #st-header-layout-manager button[data-h-block-add]:hover { background:#14532d;border-color:#22c55e; }
.st-ui-dark #st-header-layout-manager select { background:#1e293b;border-color:#334155;color:#cbd5e1; }
.st-ui-dark #st-header-layout-manager select:hover { border-color:#475569; }
.st-ui-dark #st-header-layout-manager input[data-header-field] { background:#1e293b;border-color:#334155;color:#e2e8f0; }
.st-ui-dark #st-header-layout-manager input[data-header-field]:focus { border-color:#3b82f6; }
#street-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 50px;
    background: var(--bg-bar); color: var(--text); z-index: 900;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0; box-sizing: border-box; border-bottom: 0;
}

/* Hiệu ứng Vuốt (Swipe Animation) */
.page-transition {
    animation: fadeBlur 0.5s ease-out;
}
@keyframes fadeBlur {
    from { opacity: 0; filter: blur(5px); transform: scale(1.02); }
    to { opacity: 1; filter: blur(0); transform: scale(1); }
}

/* Nút bấm điều hướng */
.btn-next {
    background: var(--st-website-primary-color); color: #000; border: none;
    padding: 8px 16px; border-radius: 20px; cursor: pointer;
    font-weight: 600; text-transform: uppercase; font-size: 12px;
}

/* WP frontend builder (view + edit mode): prevent padding shift on #house-template */
.stb-builder-preview #house-template.st-page-surface,
.stb-builder-preview #house-template .st-page-surface {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
}

/* STREET_RUNTIME_EXTRACT_START */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Keep the global edit toolbar beneath popup menus and dropdown layers. */
#st-float-edit-container { z-index: 100000 !important; }
#st-float-toolbar { z-index: 100001 !important; }
/* Preview tab (opened via the admin-bar Preview button = ?st_preview=1):
   render like a plain visitor — hide all builder/account/login chrome. */
body.st-preview-only #st-admin-bar,
body.st-preview-only #st-float-edit-container,
body.st-preview-only #st-float-toolbar,
body.st-preview-only #st-site-account-bar,
body.st-preview-only #st-live-host-login-modal,
body.st-preview-only #st-host-login-skeleton-modal {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
/* The add-block submenus must escape the global toolbar stacking layer. */
#st-edit-row-add-dropdown,
#st-add-block-sub-dropdown,
#st-add-dropdown-menu,
#st-content-dropdown-menu { z-index: 100250 !important; }
        html { background: var(--st-runtime-root-bg, transparent); overflow-y: var(--st-runtime-html-overflow-y, auto); -webkit-overflow-scrolling: touch; }
        body {
            padding-top: var(--st-runtime-body-padding-top, 70px);
            background: var(--st-runtime-root-bg, transparent);
            -webkit-overflow-scrolling: touch;
        }
        #house-template {
            position: relative;
            z-index: 1;
        }
        /* Keep footer below the body surface so fixed blocks inside #house-template can float above it. */
        #st-footer-host {
            position: relative;
            z-index: 0;
        }
        .st-layout-shell {
            width: var(--st-layout-width, auto);
            max-width: var(--st-layout-max-width, none);
            margin-left: var(--st-layout-margin-left, 0);
            margin-right: var(--st-layout-margin-right, 0);
            margin-top: var(--st-layout-margin-top, 0);
            margin-bottom: var(--st-layout-margin-bottom, 0);
            padding-left: var(--st-layout-padding-left, 0);
            padding-right: var(--st-layout-padding-right, 0);
            box-sizing: border-box;
        }
        #st-menu.st-layout-shell-outer {
            width: 100%;
            max-width: none;
            margin-left: 0;
            margin-right: 0;
            box-sizing: border-box;
        }
        .st-page-surface {
            width: var(--st-layout-width, min(800px, calc(100% - 32px)));
            max-width: var(--st-layout-max-width, none);
            margin-left: var(--st-layout-margin-left, auto);
            margin-right: var(--st-layout-margin-right, auto);
            background: transparent;
            --st-body-block-gap: 15px;
            padding-bottom: 20px;
        }
        .st-page-surface > :is(.st-page-section-group-top, .st-page-section-group-body, .st-page-section-group-bottom) > :is(.st-section, .st-product-compact-grid, .st-product-medium-grid, .st-product-large-grid) + :is(.st-section, .st-product-compact-grid, .st-product-medium-grid, .st-product-large-grid) { margin-top: var(--st-body-block-gap, 15px) !important; }
        .st-page-surface > :is(.st-page-section-group-top, .st-page-section-group-body, .st-page-section-group-bottom) + :is(.st-page-section-group-top, .st-page-section-group-body, .st-page-section-group-bottom) { margin-top: var(--st-body-block-gap, 15px); }

        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom {
            outline: 2px dashed #94a3b8;
            outline-offset: 5px;
            position: relative;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top::before,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top::before,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom::before,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom::before {
            position: absolute;
            top: -11px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--st-page-bg, #fff);
            color: #94a3b8;
            font-size: 10px;
            font-weight: 700;
            padding: 0 8px;
            letter-spacing: 1px;
            z-index: 10;
            white-space: nowrap;
            line-height: 1;
            pointer-events: none;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top::before,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-top::before {
            content: 'ĐẦU TRANG';
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom::before,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-surface > .st-page-section-group-bottom::before {
            content: 'CUỐI TRANG';
        }

        #street-bar {
            -webkit-transform: translateZ(0);
            transform: translateZ(0);
            backface-visibility: hidden;
            will-change: transform, opacity;
        }
        @media (max-width: 767px) {
            #street-bar {
                will-change: auto;
                -webkit-transform: none;
                transform: none;
                backface-visibility: visible;
            }
            #st-menu {
                overflow-x: auto !important;
                overflow-y: hidden !important;
                overscroll-behavior-x: contain;
                -webkit-overflow-scrolling: touch;
            }
            #st-menu .st-menu-inner {
                justify-content: flex-start !important;
                overflow-x: auto !important;
                overflow-y: hidden !important;
                min-width: max-content;
            }
            #st-menu .st-menu-item-group {
                flex: 0 0 auto;
            }
            #st-floating-mode-btn,
            #st-float-toolbar {
                -webkit-backdrop-filter: none;
                backdrop-filter: none;
            }
        }

        #street-bar { position: fixed; top: 0; left: 0; width: var(--st-layout-width, 100%); max-width: var(--st-layout-max-width, none); margin-left: var(--st-layout-margin-left, 0); margin-right: var(--st-layout-margin-right, 0); margin-top: var(--st-layout-margin-top, 0); margin-bottom: var(--st-layout-margin-bottom, 0); height: 70px; z-index: 900; font-family: sans-serif; color: #fff; box-sizing: border-box; }
        .st-bar-inner { width: var(--st-layout-width, 100%); max-width: var(--st-layout-max-width, none); height: 100%; margin-left: var(--st-layout-margin-left, auto); margin-right: var(--st-layout-margin-right, auto); margin-top: 0 !important; margin-bottom: 0 !important; display: flex; align-items: center; justify-content: space-between; padding: 0; padding-left: var(--st-layout-padding-left, 0) !important; padding-right: var(--st-layout-padding-right, 0) !important; box-sizing: border-box; }
        .st-store-info { display: flex; flex-direction: column; justify-content: center; line-height: 1.1; flex: 1; min-width: 0; height: 100%; margin-left: 0; }
        .st-house-name { font-size: 15px; font-weight: 600; display: inline-flex; padding: 2px 4px; border-radius: 6px; transition: all 0.18s ease; }
        .st-house-location { font-size: 10px; opacity: 0.7; margin-top: 4px; display: inline-flex; padding: 2px 4px; border-radius: 6px; transition: all 0.18s ease; }
        .st-house-location.editable { cursor: pointer; }
        .st-edit-mode-active .st-logo-img[data-default-logo="1"] { cursor: pointer; }
        .st-edit-mode-active .st-logo-img[data-default-logo="1"]:hover { opacity: 0.82; outline: 2px dashed rgba(37,99,235,0.75); outline-offset: 3px; border-radius: 10px; }
        .st-location-dropdown .st-location-option { padding: 10px 16px; white-space: nowrap; cursor: pointer; }
        .st-location-dropdown .st-location-option:hover { background: rgba(59, 130, 246, 0.08); }
        .st-page-title { display: block; padding: 2px 4px; border-radius: 6px; transition: all 0.18s ease; }
        .st-hero-avatar-frame { position: relative; display: block; border-radius: 999px; overflow: hidden; box-sizing: border-box; }
        .st-hero-avatar-frame .st-hero-avatar { max-width: none; object-fit: cover; display: block; }
        .st-hero-avatar { width: 100px; height: 100px; border-radius: 999px; object-fit: cover; display: block; margin: 0 auto 18px; }
        .st-hero-title { display: inline-block; padding: 2px 4px; border-radius: 6px; transition: all 0.18s ease; }
        .st-page-title.editable,
        .st-hero-title.editable { cursor: pointer; }
        .st-page-slogan { display: block; padding: 2px 4px; border-radius: 6px; transition: all 0.18s ease; margin-top: 6px; }
        .st-page-slogan.editable { cursor: pointer; }
        .st-page-header { padding: 15px 20px 5px; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-header { background: rgba(72, 187, 120, 0.08); }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-header:hover { background: rgba(72, 187, 120, 0.12); }
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-name,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-location,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title { outline: none; }
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-name:hover,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-name:focus,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-name:focus-visible,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-location:hover,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-location:focus,
            body.live-update-mode:not(.st-region-edit-focus-footer) .st-house-location:focus-visible,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title:hover,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title:focus,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title:focus-visible,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title:focus-within {
                outline: 1px dashed rgba(37, 99, 235, 0.95);
                outline-offset: 3px;
            }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-page-title { background: transparent; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-hero-title {
            outline: none !important;
                border-bottom: 1px dashed transparent;
            display: inline-block;
            padding-bottom: 1px;
            background: transparent;
            border-radius: 0;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan {
            outline: none !important;
            background: transparent;
            border-radius: 0;
                border-bottom: 1px dashed transparent;
        }
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-hero-title:hover,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-hero-title:focus,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-hero-title:focus-visible,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan:hover,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan:focus,
            body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan:focus-visible {
                outline: none;
                border-bottom-color: rgba(148, 163, 184, 0.8);
            }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan { margin-top: 6px; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan:empty {
            display: block;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero .st-page-slogan:empty::before {
            content: attr(data-placeholder);
            color: rgba(148, 163, 184, 0.8);
            display: inline-block;
        }
        .st-section.st-hero .st-page-slogan:empty { display: none; }
        .st-section.st-hero { isolation: isolate; }
        .st-hero-inner { width: 100%; max-width: 980px; margin: 0 auto; position: relative; }
        .st-hero-content { position: relative; z-index: 20; }
        .st-hero-inner.has-media { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 42%); gap: 28px; align-items: center; }
        .st-hero-inner.media-left { grid-template-columns: minmax(220px, 42%) minmax(0, 1fr); }
        .st-hero-media { width: 100%; max-width: 420px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: 0 14px 32px rgba(15,23,42,0.16); display: block; position: relative; z-index: 5; }
        .st-hero-media-frame { position: relative; overflow: hidden; box-sizing: border-box; z-index: 5; }
        .st-hero-media-img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .st-hero-media-stack { position: relative; z-index: 5; box-sizing: border-box; }
        .st-hero-inner.media-right .st-hero-media-stack { justify-self: end; }
        .st-hero-inner.media-left .st-hero-media-stack { justify-self: start; }
        .st-hero-inner.media-left .st-hero-media-stack { grid-column: 1; grid-row: 1; }
        .st-hero-inner.media-bottom .st-hero-media-stack { margin: 22px auto 0; }
        .st-hero-media-stack .st-hero-media {
            grid-column: auto !important;
            grid-row: auto !important;
            justify-self: stretch !important;
            margin: 0 !important;
        }
        .st-hero-inner.media-right .st-hero-media { justify-self: end; }
        .st-hero-inner.media-left .st-hero-media { justify-self: start; }
        .st-hero-inner.media-left .st-hero-media { grid-column: 1; grid-row: 1; }
        .st-hero-inner.media-left .st-hero-content { grid-column: 2; grid-row: 1; }
        .st-hero-inner.media-bottom { display: block; }
        .st-hero-inner.media-bottom .st-hero-media { margin: 22px auto 0; }
        @media (max-width: 768px) {
            .st-section.st-hero.st-hero-has-media {
                height: auto !important;
                min-height: var(--st-hero-block-height, 0px) !important;
                overflow: visible !important;
            }
            /* Mobile hero: let the section/background/media reach the viewport
               edge while keeping readable spacing around the text content. */
            body.st-non-wp .st-page-surface .st-section.st-hero {
                width: calc(100% + var(--st-mobile-image-bleed-left, 0px) + var(--st-mobile-image-bleed-right, 0px)) !important;
                margin-left: calc(-1 * var(--st-mobile-image-bleed-left, 0px)) !important;
                margin-right: calc(-1 * var(--st-mobile-image-bleed-right, 0px)) !important;
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
            body.st-non-wp .st-page-surface .st-section.st-hero .st-hero-content {
                padding-left: 16px;
                padding-right: 16px;
            }
            body.st-non-wp .st-page-surface .st-section.st-hero .st-hero-media-stack,
            body.st-non-wp .st-page-surface .st-section.st-hero .st-hero-media-frame {
                width: 100% !important;
                max-width: none !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                border-radius: 0;
            }
            /* Content-template blocks keep zero layout margin. The visual
               shell compensates for the page-surface padding independently,
               while the block's own inner padding keeps text readable. */
            body.st-non-wp .st-page-surface .st-section:is(
                [data-section-type="pricing"],
                [data-section-type="proof"],
                [data-section-type="logos"],
                [data-section-type="faq"],
                [data-section-type="rail"],
                [data-section-type="slider"],
                [data-section-type="collection"],
                [data-section-type="story"],
                [data-section-type="comparison"],
                [data-section-type="map"],
                [data-section-type="lead"],
                [data-section-type="reviews"],
                [data-section-type="features"],
                [data-section-type="newsletter"],
                [data-section-type="countdown"],
                [data-section-type="booking"],
                [data-section-type="beforeafter"],
                [data-section-type="timeline"],
                [data-section-type="team"],
                [data-section-type="portfolio"],
                [data-section-type="calculator"],
                [data-section-type="jobs"],
                [data-section-type="app"]
            ) {
                width: calc(100% + var(--st-mobile-image-bleed-left, 0px) + var(--st-mobile-image-bleed-right, 0px)) !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                position: relative;
                left: calc(-1 * var(--st-mobile-image-bleed-left, 0px));
                box-sizing: border-box;
            }
            body.st-non-wp .st-page-surface .st-section:is(
                [data-section-type="pricing"],
                [data-section-type="proof"],
                [data-section-type="logos"],
                [data-section-type="faq"],
                [data-section-type="rail"],
                [data-section-type="slider"],
                [data-section-type="collection"],
                [data-section-type="story"],
                [data-section-type="comparison"],
                [data-section-type="map"],
                [data-section-type="lead"],
                [data-section-type="reviews"],
                [data-section-type="features"],
                [data-section-type="newsletter"],
                [data-section-type="countdown"],
                [data-section-type="booking"],
                [data-section-type="beforeafter"],
                [data-section-type="timeline"],
                [data-section-type="team"],
                [data-section-type="portfolio"],
                [data-section-type="calculator"],
                [data-section-type="jobs"],
                [data-section-type="app"]
            ) > div[style*="grid-template-columns"] {
                grid-template-columns: 1fr !important;
            }
            .st-hero-inner.has-media,
            .st-hero-inner.media-left { display: block; }
            .st-hero-inner.media-left .st-hero-media,
            .st-hero-inner.media-left .st-hero-content { grid-column: auto; grid-row: auto; }
            .st-hero-media { margin: 22px auto 0; max-width: 100%; }
            .st-hero-media-stack { max-width: 100% !important; }
            .st-hero-inner.media-right .st-hero-media-stack { margin: 22px auto 0 0; }
            .st-hero-inner.media-left .st-hero-media-stack { margin: 22px 0 0 auto; }
            .st-hero-inner.media-bottom .st-hero-media-stack { margin: 22px auto 0; }
            .st-hero-inner.media-right .st-hero-media { margin: 22px auto 0 0; }
            .st-hero-inner.media-left .st-hero-media { margin: 22px 0 0 auto; }
            .st-hero-inner.media-bottom .st-hero-media { margin: 22px auto 0; }
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero:hover { background: transparent; }
        body.st-ui-hovering.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-hero:hover { background: transparent !important; }
        .st-house-name-input { font-size: 15px; font-weight: 600; color: #111; border: 1px solid rgba(255,255,255,0.85); border-radius: 8px; padding: 4px 8px; min-width: 120px; max-width: 260px; width: auto; background: rgba(255,255,255,0.98); }
        .st-live-login-modal { display:none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 100300; justify-content: center; align-items: center; }
        .st-live-login-modal.active { display: flex; }
        .st-live-login-modal .modal-card { width:min(360px,92%); background:#fff; border-radius:14px; padding:18px; box-shadow:0 18px 45px rgba(0,0,0,0.18); position:relative; z-index: 100301; }
        .st-live-login-modal.st-login-menu-popover { background: transparent; justify-content: flex-start; align-items: flex-start; pointer-events: none; }
        .st-live-login-modal.st-login-menu-popover .modal-card { position: fixed !important; width:min(360px,calc(100vw - 16px)); pointer-events: auto; z-index: 100301; }
        .st-live-login-modal .modal-title { font-size:16px; margin-bottom:12px; font-weight:600; }
        .st-live-login-modal .modal-text { color:#475569; font-size:14px; line-height:1.5; margin-bottom:14px; }
        .st-live-login-modal .inline-modal-close { position:absolute !important; top:14px !important; right:14px !important; left:auto !important; width:32px !important; height:32px !important; border:none !important; background:transparent !important; color:#0f172a; font-size:16px; border-radius:50%; cursor:pointer; display:block !important; line-height:1; text-align:center; z-index:10; padding:0 !important; box-shadow:none; }
        .st-live-login-modal .inline-modal-close:hover { background:rgba(0,0,0,0.06) !important; }
        .st-live-login-modal .modal-field { margin-bottom:12px; }
        .st-live-login-modal .modal-field input { width:100%; padding:10px 12px; border-radius:10px; border:1px solid #d1d5db; font-size:14px; }
        .st-live-login-modal .modal-error { display:none; color:#b91c1c; font-size:13px; min-height:18px; margin-bottom:10px; }
        .st-live-login-modal .modal-error.show { display:block; }
        .st-live-login-modal .modal-actions { display:grid; gap:10px; }
        .st-live-login-modal .modal-actions button { border:none; border-radius:10px; padding:12px 14px; font-size:14px; font-weight:600; cursor:pointer; }
        .st-live-login-modal .modal-actions .primary { background:#2d8cff; color:#fff; }
        .st-live-login-modal .modal-actions .secondary { background:#f1f5f9; color:#334155; }
        @media (max-width: 767px) {
            .st-live-login-modal,
            .st-live-login-modal.st-login-menu-popover { align-items:flex-end; justify-content:center; background:rgba(0,0,0,0.45); padding:0; pointer-events:auto; }
            .st-live-login-modal .modal-card,
            .st-live-login-modal.st-login-menu-popover .modal-card { position:relative !important; left:auto !important; top:auto !important; right:auto !important; width:100% !important; max-width:none; max-height:calc(100dvh - 24px); overflow-y:auto; border-radius:18px 18px 0 0; padding:22px 18px max(18px, env(safe-area-inset-bottom)); box-sizing:border-box; }
            .st-live-login-modal .modal-field input { font-size:16px !important; }
        }
        .st-location { font-size: 10px; opacity: 0.7; }
        .st-btn { color: white; border: none; padding: 8px 12px; border-radius: 6px; font-weight: 600; font-size: 16px; cursor: pointer; }
        #st-user-button,
        #st-hamburger-toggle {
            width: auto;
            height: auto;
            min-width: 0;
            padding: 0 !important;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
            box-sizing: border-box;
            border-radius: 0;
        }
        #st-hamburger-toggle {
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
            width: 34px !important;
            height: 34px !important;
            min-width: 34px !important;
            font-size: 20px !important;
            font-weight: 400 !important;
            color: inherit !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
        }
        #st-user-button {
            display: none !important;
            position: fixed !important;
            top: 0 !important;
            right: 0 !important;
            z-index: 100150 !important;
            width: 46px !important;
            height: 36px !important;
            min-width: 46px !important;
            border-radius: 0 0 0 12px !important;
            box-shadow: none !important;
            background: rgba(37, 99, 235, 0.88) !important;
            border: 1px solid rgba(255, 255, 255, 0.12) !important;
            border-top: none !important;
            border-right: none !important;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            contain: paint;
            isolation: isolate;
            transform: translateZ(0);
            -webkit-transform: translateZ(0);
        }
        #st-user-button svg { width: 19px; height: 19px; flex: 0 0 auto; display: block; }
        #st-user-button:hover { background: rgba(29, 78, 216, 0.95) !important; transform: translate3d(0, 1px, 0); box-shadow: none !important; }
        /* Ensure pressed/open state uses gray color, default remains white */
        #st-user-button.is-menu-open, #st-user-button:active {
            color: rgba(148,163,184,0.98) !important;
        }
        #st-user-button { color: #fff !important; }
                /* Let JS compute the menu top so it sits flush to the header (no hard gap). */
                #st-menu { background: var(--st-menu-bg, #fff); border-bottom: 1px solid #eee; overflow: visible; white-space: nowrap; position: fixed; top: 0; left: 0; width: 100%; max-width: none; margin-left: 0; margin-right: 0; margin-top: 0; margin-bottom: 0; z-index: 100150; scrollbar-width: none; height: var(--st-menu-height, 44px); box-sizing: border-box; }
                #street-bar .st-header-block-main-menu #st-menu { border-bottom: 0 !important; }
                .st-menu-inner { width: var(--st-layout-width, 100%); max-width: var(--st-layout-max-width, none); height: 100%; margin-left: var(--st-layout-margin-left, auto); margin-right: var(--st-layout-margin-right, auto); padding: 0; padding-left: var(--st-layout-padding-left, 0); padding-right: var(--st-layout-padding-right, 0); box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start; gap: 0; overflow-x: auto; overflow-y: hidden; }
        /* SSR: preset chọn nền menu TRONG SUỐT (vd. tech-minimal) ⇒ khoá nền trong suốt bằng CSS.
           Chặn mọi pha trung gian lúc runtime còn hydrate ghi nền trắng vào row/khối menu.
           Chỉ áp cho trang do PHP sinh (có data-st-menu-transparent) nên không ảnh hưởng builder. */
        #street-bar[data-st-menu-transparent="1"] #st-menu,
        #street-bar[data-st-menu-transparent="1"] #st-menu .st-menu-inner,
        #street-bar[data-st-menu-transparent="1"] .st-header-block-main-menu,
        #street-bar[data-st-menu-transparent="1"] .st-header-block-main-menu::before {
            background: transparent !important;
            background-color: transparent !important;
            background-image: none !important;
        }



        /* Floating Edit Container */
        #st-float-edit-container {
            position: fixed;
            bottom: 20px;
            right: calc(16px + env(safe-area-inset-right, 0px));
            z-index: 100200;
            display: none;
            flex-direction: column;
            align-items: flex-end;
            gap: 10px;
        }

        #st-float-edit-actions {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 8px;
        }

        #st-floating-mode-btn {
            width: 38px;
            height: 38px;
            padding: 0;
            border: none;
            border-radius: 50%;
            background: rgba(15, 23, 42, 0.72);
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
            transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }
        #st-floating-mode-btn:hover {
            background: rgba(15, 23, 42, 0.9);
            transform: translateY(-1px);
        }
        #st-floating-mode-btn:active {
            transform: scale(0.96);
        }

        /* Main toggle button */
        #st-floating-edit-btn {
            width: 58px;
            height: 58px;
            border: none;
            border-radius: 50%;
            background: linear-gradient(135deg, #fb923c, #f97316);
            color: #fff;
            font-size: 34px;
            font-weight: 500;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 26px rgba(249, 115, 22, 0.38);
            transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
            flex-shrink: 0;
            line-height: 1;
        }
        #st-floating-edit-btn:hover {
            background: linear-gradient(135deg, #fdba74, #ea580c);
            transform: scale(1.07);
        }
        #st-floating-edit-btn:active {
            transform: scale(0.95);
        }
        #st-float-edit-container.active #st-floating-mode-btn {
            background: #93c5fd;
            box-shadow: 0 6px 22px rgba(96, 165, 250, 0.55);
        }
        #st-float-edit-container.active #st-floating-mode-btn:hover {
            background: #60a5fa;
        }

        /* Floating Toolbar */
        #st-float-toolbar {
            display: flex;
            flex-direction: column;
            align-items: stretch;
            gap: 3px;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(16px) saturate(1.2);
            -webkit-backdrop-filter: blur(16px) saturate(1.2);
            color: #f8fafc;
            border-radius: 6px;
            padding: 4px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            border: 1px solid rgba(255,255,255,0.08);
            width: fit-content;
            min-width: 0;
            transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
        }
        #st-float-toolbar:hover {
            background: rgba(0, 0, 0, 0.92);
            box-shadow: 0 10px 28px rgba(0,0,0,0.2);
        }
        #st-float-toolbar.compact {
            width: fit-content;
            padding: 5px 6px;
            gap: 4px;
            background: rgba(0, 0, 0, 0.75);
            backdrop-filter: blur(12px) saturate(1.1);
            -webkit-backdrop-filter: blur(12px) saturate(1.1);
            color: #f8fafc;
            border-radius: 6px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
            border: 1px solid rgba(255,255,255,0.08);
        }
        #st-float-toolbar.compact:hover {
            background: rgba(0, 0, 0, 0.92);
            box-shadow: 0 10px 28px rgba(0,0,0,0.2);
        }

        /* Keep the Edit toggle available when the toolbar becomes compact. */
        #st-float-toolbar.compact > button:not(.exit):not(.resume-btn):not(.settings-btn):not(.st-toolbar-save-fab):not(.toolbar-drag-handle):not(#st-user-button):not(#st-global-command-btn) {
            display: none !important;
        }
        #st-float-toolbar.compact > .st-toolbar-save-fab.st-dirty {
            display: inline-flex !important;
            pointer-events: auto !important;
        }
        #st-float-toolbar.compact .resume-btn {
            display: inline-flex !important;
            position: relative;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.12);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: none;
            border-radius: 4px;
            min-width: 28px;
            height: 28px;
            padding: 0 8px;
            margin: 0;
            text-transform: none;
            font-size: 12px;
            font-weight: 600;
            line-height: 1;
            color: #f8fafc;
            gap: 4px;
        }
        #st-float-toolbar.compact .resume-btn {
            width: 28px;
            height: 28px;
            min-width: 28px;
            padding: 0;
            border-radius: 4px;
        }
        /* In edit mode (live-update-mode), use dark blue background for resume-btn */
        body.live-update-mode #st-float-toolbar.compact .resume-btn {
            background: #3b82f6;
            border: 1px solid rgba(96, 165, 250, 0.44);
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
        }
        /* Unified pair in compact bottom toolbar: "Chỉnh sửa" (lightly rounded rect) + settings (square) */
        #st-float-toolbar.compact .settings-btn {
            display: inline-flex !important;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            min-width: 28px;
            padding: 0;
            border-radius: 4px;
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.15);
            color: #f8fafc;
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
            margin-left: 4px;
        }
        #st-float-toolbar.compact .settings-btn:hover {
            background: rgba(255,255,255,0.2);
            box-shadow: 0 6px 18px rgba(0,0,0,0.22);
        }
        #st-float-toolbar.compact .settings-btn:active {
            transform: scale(0.95);
        }
        #st-float-toolbar.compact .resume-btn .resume-close {
            position: absolute;
            right: 8px;
            top: 50%;
            transform: translateY(-50%);
        }
        #st-float-toolbar.compact .resume-btn:hover {
            background: #3b82f6;
            box-shadow: 0 10px 26px rgba(59, 130, 246, 0.34);
        }
        #st-float-toolbar.compact .resume-btn:active { transform: scale(0.98); }
        /* Hide edit (pencil) button when in edit mode (not compact) */
        #st-float-toolbar:not(.compact) .resume-btn { display: none !important; }
        /* Show edit button in compact/view mode with very light blue background */
        #st-float-toolbar.compact .exit {
            display: inline-flex !important;
            background: rgba(59, 130, 246, 0.15);
            border: 1px solid rgba(96, 165, 250, 0.3);
            box-shadow: none;
        }
        #st-float-toolbar.compact .exit:hover {
            background: #3b82f6;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
        }
        #st-float-toolbar.compact .exit:active { transform: scale(0.95); }
        /* In edit mode (live-update-mode), use dark blue background */
        body.live-update-mode #st-float-toolbar.compact .exit {
            background: #3b82f6;
            border: 1px solid rgba(96, 165, 250, 0.44);
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28);
        }
        body.live-update-mode #st-float-toolbar.compact .exit:hover {
            background: #2563eb;
            box-shadow: 0 10px 26px rgba(59, 130, 246, 0.34);
        }
        @media (min-width: 768px) {
            #st-float-toolbar {
                position: fixed;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                flex-direction: row;
                align-items: center;
                padding: 8px 12px;
                gap: 8px;
                background: rgba(0, 0, 0, 0.75);
                backdrop-filter: blur(12px) saturate(1.1);
                -webkit-backdrop-filter: blur(12px) saturate(1.1);
                border-radius: 12px 12px 0 0;
                border: 1px solid rgba(255,255,255,0.08);
                box-shadow: 0 12px 32px rgba(0,0,0,0.28);
                z-index: 100200;
                transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
            }
            #st-float-toolbar:not(.compact) {
                gap: 4px;
                padding: 5px 6px;
            }
            #st-float-toolbar:hover {
                background: rgba(0, 0, 0, 0.92);
                box-shadow: 0 16px 38px rgba(0,0,0,0.38);
            }
            #st-float-toolbar button {
                min-width: 28px;
                width: 28px;
                height: 28px;
                padding: 0;
                border-radius: 4px;
            }
            #st-float-edit-container[data-toolbar-position="top"] #st-float-toolbar {
                top: calc(var(--st-admin-bar-height, 0px) + var(--st-wp-admin-bar-height, 0px));
                bottom: auto;
                right: 0;
                left: auto;
                transform: none;
                border-radius: 0 0 0 12px;
            }
            #st-float-edit-container[data-toolbar-position="bottom"] #st-float-toolbar,
            #st-float-edit-container:not([data-toolbar-position]) #st-float-toolbar {
                top: auto;
                bottom: 0;
                border-radius: 12px 12px 0 0;
            }
        }
        @media (max-width: 767px) {
            #st-float-toolbar {
                background: rgba(0, 0, 0, 0.75);
                backdrop-filter: blur(12px) saturate(1.1);
                -webkit-backdrop-filter: blur(12px) saturate(1.1);
                color: #f8fafc;
                border: 1px solid rgba(255,255,255,0.08);
                box-shadow: 0 12px 32px rgba(0,0,0,0.28);
            }
            #st-float-toolbar:hover {
                background: rgba(0, 0, 0, 0.92);
            }
            #st-float-toolbar.compact {
                background: rgba(0, 0, 0, 0.75);
                color: #f8fafc;
                border: 1px solid rgba(255,255,255,0.08);
            }
            #st-float-toolbar.compact:hover {
                background: rgba(0, 0, 0, 0.92);
            }
            #st-float-toolbar.compact .settings-btn {
                color: #f8fafc;
                background: rgba(255,255,255,0.1);
                border-color: rgba(255,255,255,0.15);
            }
            #st-float-toolbar.collapsed {
                background: rgba(0, 0, 0, 0.75);
                border: 1px solid rgba(255,255,255,0.08);
            }
            #st-float-toolbar button {
                color: #f8fafc;
                background: rgba(255,255,255,0.12);
                border-color: rgba(255,255,255,0.14);
            }
            #st-float-toolbar button svg {
                color: #f8fafc;
            }
        }
        #st-float-toolbar.collapsed button:not(.toolbar-collapse-btn):not(.settings-btn) {
            display: none !important;
        }
        #st-float-toolbar.collapsed {
            gap: 0;
            padding: 6px 10px;
            width: auto;
            min-width: 0;
            background: rgba(0, 0, 0, 0.28);
            border-radius: 12px 12px 0 0;
            border-width: 0;
            box-shadow: none;
            justify-content: flex-end;
        }
        #st-float-edit-container #st-float-toolbar.collapsed {
            position: fixed;
            left: auto !important;
            right: 12px !important;
            bottom: 0 !important;
            transform: none !important;
        }
        #st-float-edit-container[data-toolbar-position="top"] #st-float-toolbar.collapsed {
            top: 0 !important;
            bottom: auto !important;
            border-radius: 0 0 12px 12px;
        }
        #st-float-edit-container[data-toolbar-position="bottom"] #st-float-toolbar.collapsed,
        #st-float-edit-container:not([data-toolbar-position]) #st-float-toolbar.collapsed {
            top: auto !important;
            bottom: 0 !important;
            border-radius: 12px 12px 0 0;
        }
        #st-float-toolbar.collapsed button {
            min-width: auto;
            width: 24px;
            height: 24px;
            padding: 0;
        }
        #st-float-toolbar button {
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 4px;
            min-width: 28px;
            width: 28px;
            height: 28px;
            padding: 0;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            color: #f8fafc;
            text-align: center;
            background: rgba(255,255,255,0.12);
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
            transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease, border-color 0.15s ease;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            line-height: 1;
        }
        /* Settings icon button in full toolbar: square-ish with light rounding to match the pair aesthetic */
        #st-float-toolbar .settings-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            min-width: 28px;
            height: 28px;
            padding: 0;
            border-radius: 4px;
            background: rgba(255,255,255,0.14);
            border: 1px solid rgba(255,255,255,0.14);
            color: #f8fafc;
        }
        #st-float-toolbar .settings-btn svg {
            color: inherit;
            width: 15px;
            height: 15px;
        }
        #st-float-toolbar .settings-btn:hover {
            background: rgba(255,255,255,0.2);
        }
        #st-float-toolbar .compact-edit-btn {
            background: rgba(255,255,255,0.14);
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 4px;
            padding: 0;
            width: 28px;
            height: 28px;
            min-width: 28px;
            color: #f8fafc;
        }
        #st-float-toolbar button:active { transform: scale(0.95); }
        #st-float-toolbar .toolbar-collapse-btn {
            background: rgba(255,255,255,0.14);
            text-align: center;
            width: 12px;
            height: 24px;
            border-radius: 4px;
            line-height: 1;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
            border: 1px solid rgba(255,255,255,0.14);
            color: #f8fafc;
            cursor: grab;
        }
        #st-float-toolbar .toolbar-collapse-btn:hover { background: rgba(255,255,255,0.22); color: #fff; }
        #st-float-toolbar .toolbar-collapse-btn:active { cursor: grabbing; }
        #st-float-toolbar .toolbar-collapse-btn .toolbar-collapse-icon { display: none; }
        #st-float-toolbar.collapsed {
            padding: 6px 10px;
            gap: 0;
            background: rgba(0, 0, 0, 0.42);
            border-radius: 12px 12px 0 0;
            border-color: rgba(255,255,255,0.08);
            box-shadow: 0 10px 24px rgba(0,0,0,0.18);
        }
        #st-float-edit-container[data-toolbar-position="top"] #st-float-toolbar.collapsed {
            border-radius: 0 0 12px 12px;
        }
        #st-float-edit-container[data-toolbar-position="bottom"] #st-float-toolbar.collapsed,
        #st-float-edit-container:not([data-toolbar-position]) #st-float-toolbar.collapsed {
            border-radius: 12px 12px 0 0;
        }
        #st-float-toolbar.collapsed button {
            min-width: auto;
            width: 24px;
            height: 24px;
            padding: 0;
        }
        #st-float-toolbar.collapsed .settings-btn {
            display: inline-flex !important;
            width: 24px;
            height: 24px;
            min-width: 24px;
        }
        #st-float-toolbar.collapsed .toolbar-collapse-btn {
            width: 12px;
            height: 24px;
            border-radius: 4px;
        }
        #st-float-toolbar .add-btn { background: rgba(255,255,255,0.14); }
        #st-float-toolbar .add-btn:hover { background: rgba(255,255,255,0.22); }
        #st-float-toolbar .theme-btn, #st-float-toolbar .content-btn { background: rgba(255,255,255,0.14); }
        #st-float-toolbar .theme-btn:hover, #st-float-toolbar .content-btn:hover { background: rgba(255,255,255,0.22); }
        #st-float-toolbar:not(.compact) .st-toolbar-primary-btn {
            min-width: 28px;
            width: 28px;
            height: 28px;
            font-size: 14px;
            background: rgba(255,255,255,0.22);
            border-color: rgba(255,255,255,0.28);
            box-shadow: 0 6px 18px rgba(0,0,0,0.22);
        }
        #st-float-toolbar:not(.compact) .st-toolbar-primary-btn:hover {
            background: rgba(255,255,255,0.34);
            box-shadow: 0 8px 24px rgba(0,0,0,0.28);
            transform: scale(1.1);
        }
        #st-float-toolbar:not(.compact) .st-toolbar-primary-btn:active {
            transform: scale(0.95);
        }
        #st-float-toolbar:not(.compact) button:not(.st-toolbar-primary-btn):not(.toolbar-collapse-btn):not(.toolbar-drag-handle):hover {
            transform: scale(1.1);
        }
        #st-float-toolbar:not(.compact) button:not(.st-toolbar-primary-btn):not(.toolbar-collapse-btn):not(.toolbar-drag-handle):active {
            transform: scale(0.95);
        }
        #st-float-toolbar .save { background: rgba(255,255,255,0.14); opacity: 0.55; }
        #st-float-toolbar .save:hover { background: rgba(255,255,255,0.22); opacity: 0.8; }
        #st-float-toolbar:not(.compact) .save { opacity: 0.85; }
        #st-float-toolbar .save.st-dirty { background:#f97316; opacity:1; animation: st-save-pulse 1.6s ease-in-out infinite; border-color:#ea580c; color:#fff; box-shadow:0 8px 22px rgba(249,115,22,0.34); }
        #st-float-toolbar .save.st-dirty:hover { background:#ea580c; animation:none; }
        #st-float-toolbar.compact .save.st-dirty { background:#2563eb; border-color:#1d4ed8; box-shadow:0 8px 22px rgba(37,99,235,0.34); }
        #st-float-toolbar.compact .save.st-dirty:hover { background:#1d4ed8; }
        @keyframes st-save-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.32); } 50% { box-shadow: 0 0 0 5px rgba(0,0,0,0); } }
        #st-float-toolbar .exit { background: #3b82f6; border-color: rgba(96, 165, 250, 0.44); box-shadow: 0 4px 14px rgba(59, 130, 246, 0.28); }
        #st-float-toolbar .exit:hover { background: #2563eb; box-shadow: 0 6px 18px rgba(59, 130, 246, 0.34); }
        #st-float-toolbar .undo-btn,
        #st-float-toolbar .redo-btn { background: rgba(255,255,255,0.14); }
        #st-float-toolbar .undo-btn:hover:not(:disabled),
        #st-float-toolbar .redo-btn:hover:not(:disabled) { background: rgba(255,255,255,0.22); }
        #st-float-toolbar .history-btn { background: rgba(255,255,255,0.14); }
        #st-float-toolbar .history-btn:hover { background: rgba(255,255,255,0.22); }
        /* History group button + submenu */
        #st-float-toolbar .history-group-btn {
            background: rgba(255,255,255,0.14);
            border: 1px solid rgba(255,255,255,0.14);
            border-radius: 4px;
            padding: 0;
            color: #f8fafc;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        #st-float-toolbar .history-group-btn:hover { background: rgba(255,255,255,0.22); }
        #st-float-toolbar .history-group-btn:active { transform: scale(0.95); }
        .st-toolbar-submenu-divider { height: 1px; background: rgba(255,255,255,0.12); margin: 4px 8px; border: none; }
        .st-toolbar-submenu {
            position: fixed;
            bottom: 60px;
            left: 50%;
            transform: translateX(-50%);
            background: #1e293b;
            border: 1px solid rgba(255,255,255,0.15);
            border-radius: 8px;
            box-shadow: 0 10px 32px rgba(0,0,0,0.4);
            padding: 4px;
            display: none;
            flex-direction: column;
            gap: 1px;
            z-index: 100250;
            min-width: 160px;
        }
        .st-toolbar-submenu.open { display: flex; }
        @keyframes st-submenu-slide-right {
            from { opacity: 0; transform: translateX(-100%); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes st-submenu-slide-left {
            from { opacity: 0; transform: translateX(100%); }
            to { opacity: 1; transform: translateX(0); }
        }
        @keyframes st-submenu-slide-up {
            from { opacity: 0; transform: translateY(100%); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes st-submenu-slide-down {
            from { opacity: 0; transform: translateY(-100%); }
            to { opacity: 1; transform: translateY(0); }
        }
        .st-toolbar-submenu.slide-right { animation: st-submenu-slide-right 0.18s ease-out; }
        .st-toolbar-submenu.slide-left { animation: st-submenu-slide-left 0.18s ease-out; }
        .st-toolbar-submenu.slide-up { animation: st-submenu-slide-up 0.18s ease-out; }
        .st-toolbar-submenu.slide-down { animation: st-submenu-slide-down 0.18s ease-out; }
        #st-edit-row-add-dropdown.slide-up { animation: st-submenu-slide-up 0.18s ease-out; }
        #st-edit-row-add-dropdown.slide-down { animation: st-submenu-slide-down 0.18s ease-out; }
        #st-edit-row-add-dropdown.slide-left { animation: st-submenu-slide-left 0.18s ease-out; }
        #st-edit-row-add-dropdown.slide-right { animation: st-submenu-slide-right 0.18s ease-out; }
        .st-toolbar-submenu-item {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 7px 10px;
            border: none;
            background: transparent;
            color: #e2e8f0;
            font-size: 12px;
            font-weight: 500;
            border-radius: 5px;
            cursor: pointer;
            text-align: left;
            width: 100%;
        }
        .st-toolbar-submenu-item:hover { background: rgba(255,255,255,0.1); }
        .st-toolbar-submenu-item:disabled { opacity: 0.4; cursor: not-allowed; }
        .st-toolbar-submenu-item:disabled:hover { background: transparent; }
        .st-toolbar-submenu-item .submenu-icon { width: 15px; height: 15px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
        .st-toolbar-submenu-item .submenu-label { flex: 1; }
        .st-toolbar-submenu-item .submenu-shortcut { font-size: 10px; color: rgba(255,255,255,0.4); }
        /* Align Globe/exit button correctly inside the toolbar */
        #st-float-toolbar .exit {
            transform: none;
            font-size: 14px;
            line-height: 1;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            width: 28px;
            min-width: 28px;
            height: 28px;
            border-radius: 4px;
            border: 1px solid rgba(255,255,255,0.14);
            box-shadow: 0 4px 14px rgba(0,0,0,0.18);
        }
        #st-float-toolbar .exit-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            line-height: 1;
            transform: translateY(0);
        }
        #st-float-toolbar .exit:active {
            transform: scale(0.95);
        }

        /* Mobile: horizontal toolbar. Keep every control available by scrolling sideways. */
        @media (max-width: 767px) {
            #st-float-edit-container {
                flex-direction: column;
                align-items: center;
                gap: 8px;
                left: 0;
                right: 0;
                top: auto;
                bottom: auto;
                width: 100%;
                transform: none;
                pointer-events: none;
            }
            #st-float-toolbar {
                position: fixed;
                bottom: 0;
                left: 50%;
                transform: translateX(-50%);
                flex-direction: row;
                align-items: center;
                min-width: unset;
                gap: 6px;
                padding: 6px 8px;
                border-radius: 12px;
                background: rgba(0, 0, 0, 0.62);
                backdrop-filter: blur(12px) saturate(1.1);
                -webkit-backdrop-filter: blur(12px) saturate(1.1);
                border: 1px solid rgba(255,255,255,0.08);
                box-shadow: 0 12px 32px rgba(0,0,0,0.28);
                pointer-events: auto;
                width: calc(100vw - 16px);
                max-width: calc(100vw - 16px);
                overflow-x: auto;
                overflow-y: hidden;
                flex-wrap: nowrap;
                touch-action: pan-x;
                overscroll-behavior-x: contain;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
            }
            #st-float-toolbar::-webkit-scrollbar {
                display: none;
            }
            #st-float-toolbar > * {
                flex: 0 0 auto;
            }
            #st-float-edit-container[data-toolbar-position="top"] #st-float-toolbar {
                top: calc(var(--st-admin-bar-height, 0px) + var(--st-wp-admin-bar-height, 0px) + 8px + env(safe-area-inset-top, 0px));
                bottom: auto;
                border-radius: 12px;
            }
            #st-float-edit-container[data-toolbar-position="bottom"] #st-float-toolbar,
            #st-float-edit-container:not([data-toolbar-position]) #st-float-toolbar {
                top: auto;
                bottom: calc(8px + env(safe-area-inset-bottom, 0px));
                border-radius: 12px;
            }
            #st-float-edit-container[data-toolbar-position="top"] #st-float-toolbar.collapsed {
                top: calc(8px + env(safe-area-inset-top, 0px)) !important;
                bottom: auto !important;
                border-radius: 12px;
            }
            #st-float-edit-container[data-toolbar-position="bottom"] #st-float-toolbar.collapsed,
            #st-float-edit-container:not([data-toolbar-position]) #st-float-toolbar.collapsed {
                top: auto !important;
                bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
                border-radius: 12px;
            }
            #st-float-edit-actions {
                gap: 6px;
            }
            #st-floating-mode-btn {
                width: 36px;
                height: 36px;
                padding: 0;
                font-size: 16px;
            }
            #st-float-toolbar .toolbar-collapse-btn {
                order: 99;
                align-self: center;
                width: 14px;
                height: 32px;
                padding: 0;
                border-radius: 4px;
            }
            #st-float-toolbar button:not(.toolbar-collapse-btn):not(.resume-btn) {
                border-radius: 50%;
            }
            #st-float-toolbar .toolbar-collapse-btn svg {
                width: 5px;
                height: 16px;
            }
            #st-float-toolbar button:not(.resume-btn) {
                width: 28px;
                height: 28px;
                font-size: 13px;
            }
            #st-float-toolbar:not(.compact) .st-toolbar-primary-btn {
                min-width: 32px;
                width: 32px;
                height: 32px;
                font-size: 15px;
            }
            #st-float-toolbar:not(.compact) .st-toolbar-primary-btn svg {
                width: 16px;
                height: 16px;
            }
            #st-float-toolbar .exit {
                width: 28px;
                min-width: 28px;
                height: 28px;
            }
            #st-float-toolbar .settings-btn {
                width: 28px;
                min-width: 28px;
                height: 28px;
            }
            #st-float-toolbar .settings-btn svg {
                width: 15px;
                height: 15px;
            }
            #st-float-toolbar .command-btn {
                width: 28px;
                min-width: 28px;
                height: 28px;
            }
            #st-float-toolbar .toolbar-collapse-btn {
                width: 12px;
                height: 28px;
            }
            #st-float-toolbar .resume-btn {
                width: auto;
                min-width: 96px;
                height: 36px;
                padding: 0 16px;
                font-size: 13px;
            }
            #st-floating-edit-btn {
                width: 54px;
                height: 54px;
                font-size: 32px;
            }
            #st-float-toolbar.compact {
                gap: 6px;
                padding: 6px 8px;
            }
            #st-float-toolbar.compact .resume-btn {
                width: 28px;
                height: 28px;
                min-width: 28px;
            }
            #st-float-toolbar.compact .settings-btn {
                width: 28px;
                height: 28px;
                min-width: 28px;
                margin-left: 0;
            }
            #st-float-toolbar.compact .exit {
                width: 28px;
                min-width: 28px;
                height: 28px;
            }
        }

        /* Draggable floating toolbar enhancements */
        #st-float-toolbar.user-positioned {
            left: auto !important;
            right: auto !important;
            transform: none !important;
            top: auto !important;
            bottom: auto !important;
        }
        #st-float-toolbar.user-positioned:not(.vertical):not([data-snap="top"]):not([data-snap="bottom"]):not(.corner-top):not(.corner-bottom):not(.corner-left):not(.corner-right) {
            border-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="top"] {
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
        }
        #st-float-toolbar.user-positioned[data-snap="top"]:not(.corner-left):not(.corner-right) {
            border-bottom-left-radius: 6px !important;
            border-bottom-right-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="top"].corner-left {
            border-bottom-right-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="top"].corner-right {
            border-bottom-left-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="bottom"] {
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        #st-float-toolbar.user-positioned[data-snap="bottom"]:not(.corner-left):not(.corner-right) {
            border-top-left-radius: 6px !important;
            border-top-right-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="bottom"].corner-left {
            border-top-right-radius: 6px !important;
        }
        #st-float-toolbar.user-positioned[data-snap="bottom"].corner-right {
            border-top-left-radius: 6px !important;
        }
        #st-float-toolbar {
            -webkit-user-select: none !important;
            user-select: none !important;
        }
        #st-float-toolbar:not(.dragging) {
            transition: left 0.2s cubic-bezier(0.2,0,0.2,1), right 0.2s cubic-bezier(0.2,0,0.2,1), top 0.2s cubic-bezier(0.2,0,0.2,1), bottom 0.2s cubic-bezier(0.2,0,0.2,1);
        }
        #st-float-toolbar.dragging {
            transition: none !important;
            cursor: grabbing;
        }
        #st-float-toolbar.snap-anim {
            transition: left 0.15s ease-out, right 0.15s ease-out, top 0.15s ease-out, bottom 0.15s ease-out !important;
        }
        #st-float-toolbar.vertical {
            flex-direction: column !important;
            align-items: stretch !important;
            border-radius: 6px !important;
            padding: 5px 4px !important;
            gap: 4px !important;
        }
        #st-float-toolbar.vertical[data-snap="right"] {
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        #st-float-toolbar.vertical[data-snap="left"] {
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }
        #st-float-toolbar.corner-top {
            border-top-left-radius: 0 !important;
            border-top-right-radius: 0 !important;
        }
        #st-float-toolbar.corner-bottom {
            border-bottom-left-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        #st-float-toolbar.corner-left {
            border-top-left-radius: 0 !important;
            border-bottom-left-radius: 0 !important;
        }
        #st-float-toolbar.corner-right {
            border-top-right-radius: 0 !important;
            border-bottom-right-radius: 0 !important;
        }
        #st-float-toolbar.vertical button {
            width: 28px !important;
            min-width: 28px !important;
            height: 28px !important;
            padding: 0 !important;
            border-radius: 4px !important;
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
        }
        #st-float-toolbar.vertical.compact .resume-btn,
        #st-float-toolbar.vertical.compact .settings-btn {
            width: 28px !important;
            min-width: 28px !important;
            height: 28px !important;
            padding: 0 !important;
            margin: 0 !important;
        }
        #st-float-toolbar .toolbar-drag-handle {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 14px;
            min-width: 14px;
            height: 24px;
            padding: 0;
            margin: 0;
            border: none;
            border-radius: 0;
            background: transparent;
            color: rgba(255,255,255,0.45);
            cursor: grab;
            font-size: 12px;
            line-height: 1;
            letter-spacing: -1px;
        }
        #st-float-toolbar.vertical .toolbar-drag-handle {
            width: 24px !important;
            min-width: 24px !important;
            height: 14px !important;
            padding: 0 !important;
            margin: 0 0 4px 0 !important;
            align-self: center !important;
        }
        #st-float-toolbar.vertical .toolbar-drag-handle svg {
            transform: rotate(90deg);
        }
        #st-float-toolbar .toolbar-drag-handle:hover { background: transparent; color: rgba(255,255,255,0.8); }
        #st-float-toolbar .toolbar-drag-handle:active { cursor: grabbing; }
        #st-float-toolbar .toolbar-drag-handle svg { width: 12px; height: 12px; }
        #st-float-toolbar.collapsed .toolbar-drag-handle { display: none !important; }
        #st-float-toolbar.compact .toolbar-drag-handle {
            display: inline-flex !important;
            width: 14px;
            min-width: 14px;
            height: 24px;
            margin: 0;
            opacity: 0.5;
            color: #f8fafc !important;
            background: transparent !important;
            border: none !important;
            box-shadow: none !important;
        }
        #st-float-toolbar.compact .toolbar-drag-handle:hover { opacity: 1; color: #f8fafc !important; background: transparent !important; }
        #st-float-toolbar-drag-guide {
            position: fixed;
            top: 0; bottom: 0;
            left: 50%;
            width: 2px;
            transform: translateX(-50%);
            background: hotpink;
            opacity: 0;
            pointer-events: none;
            z-index: 100200;
            transition: opacity 0.12s ease;
        }
        #st-float-toolbar-drag-guide.active { opacity: 0; }
        #st-float-toolbar .toolbar-drag-handle { touch-action: none; }
        #st-float-toolbar.dragging { touch-action: none; }

        /* Product detail fullscreen view */
        #st-product-detail-popup {
            display: none; position: fixed; inset: 0; z-index: 200950;
            background: #fff; overflow-y: auto;
            scrollbar-width: none; -ms-overflow-style: none;
        }
        #st-product-detail-popup::-webkit-scrollbar { display: none; }
        #st-product-detail-popup.active { display: block; }
        #st-product-detail-popup .st-pdp-card {
            background: #fff; width: min(var(--popup-card-w, 100%), 100%); margin: 0 auto;
            min-height: 100%; display: flex; flex-direction: column; position: relative;
        }
        #st-product-detail-popup .st-pdp-float-toolbar {
            position: absolute; top: 8px; right: 16px; z-index: 4;
            display: flex; align-items: center; padding: 4px;
            border: 1px solid #dbe3ef; border-radius: 10px;
            background: rgba(255,255,255,.96); box-shadow: 0 8px 20px rgba(15,23,42,.14);
            opacity: 0; transform: translateY(-7px); pointer-events: none;
            transition: opacity .16s ease, transform .16s ease;
        }
        #st-product-detail-popup .st-pdp-card:hover .st-pdp-float-toolbar,
        #st-product-detail-popup .st-pdp-card:focus-within .st-pdp-float-toolbar {
            opacity: 1; transform: translateY(0); pointer-events: auto;
        }
        #st-product-detail-popup .st-pdp-edit-btn {
            display: inline-flex; align-items: center; gap: 5px; border: 0;
            border-radius: 7px; padding: 6px 9px; color: #1d4ed8;
            background: #eff6ff; font: 600 12px/1.2 inherit; cursor: pointer;
        }
        #st-product-detail-popup .st-pdp-edit-btn:hover { background: #dbeafe; }
        #st-product-detail-popup .st-pdp-edit-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
        #st-product-detail-popup .st-pdp-back-bar {
            display: flex; align-items: center; gap: 8px;
            padding: 10px 16px; border-bottom: 1px solid #e5e7eb;
            position: sticky; top: 0; left: 0; right: 0; background: #fff; z-index: 2; box-sizing: border-box;
            transition: transform 0.3s ease;
        }
        #st-product-detail-popup .st-pdp-back-bar.hidden {
            transform: translateY(-100%);
        }
        #st-product-detail-popup .st-pdp-img {
            max-width: 800px; width: 100%; object-fit: contain;
            display: block; cursor: pointer; background: #f8fafc; margin: 0 auto;
        }
        #st-product-detail-popup .st-pdp-body { padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; max-width: 800px; margin: 0 auto; width: 100%; box-sizing: border-box; }
        #st-product-detail-popup .st-pdp-title { font-size: 1.15rem; font-weight: 600; color: #111827; margin: 0; }
        #st-product-detail-popup .st-pdp-price { font-size: 1.25rem; font-weight: 600; color: var(--st-website-primary-color, #f97316); }
        #st-product-detail-popup .st-pdp-desc { font-size: 0.93rem; color: #4b5563; line-height: 1.6; }
        #st-product-detail-popup .st-pdp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
        #st-product-detail-popup .st-pdp-close {
            border: none; background: transparent; color: #374151;
            font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 6px;
            padding: 6px 4px; border-radius: 8px; font-weight: 500; line-height: 1;
        }
        #st-product-detail-popup .st-pdp-close:hover { background: #f3f4f6; }
        .st-detail-close-x {
            margin-left: auto; border: none; background: transparent; color: #6b7280;
            font-size: 26px; cursor: pointer; line-height: 1; padding: 2px 8px;
            border-radius: 8px; font-weight: 400; flex: 0 0 auto;
        }
        .st-detail-close-x:hover { background: #f3f4f6; color: #1f2937; }
        .st-product-detail-link {
            display: inline-block; align-self: flex-start; margin-top: 0; font-size: 12px; font-weight: 400;
            color: #6b7280; text-decoration: underline; text-underline-offset: 2px;
            cursor: pointer; background: none; border: none; padding: 0; text-align: left;
        }
        .st-product-detail-link:hover { opacity: 0.75; }

        /* Article detail fullscreen view */
        #st-article-detail-popup {
            display: none; position: fixed; inset: 0; z-index: 200950;
            background: #fff; overflow-y: auto;
            scrollbar-width: none; -ms-overflow-style: none;
        }
        #st-article-detail-popup::-webkit-scrollbar { display: none; }
        #st-article-detail-popup.active { display: block; }
        #st-article-detail-popup .st-adp-card {
            background: #fff; width: calc(100% - var(--st-layout-padding-left, 24px) - var(--st-layout-padding-right, 24px)); margin: 0 var(--st-layout-padding-right, 24px) 0 var(--st-layout-padding-left, 24px);
            min-height: 100%; display: flex; flex-direction: column; overflow: hidden;
        }
        #st-article-detail-popup .st-adp-back-bar {
            display: flex; align-items: center; gap: 8px;
            padding: 10px 16px; border-bottom: 1px solid #e5e7eb;
            position: sticky; top: 0; background: #fff; z-index: 2;
        }
        #st-article-detail-popup .st-adp-img-wrap {
            width: 100%; aspect-ratio: 16/9; background: #f1f5f9;
            display: flex; align-items: center; justify-content: center; overflow: hidden;
        }
        #st-article-detail-popup .st-adp-img {
            width: 100%; height: 100%; object-fit: cover; display: block;
        }
        #st-article-detail-popup .st-adp-body {
            padding: 20px 24px 44px; display: flex; flex-direction: column; gap: 12px; flex: 1; max-width: none; margin: 0; width: 100%; box-sizing: border-box;
        }
        #st-article-detail-popup .st-adp-meta {
            display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
        }
        #st-article-detail-popup .st-adp-cat {
            font-size: 12px; font-weight: 600; color: #3b82f6;
            background: #eff6ff; padding: 2px 10px; border-radius: 999px;
        }
        #st-article-detail-popup .st-adp-date { font-size: 12px; color: #94a3b8; }
        #st-article-detail-popup .st-adp-title {
            font-size: 1.2rem; font-weight: 700; color: #111827; margin: 0; line-height: 1.35;
        }
        #st-article-detail-popup .st-adp-excerpt {
            font-size: 0.95rem; color: #6b7280; line-height: 1.65; margin: 0;
            font-style: italic; border-left: 3px solid #e5e7eb; padding-left: 12px;
        }
        #st-article-detail-popup .st-adp-content {
            font-size: 0.93rem; color: #374151; line-height: 1.75;
        }
        #st-article-detail-popup .st-adp-close {
            border: none; background: transparent; color: #374151;
            font-size: 15px; cursor: pointer; display: flex; align-items: center; gap: 6px;
            padding: 6px 4px; border-radius: 8px; font-weight: 500; line-height: 1;
        }
        #st-article-detail-popup .st-adp-close:hover { background: #f3f4f6; }
        .st-article-detail-link {
            display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 400;
            color: #6b7280; text-decoration: underline; text-underline-offset: 2px;
            cursor: pointer; background: none; border: none; padding: 0; text-align: left;
        }
        .st-article-detail-link:hover { opacity: 0.75; }

        /* Framed mode: card fills the popup; back-bar + body get side padding */
        .st-detail-popup-framed .st-pdp-card {
            width: 100% !important;
            margin: 0 !important;
        }
        .st-detail-popup-framed .st-adp-card {
            width: calc(100% - var(--st-layout-padding-left, 24px) - var(--st-layout-padding-right, 24px)) !important;
            margin: 0 var(--st-layout-padding-right, 24px) 0 var(--st-layout-padding-left, 24px) !important;
        }
        .st-detail-popup-framed .st-pdp-body,
        .st-detail-popup-framed .st-adp-body    { max-width: none; }
        #st-article-detail-popup .st-adp-back-bar { border-bottom: 0 !important; }

        #st-menu.hidden { display: none !important; }
        #st-menu.align-center { justify-content: center; }
        #st-menu.align-right { justify-content: flex-end; }
        @media (max-width: 767px) {
            #st-menu:not(.mode-stack) {
                justify-content: flex-start !important;
                min-width: 0 !important;
                max-width: 100% !important;
            }
            #st-menu:not(.mode-stack) .st-menu-inner {
                width: max-content !important;
                max-width: none !important;
                min-width: max-content !important;
                flex: 0 0 auto !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                justify-content: flex-start !important;
            }
        }
        #st-menu.mode-stack { flex-direction: column; align-items: stretch; height: auto; white-space: normal; overflow-x: hidden; }
        #st-menu.mode-stack .st-menu-item { display: block; width: 100%; border-bottom: 1px solid #eee; text-align: center; }
        #st-menu.mode-stack .st-menu-item:last-child { border-bottom-color: transparent; }
        #st-menu::-webkit-scrollbar { display: none; }
        .st-menu-item { padding: 0 15px; margin: var(--st-menu-item-y-margin, 4px) 0; line-height: var(--st-menu-item-line-height, 36px); font-size: var(--st-menu-font-size, 11px); font-weight: var(--st-menu-font-weight, 600); color: var(--st-menu-text-color, #999); text-decoration-line: underline; text-decoration-thickness: 2px; text-decoration-color: transparent; text-underline-offset: 7px; cursor: pointer; border: 1px solid transparent; border-bottom: none; transition: color 0.2s ease, text-decoration-color 0.2s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease; display: inline-block; flex: 0 0 auto; text-transform: var(--st-menu-text-transform, uppercase); touch-action: manipulation; }
        #street-bar[data-header-theme="orbit"] #st-menu .st-menu-item:not(.active) { background:transparent !important; background-color:transparent !important; color:#ffffff !important; opacity:1 !important; }
        #street-bar[data-header-theme="orbit"] #st-menu .st-menu-item:not(.active):hover { background:transparent !important; background-color:transparent !important; color:#14532d !important; }
        #street-bar[data-header-theme="orbit"] #st-menu .st-menu-item.active { background:transparent !important; background-color:transparent !important; color:#14532d !important; opacity:1 !important; }
        #st-menu.menu-style-default .st-menu-item:hover { background: #f3f4f6; color: var(--st-website-primary-color, var(--st-menu-hover-color, #666)); text-decoration-color: transparent; }
        #st-menu.menu-style-default .st-menu-item.active { background: transparent; color: var(--st-website-primary-color, var(--st-menu-active-color, #666)); text-decoration-color: transparent; font-weight: 600; }
        #st-menu.menu-style-default .st-menu-item-group.active-branch > .st-menu-parent-wrap .st-menu-item { background: transparent; color: var(--st-website-primary-color, var(--st-menu-active-color, #666)); text-decoration-color: transparent; font-weight: 600; }
        #st-menu.menu-style-default .st-menu-subitem.active { background: transparent; color: var(--st-website-primary-color, var(--st-menu-submenu-active-color, #666)); text-decoration-color: transparent; font-weight: 600; }
        #st-menu .st-menu-item:hover { color: var(--st-menu-hover-color, #666); text-decoration-color: var(--st-menu-hover-color, #666); }
        .st-menu-item.active { color: var(--st-menu-active-color, #666); text-decoration-color: var(--st-menu-active-color, #666); font-weight: var(--st-menu-font-weight, 600); }
        .st-menu-item-group { position: relative; display: inline-flex; align-items: center; }
        .st-menu-parent-wrap { display: inline-flex; align-items: center; gap: 0; }
        .st-menu-submenu-toggle { appearance: none; border: none; background: transparent; color: var(--st-menu-text-color, #999); cursor: pointer; padding: 0 2px 0 0; margin: 2px 0 0 -11px; min-width: 19px; height: var(--st-menu-item-line-height, 36px); line-height: 1; font-size: calc(var(--st-menu-font-size, 11px) + 6px); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; touch-action: manipulation; position: relative; z-index: 2; -webkit-tap-highlight-color: transparent; }
        .st-menu-submenu-toggle:hover,
        .st-menu-item-group.active-branch > .st-menu-parent-wrap .st-menu-submenu-toggle { color: var(--st-menu-hover-color, #666); }
        .st-menu-item-group.active-branch > .st-menu-parent-wrap .st-menu-item { color: var(--st-menu-active-color, #666); text-decoration-color: var(--st-menu-active-color, #666); }
        .st-menu-subitem.active { color: var(--st-menu-submenu-active-color, var(--st-menu-active-color, #666)); text-decoration-color: var(--st-menu-submenu-active-color, var(--st-menu-active-color, #666)); }
        .st-menu-item-group { position: relative; }
        .st-menu-item-group:focus-within,
        .st-menu-item-group.open { z-index: 100155; }
        #st-menu:has(.st-menu-item-group:focus-within),
        #st-menu:has(.st-menu-item-group.open) { z-index: 100155 !important; }
        .st-menu-submenu { position: absolute; top: calc(100% + 4px); left: 0; min-width: 180px; padding: 8px; background: #fff; border: 1px solid rgba(148,163,184,0.22); border-radius: 12px; box-shadow: 0 16px 36px rgba(15,23,42,0.16); display: none; flex-direction: column; gap: 4px; z-index: 100155; color: var(--st-menu-submenu-text-color, #0f172a); }
        .st-menu-item-group:focus-within .st-menu-submenu,
        .st-menu-item-group.open .st-menu-submenu { display: flex; }
        @media (hover: hover) {
            .st-menu-item-group:hover { z-index: 100155; }
            #st-menu:has(.st-menu-item-group:hover) { z-index: 100155 !important; }
            .st-menu-item-group:hover .st-menu-submenu { display: flex; }
        }
        .st-menu-subitem { display: block; padding: 9px 12px; border-radius: 8px; color: var(--st-menu-submenu-text-color, #0f172a); text-decoration: none; font-size: var(--st-menu-font-size, 11px); font-weight: 600; white-space: nowrap; text-transform: var(--st-menu-text-transform, uppercase); }
        .st-menu-subitem:hover { background: rgba(15,23,42,0.06); color: var(--st-menu-submenu-hover-color, var(--st-menu-hover-color, #666)); }
        .st-breadcrumb { display:flex;align-items:center;gap:6px;overflow-x:auto;padding:3px 0 9px;margin:-4px 0 22px;border-bottom:1px solid #dbe3ee;scrollbar-width:thin; }
        .st-breadcrumb-item { flex:0 0 auto;padding:6px 10px;color:#475569;text-decoration:none;font-size:calc(var(--st-menu-font-size, 11px) - 1px);font-weight:600;text-transform:var(--st-menu-text-transform, uppercase); }
        .st-breadcrumb-link { color:#475569;text-decoration:none; }
        .st-breadcrumb-link:hover { color:#0f172a;text-decoration:underline; }
        .st-breadcrumb-text { color:#64748b; }
        .st-breadcrumb-current { color:#0f172a;font-weight:700; }
        .st-breadcrumb-separator { color:#999;padding:0 2px; }
        #st-menu.mode-stack .st-menu-item-group { display: block; width: 100%; }
        #st-menu.mode-stack .st-menu-parent-wrap { display: flex; width: 100%; justify-content: center; gap: 1px; }
        #st-menu.mode-stack .st-menu-submenu-toggle { padding-right: 0; margin-left: 0; }
        #st-menu.mode-stack .st-menu-submenu { position: static; display: flex; min-width: 0; padding: 0 0 8px; border: none; box-shadow: none; background: transparent; gap: 0; }
        #st-menu.mode-stack .st-menu-subitem { text-align: center; border-bottom: 1px solid #f1f5f9; color: var(--st-menu-text-color, #999); }
        #st-menu.menu-style-pill { gap: 6px; padding-left: 8px; padding-right: 8px; }
        #st-menu.menu-style-pill .st-menu-item { line-height: var(--st-menu-pill-line-height, 28px); margin: var(--st-menu-pill-y-margin, 4px) 0; padding: 0 14px; border-radius: 999px; text-decoration: none; border: 1px solid transparent; }
        #st-menu.menu-style-pill .st-menu-item:hover { background: color-mix(in srgb, var(--st-menu-hover-color, #666) 12%, transparent); }
        #st-menu.menu-style-pill .st-menu-item.active { background: color-mix(in srgb, var(--st-menu-active-color, #666) 16%, transparent); border-color: color-mix(in srgb, var(--st-menu-active-color, #666) 35%, transparent); }
        #st-menu.menu-style-tab { gap: 4px; padding-left: 8px; padding-right: 8px; align-items: flex-end; }
        #st-menu.menu-style-tab .st-menu-item { line-height: var(--st-menu-tab-line-height, 31px); margin: var(--st-menu-tab-y-margin, 4px) 0 0; padding: 0 14px; border: 1px solid color-mix(in srgb, var(--st-menu-text-color, #999) 24%, transparent); border-bottom-color: transparent; border-radius: 8px 8px 0 0; text-decoration: none; background: color-mix(in srgb, var(--st-menu-text-color, #999) 5%, transparent); }
        #st-menu.menu-style-tab .st-menu-item:hover { border-color: color-mix(in srgb, var(--st-menu-hover-color, #666) 42%, transparent); border-bottom-color: transparent; background: color-mix(in srgb, var(--st-menu-hover-color, #666) 10%, transparent); }
        #st-menu.menu-style-tab .st-menu-item.active { border-color: color-mix(in srgb, var(--st-menu-active-color, #666) 60%, transparent); border-bottom-color: transparent; background: color-mix(in srgb, var(--st-menu-active-color, #666) 13%, transparent); }
        @media (max-width: 1225px) {
            #st-menu.menu-style-tab {
                padding-left: 28px !important;
            }
        }
        .st-menu-edit-btn { position: absolute; top: 4px; right: 10px; width: 34px; height: 34px; border-radius: 999px; border: 1px solid rgba(148,163,184,0.4); background: #fff; color: #334155; font-size: 16px; cursor: pointer; display: none; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,0.08); transition: 0.18s ease; }
        body.live-update-mode .st-menu-edit-btn { display: grid; }
        .st-menu-edit-btn:hover { background: #f8fafc; border-color: rgba(148,163,184,0.75); }
        .st-edit-action-btn { display: none; align-items: center; justify-content: center; }
        body.live-update-mode .st-edit-action-btn { display: inline-flex; }

        /* ── Secondary menu (Flatsome-style top bar) ── */
        .st-secondary-menu { display:none; align-items:center; width:100%; min-height:32px; padding:4px 0; box-sizing:border-box; background:#111827 !important; color:#e5e7eb; font-family:inherit; font-size:12px; z-index:100001 !important; border-bottom:2px solid #ef4444; }
        .st-secondary-menu .st-sec-inner { display:flex; align-items:center; justify-content:space-between; gap:16px; width: var(--st-layout-width, 100%); max-width: var(--st-layout-max-width, none); margin-left: var(--st-layout-margin-left, auto); margin-right: var(--st-layout-margin-right, auto); padding:0; padding-left: var(--st-layout-padding-left, 0); padding-right: var(--st-layout-padding-right, 0); box-sizing:border-box; }
        .st-secondary-menu .st-sec-group { display:flex; align-items:center; gap:16px; }
        .st-secondary-menu .st-sec-group-left { justify-content:flex-start; }
        .st-secondary-menu .st-sec-group-right { justify-content:flex-end; }
        .st-secondary-menu .st-sec-item { color:inherit; text-decoration:none; white-space:nowrap; padding:2px 15px; opacity:.85; transition:opacity .15s; }
        .st-secondary-menu .st-sec-item:hover { opacity:1; }
        .st-secondary-menu a { color:inherit; }
        body.st-sec-pending #st-menu,
        body.st-sec-pending #street-bar,
        body.st-sec-pending .st-secondary-menu { visibility: hidden !important; }

        #st-menu-panel-overlay { position: fixed; inset: 0; z-index: 200002; display: none; background: rgba(0,0,0,0.35); }
        #st-menu-panel { position: fixed; top: 0; left: 0; bottom: auto; width: min(280px, 85vw); height: 100dvh; max-width: 320px; background: #fff; z-index: 200003; box-shadow: none; transform: translateX(-100%); transition: transform 0.25s ease, box-shadow 0.25s ease, visibility 0s linear 0.25s; display: flex; flex-direction: column; overflow-y: auto; visibility: hidden; pointer-events: none; }
        #st-menu-panel.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.18); visibility: visible; pointer-events: auto; transition: transform 0.25s ease, box-shadow 0.25s ease; }
        #st-menu-panel .panel-header { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid #eee; }
        #st-menu-panel .panel-title { font-weight: 600; font-size: 14px; }
        #st-menu-panel .panel-close { border: none; background: #eee; width: 34px; height: 34px; border-radius: 8px; font-size: 18px; cursor: pointer; }
        #st-menu-panel-list { padding: 12px 16px; display: flex; flex-direction: column; gap: 4px; }
        #st-menu-panel-list .st-menu-item { display: block; padding: 12px 10px; border-bottom: 1px solid #f0f0f0; }
        .st-menu-panel-group { display: flex; flex-direction: column; border-bottom: 1px solid #f0f0f0; }
        .st-menu-panel-group .st-menu-item { border-bottom: none; }
        .st-menu-panel-children { display: flex; flex-direction: column; gap: 2px; padding: 0 0 8px 18px; }
        .st-menu-panel-children .st-menu-subitem { padding: 10px; border-radius: 10px; }
        #st-menu-panel .st-menu-panel-group { display: flex; flex-direction: column; width: 100%; }
        #st-menu-panel .st-menu-parent-wrap { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
        #st-menu-panel .st-menu-panel-group .st-menu-submenu { position: static; display: flex; min-width: 0; padding: 0 0 8px 18px; border: none; box-shadow: none; background: transparent; gap: 2px; }
        #st-menu-panel .st-menu-panel-group .st-menu-submenu-toggle { margin: 0; padding: 0; height: auto; }

        .st-section { position: relative; padding: 10px 0; background: transparent; }        .st-section.st-pricing,
        .st-section.st-proof,
        .st-section.st-logos,
        .st-section.st-faq,
        .st-section.st-rail,
        .st-section.st-slider,
        .st-section.st-collection,
        .st-section.st-story,
        .st-section.st-comparison,
        .st-section.st-map,
        .st-section.st-lead,
        .st-section.st-reviews,
        .st-section.st-features,
        .st-section.st-newsletter,
        .st-section.st-countdown,
        .st-section.st-booking,
        .st-section.st-beforeafter,
        .st-section.st-timeline,
        .st-section.st-team,
        .st-section.st-portfolio,
        .st-section.st-calculator,
        .st-section.st-jobs,
        .st-section.st-app {
            width: 100%;
            max-width: 100%;
            min-width: 0;
            align-self: stretch;
            box-sizing: border-box;
        }
        .st-section.st-container,
        .st-section.st-form { padding: 0; }
        .st-section.st-container-anchor-top,
        .st-section.st-container-anchor-bottom {
            position: fixed;
            left: 0;
            right: 0;
            z-index: 100130;
            padding: 0;
        }
        .st-section.st-container-anchor-top {
            top: 0;
        }
        .st-section.st-container-anchor-bottom {
            bottom: 0;
        }
        .st-section.st-container-split {
            position: relative;
            min-width: 0;
            min-height: 0;
        }
        .st-section.st-container-split {
            --st-split-padding: 0px;
        }
        .st-bg-slideshow {
            position: absolute;
            inset: 0;
            z-index: -1;
            overflow: hidden;
            border-radius: inherit;
            pointer-events: none;
        }
        .st-bg-slide {
            position: absolute;
            inset: 0;
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            opacity: 0;
            transform: none;
            transition: opacity 1000ms ease, transform 1000ms ease;
            will-change: opacity, transform;
        }
        .st-bg-slide.st-bg-slide-active {
            opacity: 1;
        }
        .st-bg-pan .st-bg-slide {
            transition: none;
            transform: translate3d(0,0,0);
            will-change: transform;
        }
        .st-bg-effect-slide-left .st-bg-slide {
            transform: translateX(100%);
        }
        .st-bg-effect-slide-left .st-bg-slide.st-bg-slide-active {
            transform: translateX(0);
        }
        .st-bg-effect-slide-up .st-bg-slide {
            transform: translateY(100%);
        }
        .st-bg-effect-slide-up .st-bg-slide.st-bg-slide-active {
            transform: translateY(0);
        }
        .st-bg-effect-zoom .st-bg-slide {
            transform: scale(1.1);
        }
        .st-bg-effect-zoom .st-bg-slide.st-bg-slide-active {
            transform: scale(1);
        }
        .st-bg-effect-none .st-bg-slide {
            transition: none !important;
        }
        .st-bg-slide-overlay {
            position: absolute;
            inset: 0;
            z-index: 2;
            pointer-events: none;
        }
        .st-section.st-container-split > .st-container-split-track {
            display: flex;
            width: 100%;
            min-width: 0;
            min-height: 0;
            flex: 1 1 auto;
            align-self: stretch;
            align-items: stretch;
            justify-content: flex-start;
            gap: 0;
        }
        .st-section.st-container-split .st-container-split-track {
            display: flex;
            width: 100%;
            min-width: 0;
            min-height: 0;
            flex: 1 1 auto;
            align-items: stretch;
            justify-content: flex-start;
            gap: 0;
        }
        .st-section.st-container-split:not(.st-container-book) > .st-container-split-track-row[data-st-split-cell-count="2"] {
            box-sizing: border-box;
            padding: var(--st-split-gap, 15px);
        }
        .st-section.st-container-split .st-container-split-track-column {
            flex-direction: column;
            height: 100%;
            min-height: 100px;
        }
        .st-section.st-container-split .st-container-split-track-row {
            display: flex;
            overflow: visible;
            height: auto;
            align-self: stretch;
            position: relative;
        }
        .st-section.st-container-book .st-container-split-track {
            position: relative;
        }
        .st-book-stage {
            display: none;
            position: absolute;
            inset: 0;
            z-index: 5;
            pointer-events: none;
            perspective: 1600px;
        }
        .st-book-stage.st-book-active {
            display: block;
        }
        .st-book-reveal {
            position: absolute;
            top: 0;
            bottom: 0;
            width: 50%;
            overflow: hidden;
            background: #ffffff;
        }
        .st-book-reveal-left { left: 0; }
        .st-book-reveal-right { left: 50%; }
        .st-book-sheet {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 50%;
            transform-style: preserve-3d;
            transform-origin: left center;
            transition: transform 0.8s cubic-bezier(0.45, 0.05, 0.35, 1);
            z-index: 6;
        }
        .st-book-face {
            position: absolute;
            inset: 0;
            overflow: hidden;
            background: #ffffff;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
        }
        .st-book-face-back {
            transform: rotateY(180deg);
        }
        .st-book-face-inner {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            overflow: hidden auto;
        }
        .st-book-nav {
            position: absolute;
            left: 50%;
            bottom: 8px;
            transform: translateX(-50%);
            z-index: 7;
            display: flex;
            align-items: center;
            gap: 8px;
            pointer-events: auto;
        }
        .st-book-nav-btn {
            width: 30px;
            height: 30px;
            border-radius: 999px;
            border: 1px solid rgba(100, 116, 139, 0.4);
            background: rgba(255, 255, 255, 0.92);
            color: #334155;
            font-size: 16px;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
        }
        .st-book-nav-btn:disabled {
            opacity: 0.35;
            cursor: default;
        }
        .st-book-nav-info {
            font-size: 12px;
            color: #475569;
            background: rgba(255, 255, 255, 0.85);
            padding: 2px 8px;
            border-radius: 999px;
        }
        .st-section.st-container-split .st-container-split-track-row > .st-container-split-pane {
            height: 100%;
        }
        .st-section.st-container-split .st-container-split-pane {
            box-sizing: border-box;
            min-width: 0;
            min-height: 0;
            flex: 1 1 0;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container:not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom):has(.st-empty-cell-placeholder),
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container:not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom):has(.st-empty-cell-placeholder),
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-form:has(.st-empty-cell-placeholder),
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-form:has(.st-empty-cell-placeholder) {
            min-height: 100px !important;
        }
        .st-container-cell {
            position: relative;
        }
        .st-section.st-container-split .st-container-cell {
            align-self: stretch;
            min-height: 0;
            display: flex;
            flex-direction: column;
            height: 100%;
        }
        .st-cell-edit-badge {
            display: none;
            position: absolute;
            top: 0;
            left: 0;
            width: 18px;
            height: 18px;
            background: #9ca3af;
            border: 1px solid #4b5563;
            box-sizing: border-box;
            border-radius: 0;
            color: #111827;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 20;
            pointer-events: auto;
            transition: background .15s ease, transform .12s ease;
        }
        .st-cell-edit-badge:hover {
            background: #2563eb;
            border-color: #93c5fd;
            color: #fff;
            transform: scale(1.12);
        }
        /* Grid cells: badge anchored to the top-left corner, painted above the
           child block so it stays visible and clickable. */
        .st-grid-cell-edit-badge {
            left: 0;
            right: auto;
            z-index: 100000 !important;
        }
        /* Grid responsive: collapse to the configured number of columns on mobile
           (Elementor-style, default 1). The renderer sets --st-grid-mobile-template
           and the st-grid-responsive class on grid containers. */
        @media (max-width: 767px) {
            .st-section.st-container.st-grid-responsive {
                grid-template-columns: var(--st-grid-mobile-template, repeat(1, minmax(0, 1fr))) !important;
            }
        }
        /* Grid resize dividers are a builder-only affordance: hidden in view mode,
           only shown while editing (the builder draws its own handles). */
        .st-grid-resize-handle {
            display: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-grid-resize-handle,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-grid-resize-handle {
            display: block !important;
        }
        .st-cell-edit-badge.st-cell-badge-stacked-hidden {
            display: none !important;
        }
        .st-cell-badge-stack {
            position: fixed;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            padding: 0;
            background: #9ca3af;
            border: 1px solid #4b5563;
            box-sizing: border-box;
            border-radius: 0;
            color: #111827;
            font: 700 10px/1 Arial, sans-serif;
            cursor: pointer;
            z-index: 100200;
            pointer-events: auto;
            transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
        }
        .st-cell-badge-stack:hover {
            background: #2563eb;
            border-color: #93c5fd;
            color: #fff;
            transform: scale(1.12);
        }
        .st-cell-badge-stack-item {
            display: none !important;
            position: fixed !important;
            top: 0;
            left: 0;
            z-index: 100250 !important;
        }
        .st-cell-badge-stack-item.st-cell-badge-stack-child {
            z-index: 100302 !important;
        }
        .st-cell-badge-stack-item.st-cell-badge-stack-parent {
            z-index: 100301 !important;
        }
        body:not(.live-update-mode):not(.live-edit-hover) .st-cell-edit-badge,
        body:not(.live-update-mode):not(.live-edit-hover) .st-cell-badge-stack {
            display: none !important;
        }
        .st-cell-edit-badge svg {
            width: 15px;
            height: 15px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            pointer-events: none;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover > .st-cell-edit-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover > .st-cell-edit-badge,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover > .st-cell-edit-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover > .st-cell-edit-badge,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover .st-cell-badge-stack,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover .st-cell-badge-stack,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover .st-cell-badge-stack,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover .st-cell-badge-stack,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover .st-cell-badge-stack-item,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell:hover .st-cell-badge-stack-item,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover .st-cell-badge-stack-item,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell.st-container-cell-hover .st-cell-badge-stack-item {
            display: flex !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell .st-cell-edit-badge.st-cell-badge-stacked-hidden,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-cell .st-cell-edit-badge.st-cell-badge-stacked-hidden {
            display: none !important;
        }
        .st-container-cell.st-container-cell-toolbar-active .st-cell-edit-badge {
            display: none !important;
        }
        .st-section-menu-badge {
            display: none;
            position: absolute;
            top: 0;
            right: 0;
            width: 18px;
            height: 18px;
            background: #9ca3af;
            border: 1px solid #4b5563;
            box-sizing: border-box;
            border-radius: 0;
            color: #111827;
            align-items: center;
            justify-content: center;
            cursor: pointer !important;
            z-index: 20;
            pointer-events: auto;
            transition: background .15s ease, border-color .15s ease, color .15s ease, transform .12s ease;
             }
        .st-section-menu-badge,
        .st-section-menu-badge * {
            cursor: pointer !important;
        }
        .st-section-menu-badge:hover {
            background: #2563eb;
            border-color: #93c5fd;
            color: #fff;
            transform: scale(1.12);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-section-menu-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-section-menu-badge {
            display: flex !important;
        }
        .st-section-menu-badge svg {
            width: 12px;
            height: 12px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            pointer-events: none;
        }
        .st-section-menu-badge.st-section-badge-cluster-hidden {
            visibility: hidden !important;
            opacity: 0 !important;
            pointer-events: none !important;
        }
        .st-section-badge-cluster {
            position: fixed;
            display: flex;
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: flex-end;
            gap: 0;
            width: 18px;
            z-index: 100320;
            pointer-events: auto;
        }
        .st-section-badge-cluster-marker,
        .st-section-badge-cluster .st-section-badge-cluster-item {
            position: relative !important;
            inset: auto !important;
            display: flex !important;
            flex: 0 0 18px;
            width: 18px;
            height: 18px;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
        }
        .st-section-badge-cluster .st-section-badge-cluster-item {
            z-index: calc(100330 - var(--st-badge-stack-index, 0)) !important;
            transform: translateX(calc(var(--st-badge-stack-index, 0) * -5px));
        }
        .st-section-badge-cluster .st-section-badge-cluster-item:not(:first-child) {
            margin-top: -13px;
        }
        .st-section-badge-cluster-count .st-section-badge-cluster-item:nth-child(2) {
            margin-top: 0;
        }
        .st-section-badge-cluster .st-section-badge-cluster-item:hover {
            transform: translateX(calc(var(--st-badge-stack-index, 0) * -5px)) scale(1.12);
        }
        .st-section-badge-cluster-marker {
            background: #9ca3af;
            border: 1px solid #4b5563;
            color: #111827;
            font: 700 10px/1 Arial, sans-serif;
            cursor: pointer;
        }
        .st-section-badge-cluster-marker:hover {
            background: #2563eb;
            border-color: #93c5fd;
            color: #fff;
        }
        .st-section-badge-cluster-count .st-section-badge-cluster-item {
            display: none !important;
        }
        .st-section-badge-cluster-count:hover .st-section-badge-cluster-marker {
            display: none !important;
        }
        .st-section-badge-cluster-count:hover .st-section-badge-cluster-item {
            display: flex !important;
        }
        body:not(.live-update-mode):not(.live-edit-hover) .st-section-badge-cluster {
            display: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-block-default-boundary {
            border: 1px dashed rgba(148, 163, 184, 0.72) !important;
            box-sizing: border-box;
        }
        /* Keep the fallback boundary only while the builder is in edit mode.
           View mode must not add a border to transparent text/heading blocks. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text[style*="background:transparent"]:not([style*="border:"]),
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading[style*="background:transparent"]:not([style*="border:"]) {
            border: 1px dashed rgba(148, 163, 184, 0.72) !important;
            box-sizing: border-box;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell::after,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell::after {
            content: '';
            position: absolute;
            inset: 0;
            background: rgba(37, 99, 235, 0.08);
            opacity: 0;
            pointer-events: none;
            transition: opacity .16s ease;
            z-index: 1;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell {
            outline: 1px dashed rgba(148, 163, 184, 0.4);
            outline-offset: -1px;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell[style*="background:transparent"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell[style*="background:transparent"] {
            background-color: rgba(148, 163, 184, 0.08) !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell[style*="background:transparent"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell[style*="background:transparent"] {
            background-color: rgba(148, 163, 184, 0.08) !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell:hover:not(:has(.st-container-cell:hover)),
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell:hover:not(:has(.st-container-cell:hover)),
        .st-section.st-container-split .st-container-cell.st-container-cell-hover,
        .st-section.st-container-split .st-container-cell.st-structure-cell-selected {
            outline: 2px dashed #22c55e !important;
            outline-offset: -2px !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell.st-container-cell-context-menu-open,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell.st-container-cell-context-menu-open {
            outline: 2px solid #f472b6 !important;
            outline-offset: -2px !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section:not(.st-page-header):not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom):hover:not(:has(.st-section:hover)),
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section:not(.st-page-header):not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom):hover:not(:has(.st-section:hover)) {
            outline: 2px solid #f472b6 !important;
            outline-offset: 0;
            box-shadow: inset 0 0 0 2px #f472b6 !important;
            position: relative !important;
            z-index: 10000 !important;
        }

        /* A hovered fixed container owns the edge under its footprint; do not let
           the block behind it display edit hover chrome through that edge. */
        body.live-update-mode:has(.st-section.st-position-fixed:hover, .st-section.st-container-anchor-top:hover, .st-section.st-container-anchor-bottom:hover) .st-section:not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom),
        body.live-edit-hover:has(.st-section.st-position-fixed:hover, .st-section.st-container-anchor-top:hover, .st-section.st-container-anchor-bottom:hover) .st-section:not(.st-position-fixed):not(.st-container-anchor-top):not(.st-container-anchor-bottom) {
            outline: none !important;
            box-shadow: none !important;
        }

        /* Fixed-position blocks must stay fixed in edit modes even when hovered/highlighted. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed:focus-within,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed:focus-within,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed.st-section-highlighted,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed.st-section-highlighted,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed.st-section-menu-open,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-position-fixed.st-section-menu-open {
            position: fixed !important;
            z-index: 100130 !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list:focus-within,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-tree-list:focus-within {
            border: 1px dashed rgba(148, 163, 184, 0.72) !important;
            outline: none !important;
            outline-offset: 0 !important;
            box-shadow: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell.st-container-cell-hover::after,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell.st-container-cell-hover::after {
            opacity: 1;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content {
            box-sizing: border-box;
            width: 100%;
            min-width: 0;
            min-height: 0;
            height: 100%;
            display: flex;
            flex: 1 1 auto;
            flex-direction: var(--st-container-direction, column);
            align-items: var(--st-container-align, stretch);
            justify-content: var(--st-container-justify, flex-start);
            position: relative;
            z-index: 2;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split {
            overflow: hidden;
            background: transparent;
        }
        .st-section.st-container-split .st-container-cell:has(> .st-cell-overflow-hidden) {
            overflow: hidden !important;
        }
        .st-section.st-container-split .st-container-cell:has(> .st-cell-overflow-scroll) {
            overflow: hidden !important;
        }
        .st-section.st-container-split .st-container-cell > .st-cell-overflow-scroll {
            overflow: auto !important;
            overscroll-behavior: contain;
        }
        .st-section.st-container-split:has(.st-cell-overflow-expand),
        .st-section.st-container-split .st-container-cell:has(.st-cell-overflow-expand),
        .st-section.st-container-split .st-container-split-track:has(.st-cell-overflow-expand) {
            height: auto !important;
            max-height: none !important;
        }
        .st-section.st-container-split .st-container-cell:has(> .st-cell-overflow-expand),
        .st-section.st-container-split .st-container-cell:has(.st-cell-overflow-expand) {
            overflow: visible !important;
        }
        .st-section.st-container-split .st-container-cell > .st-cell-overflow-expand,
        .st-section.st-container-split .st-container-cell:has(.st-cell-overflow-expand) > .st-container-cell-content {
            height: auto !important;
            max-height: none !important;
            overflow: visible !important;
        }
        .st-section.st-container-split .st-container-split-track-column > .st-container-cell:has(> .st-cell-overflow-expand),
        .st-section.st-container-split .st-container-split-track-column > .st-container-cell:has(.st-cell-overflow-expand) {
            flex-basis: auto !important;
            height: auto !important;
            max-height: none !important;
        }
        .st-container-view-content {
            display: flex;
            gap: inherit;
            flex-direction: var(--st-container-direction, column);
            flex-wrap: var(--st-container-wrap, nowrap);
            align-items: var(--st-container-align, stretch);
            justify-content: var(--st-container-justify, flex-start);
            min-width: 0;
            min-height: 0;
            background: transparent;
            flex: 1 1 auto;
        }
        .st-section.st-container-root-row > .st-container-root-layer-content > .st-section,
        .st-section.st-container-root-row > .st-container-root-layer-content > .st-container-view-content > .st-section {
            box-sizing: border-box;
            width: auto !important;
            max-width: 100%;
            min-width: 0;
            flex: 1 1 0% !important;
        }
        .st-section.st-container-root-row-wrap > .st-container-root-layer-content > .st-section,
        .st-section.st-container-root-row-wrap > .st-container-root-layer-content > .st-container-view-content > .st-section {
            flex: 0 0 auto !important;
        }
        .st-section.st-container > .st-container-root-layer-content {
            display: flex;
            gap: inherit;
            flex-direction: var(--st-container-direction, column);
            align-items: var(--st-container-align, stretch);
            justify-content: var(--st-container-justify, flex-start);
            flex-wrap: var(--st-container-wrap, nowrap);
            min-width: 0;
            min-height: 0;
        }
        /* Empty cell placeholder - only visible in edit mode */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder {
            display: flex !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder:hover {
            background: rgba(148, 163, 184, 0.08);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder:hover svg,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-empty-cell-placeholder:hover svg {
            color: rgba(37, 99, 235, 0.7) !important;
        }
        .st-section.st-container-root-viewmenu-left,
        .st-section.st-container-root-viewmenu-right {
            flex-direction: row !important;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-viewmenu-left,
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-viewmenu-right {
            flex-direction: row;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-view-menu-left ~ .st-container-view-content,
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-view-content:has(~ .st-container-view-menu-right) {
            flex: 1 1 auto;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track {
            width: 100%;
            min-width: 0;
            min-height: 0;
            height: 100%;
            flex: 1 1 auto;
            align-self: stretch;
        }
        /* A nested split must be allowed to shrink with its parent pane. A
           minimum track height here makes a bottom pane keep its old content
           height when the horizontal divider is dragged down. That expands
           the flex track (and feeds the larger height back through its
           ResizeObserver), so the bottom row ends up below the container. */
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-column,
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-row {
            min-height: 0;
        }
        /* Empty placeholders are absolutely positioned, so they do not give a
           newly nested horizontal split any intrinsic height. In edit mode
           keep that track tall enough to expose its panes and hover outlines.
           This stays scoped to empty nested splits so populated/resizable
           vertical layouts can still shrink to zero when requested. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-row:has(.st-empty-cell-placeholder),
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-row:has(.st-empty-cell-placeholder) {
            min-height: 48px;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-row > .st-container-cell,
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-column > .st-container-cell {
            min-height: 0;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-split > .st-container-split-track-column {
            height: 100%;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track-column {
            min-height: 48px;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track-column > .st-container-cell {
            min-height: 24px;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track-row {
            min-height: 48px;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track-row > .st-container-cell {
            min-height: 48px;
        }
        .st-section.st-container-split .st-container-split-track-row > .st-container-cell {
            min-height: 48px;
        }
        .st-section.st-container-split .st-container-split-track-column > .st-container-cell {
            min-height: 24px;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track > .st-container-split-divider {
            background: rgba(148, 163, 184, 0.85);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track > .st-container-split-divider,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-container-split-track > .st-container-split-divider {
            background: rgba(37, 99, 235, 0.9);
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-section {
            width: 100%;
            min-width: 0;
            min-height: 0;
            flex: 0 0 auto;
            align-self: auto;
            position: relative;
            z-index: 2;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-row > .st-section,
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-row > .st-container-view-content > .st-section {
            width: auto !important;
            flex: 1 1 0% !important;
            min-width: 0;
        }
        /* Keep horizontal text blocks content-sized; auto margins would consume the remaining row space. */
        .st-section.st-container-root-row > .st-container-root-layer-content > .st-section[data-section-type="text"],
        .st-section.st-container-root-row > .st-container-root-layer-content > .st-container-view-content > .st-section[data-section-type="text"],
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-row > .st-section[data-section-type="text"],
        .st-section.st-container-split .st-container-cell > .st-container-cell-content.st-container-cell-content-row > .st-container-view-content > .st-section[data-section-type="text"] {
            flex: 0 1 auto !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            align-self: auto;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-section[data-section-type="image"] {
            flex: 1 1 auto;
            align-self: stretch;
            min-height: 0;
        }
        .st-section.st-container-split .st-container-cell > .st-container-cell-content > .st-section.st-container-split {
            height: 100%;
            align-self: stretch;
        }
        .st-section.st-container-split .st-container-split-divider {
            flex: 0 0 auto;
            background: var(--st-split-divider-color, rgba(148, 163, 184, 0.85));
            pointer-events: auto;
            user-select: none;
            z-index: 5;
        }
        .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="1"] {
            position: relative;
            z-index: 10000;
            pointer-events: auto !important;
            touch-action: none;
        }
        .st-section.st-container-split .st-container-split-divider-row[data-st-divider-draggable="1"]::before,
        .st-section.st-container-split .st-container-split-divider-column[data-st-divider-draggable="1"]::before {
            content: '';
            position: absolute;
            z-index: 1;
            pointer-events: auto;
        }
        .st-section.st-container-split .st-container-split-divider-row[data-st-divider-draggable="1"]::before {
            top: 0;
            bottom: 0;
            left: 50%;
            width: 18px;
            transform: translateX(-50%);
            cursor: col-resize;
        }
        .st-section.st-container-split .st-container-split-divider-column[data-st-divider-draggable="1"]::before {
            left: 0;
            right: 0;
            top: 50%;
            height: 18px;
            transform: translateY(-50%);
            cursor: row-resize;
        }
        .st-container-view-menu {
            display: flex;
            gap: 0;
            z-index: 3;
            flex-shrink: 0;
            background: rgba(241, 245, 249, 0.95);
            border-bottom: 1px solid #e2e8f0;
        }
        .st-container-view-menu-top {
            flex-direction: row;
            width: 100%;
            border-bottom: 1px solid #e2e8f0;
        }
        .st-container-view-menu-bottom {
            flex-direction: row;
            width: 100%;
            border-top: 1px solid #e2e8f0;
            border-bottom: none;
        }
        .st-container-view-menu-left {
            flex-direction: column;
            height: 100%;
            border-right: 1px solid #e2e8f0;
            border-bottom: none;
        }
        .st-container-view-menu-right {
            flex-direction: column;
            height: 100%;
            border-left: 1px solid #e2e8f0;
            border-bottom: none;
        }
        .st-container-view-tab {
            border: none;
            background: transparent;
            padding: 8px 14px;
            font-size: 13px;
            color: #64748b;
            cursor: pointer;
            white-space: nowrap;
            border-bottom: 2px solid transparent;
            transition: color .15s ease, border-color .15s ease, background .15s ease;
            font-family: inherit;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .st-container-view-tab-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            flex: 0 0 18px;
        }
        .st-container-view-tab-icon svg {
            width: 18px;
            height: 18px;
        }
        .st-container-view-tab-label {
            display: inline;
        }
        .st-container-view-tab-vertical .st-container-view-tab-label {
            writing-mode: vertical-rl;
            text-orientation: mixed;
        }
        .st-container-view-tab-vertical {
            flex-direction: column;
            gap: 4px;
        }
        .st-container-view-menu-left .st-container-view-tab-vertical {
            flex-direction: column-reverse;
        }
        .st-container-view-menu-left .st-container-view-tab-vertical .st-container-view-tab-label {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }
        .st-container-view-menu-left .st-container-view-tab-vertical .st-container-view-tab-icon {
            transform: rotate(270deg);
        }
        .st-container-view-menu-right .st-container-view-tab-vertical .st-container-view-tab-icon {
            transform: rotate(90deg);
        }
        .st-container-view-menu-left .st-container-view-tab-vertical,
        .st-container-view-menu-right .st-container-view-tab-vertical {
            justify-content: center;
            align-items: center;
            padding: 10px 6px;
        }
        .st-container-view-menu-left .st-container-view-tab,
        .st-container-view-menu-right .st-container-view-tab {
            border-bottom: none;
            text-align: left;
            width: 100%;
        }
        .st-container-view-menu-left .st-container-view-tab {
            border-left: none;
            border-right: 2px solid transparent;
        }
        .st-container-view-menu-right .st-container-view-tab {
            border-right: none;
            border-left: 2px solid transparent;
            text-align: right;
        }
        .st-container-view-tab:hover {
            color: #1e293b;
            background: rgba(255, 255, 255, 0.6);
        }
        .st-container-view-tab-active {
            color: #2563eb;
            border-bottom-color: #2563eb;
            font-weight: 600;
        }
        .st-container-view-menu-left .st-container-view-tab-active {
            border-right-color: #2563eb;
            background: rgba(37, 99, 235, 0.06);
        }
        .st-container-view-menu-right .st-container-view-tab-active {
            border-left-color: #2563eb;
            background: rgba(37, 99, 235, 0.06);
        }
        .st-container-view-menu-bottom .st-container-view-tab {
            border-bottom: none;
            border-top: 2px solid transparent;
        }
        .st-container-view-menu-bottom .st-container-view-tab-active {
            border-top-color: #2563eb;
            background: rgba(37, 99, 235, 0.06);
        }
        .st-container-view-menu-bottom .st-container-view-tab-vertical .st-container-view-tab-label {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
        }
        /* ── Layer Carousel ── */
        .st-section.st-container-root-layermenu-top,
        .st-section.st-container-root-layermenu-bottom {
            display: flex;
            flex-direction: column;
            min-height: 0;
        }
        .st-section.st-container-root-layermenu-top > .st-container-view-content,
        .st-section.st-container-root-layermenu-bottom > .st-container-view-content {
            flex: 1 1 auto;
            min-height: 0;
        }
        /* The root layer menu also wraps split/grid containers. Keep the
           content track in normal flow so the editable outline grows with
           the menu instead of clipping it inside the container height. */
        .st-section.st-container-root-layermenu-top > .st-container-split-track,
        .st-section.st-container-root-layermenu-bottom > .st-container-split-track,
        .st-section.st-container-root-layermenu-float > .st-container-split-track,
        .st-section.st-container-root-layermenu-float-bottom > .st-container-split-track,
        .st-section.st-container-root-layermenu-float-top > .st-container-split-track {
            height: auto;
            min-height: 0;
            flex: 1 1 auto;
        }
        .st-container-layer-float-name {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            box-sizing: border-box;
            flex: 0 0 auto;
            min-height: 22px;
            height: 22px;
            padding: 3px 12px 5px;
            color: #475569;
            font-size: 12px;
            line-height: 1.2;
            text-align: center;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            background: rgba(248, 250, 252, 0.9);
            border-top: 1px solid rgba(226, 232, 240, 0.85);
            pointer-events: none;
        }
        .st-section.st-container-has-floating-layer-name {
            height: auto !important;
        }
        .st-section.st-container-root-layermenu-float[data-st-layout-type="grid"] > .st-container-layer-float-name,
        .st-section.st-container-root-layermenu-float-bottom[data-st-layout-type="grid"] > .st-container-layer-float-name,
        .st-section.st-container-root-layermenu-float-top[data-st-layout-type="grid"] > .st-container-layer-float-name {
            grid-column: 1 / -1;
        }
        .st-section.st-container-root-layermenu-top > .st-grid-resize-overlay,
        .st-section.st-container-root-layermenu-bottom > .st-grid-resize-overlay {
            grid-column: 1 / -1;
        }
        .st-section.st-container-root-layermenu-top[data-st-layout-type="grid"] > .st-container-layer-menu,
        .st-section.st-container-root-layermenu-bottom[data-st-layout-type="grid"] > .st-container-layer-menu {
            grid-column: 1 / -1;
        }
        .st-container-layer-menu {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            padding: 6px 12px;
            background: rgba(248, 250, 252, 0.95);
            border-bottom: 1px solid #e2e8f0;
            font-size: 13px;
            user-select: none;
            flex-shrink: 0;
        }
        .st-container-layer-menu-top {
            order: -1;
            align-self: stretch;
        }
        .st-container-layer-menu-bottom {
            order: 999;
            border-bottom: none;
            border-top: 1px solid #e2e8f0;
            align-self: stretch;
        }
        .st-container-layer-menu.st-container-layer-menu-float,
        .st-container-layer-menu.st-container-layer-menu-float-bottom,
        .st-container-layer-menu.st-container-layer-menu-float-top {
            position: absolute;
            left: 0;
            z-index: 20;
            width: 100%;
            max-width: none;
            height: 54px;
            padding: 0;
            box-sizing: border-box;
            background: transparent;
            border: none;
            border-radius: 0;
            box-shadow: none;
            pointer-events: none;
            justify-content: space-between;
            align-items: flex-start;
        }
        .st-container-layer-menu.st-container-layer-menu-float {
            top: 0;
            bottom: 0;
            height: auto;
            transform: none;
        }
        .st-container-layer-menu.st-container-layer-menu-float.st-container-layer-menu-has-flow-name {
            bottom: 22px;
        }
        .st-container-layer-menu.st-container-layer-menu-float-bottom {
            bottom: 0;
            height: 28px;
        }
        .st-container-layer-menu.st-container-layer-menu-float-bottom.st-container-layer-menu-has-flow-name {
            bottom: 22px;
        }
        .st-container-layer-menu.st-container-layer-menu-float-top {
            top: 0;
            height: 28px;
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-nav,
        .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-nav,
        .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-nav {
            position: absolute;
            top: 0;
            z-index: 1;
            pointer-events: auto;
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-prev,
        .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-prev,
        .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-prev {
            left: 0;
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-next,
        .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-next,
        .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-next {
            right: 0;
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-info,
        .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-info,
        .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-info {
            position: absolute;
            left: 50%;
            bottom: 0;
            max-width: calc(100% - 72px);
            transform: translateX(-50%);
            pointer-events: none;
            justify-content: center;
        }
        .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-info {
            top: calc(100% + 4px);
            bottom: auto;
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-nav {
            top: 50%;
            transform: translateY(-50%);
        }
        .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-info {
            top: calc(100% + 4px);
            bottom: auto;
        }
        .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-info {
            top: calc(100% + 4px);
            bottom: auto;
        }
        .st-container-cell:has(> .st-container-layer-menu.st-container-layer-menu-float),
        .st-container-cell:has(> .st-container-layer-menu.st-container-layer-menu-float-bottom),
        .st-container-cell:has(> .st-container-layer-menu.st-container-layer-menu-float-top) {
            overflow: visible !important;
        }
        .st-container-layer-menu-left {
            position: relative;
            left: auto;
            top: auto;
            bottom: auto;
            right: auto;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-bottom: none;
            border-right: 1px solid #e2e8f0;
            padding: 10px 4px;
            min-width: 44px;
            z-index: 2;
            align-self: stretch;
            flex: 0 0 auto;
            box-sizing: border-box;
        }
        .st-container-layer-menu-right {
            position: relative;
            left: auto;
            top: auto;
            bottom: auto;
            right: auto;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            border-bottom: none;
            border-left: 1px solid #e2e8f0;
            padding: 10px 4px;
            min-width: 44px;
            z-index: 2;
            align-self: stretch;
            flex: 0 0 auto;
            box-sizing: border-box;
        }
        .st-container-layer-nav {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border: none;
            border-radius: 0;
            background: rgba(15, 23, 42, 0.78);
            color: #f8fafc;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            line-height: 1;
            padding: 1px 2px;
            transition: background .15s ease, color .15s ease;
        }
        .st-container-layer-nav:hover {
            background: rgba(15, 23, 42, 0.94);
            color: #ffffff;
        }
        .st-container-layer-nav:active {
            background: #e2e8f0;
        }
        .st-container-layer-info {
            display: flex;
            align-items: center;
            gap: 6px;
            min-width: 0;
        }
        .st-container-layer-name {
            color: #0f172a;
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 120px;
        }
        .st-container-layer-index {
            color: #64748b;
            font-size: 12px;
            font-weight: 500;
            white-space: nowrap;
        }
        .st-container-layer-menu-left .st-container-layer-nav,
        .st-container-layer-menu-right .st-container-layer-nav {
            width: 24px;
            height: 24px;
            font-size: 14px;
        }
        .st-container-layer-menu-left .st-container-layer-info,
        .st-container-layer-menu-right .st-container-layer-info {
            flex-direction: column;
            gap: 2px;
            align-items: center;
            justify-content: center;
        }
        .st-container-layer-menu-left .st-container-layer-info {
            flex-direction: column-reverse;
        }
        .st-container-layer-menu-left .st-container-layer-name,
        .st-container-layer-menu-right .st-container-layer-name {
            max-width: none;
            max-height: 80px;
        }
        .st-container-layer-menu-left .st-container-layer-name,
        .st-container-layer-menu-left .st-container-layer-index {
            writing-mode: vertical-lr;
            text-orientation: mixed;
            transform: rotate(180deg);
            transform-origin: center;
            display: inline-block;
        }
        .st-container-layer-menu-right .st-container-layer-name,
        .st-container-layer-menu-right .st-container-layer-index {
            writing-mode: vertical-lr;
            text-orientation: mixed;
        }
        .st-container-layer-menu-left .st-container-layer-nav {
            transform: rotate(90deg);
            transform-origin: center;
        }
        .st-container-layer-menu-right .st-container-layer-nav {
            transform: rotate(90deg);
            transform-origin: center;
        }
        .st-container-layer-menu-float .st-container-layer-info,
        .st-container-layer-menu-float-bottom .st-container-layer-info {
            min-width: 0;
        }
        .st-section.st-container-root-layermenu-left,
        .st-section.st-container-root-layermenu-right {
            display: flex;
            flex-direction: row;
            align-items: stretch;
            justify-content: flex-start;
            min-width: 0;
        }
        .st-section.st-container-root-layermenu-left > .st-container-root-layer-content,
        .st-section.st-container-root-layermenu-right > .st-container-root-layer-content {
            flex: 1 1 auto;
            min-width: 0;
            min-height: 0;
        }
        .st-section.st-container-root-layermenu-left > .st-container-layer-menu-left,
        .st-section.st-container-root-layermenu-right > .st-container-layer-menu-right {
            align-self: stretch;
        }
        /* Layer deck mode (builder only) */
        .st-container-layer-deck {
            position: absolute;
            top: 4px;
            right: 4px;
            z-index: 100;
            border-radius: 8px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
            padding: 4px 8px;
        }
        /* ── Layer Layout Variants ── */
        /* Dots */
        .st-container-layer-menu-dots {
            gap: 6px;
            align-self: center;
        }
        .st-container-layer-dot {
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: #cbd5e1;
            border: none;
            padding: 0;
            cursor: pointer;
            transition: background .2s ease, transform .2s ease;
        }
        .st-container-layer-dot:hover {
            background: #94a3b8;
            transform: scale(1.2);
        }
        .st-container-layer-dot-active {
            background: #2563eb;
            transform: scale(1.2);
        }
        /* Tabs */
        .st-container-layer-menu-tabs {
            gap: 0;
            padding: 0;
            background: transparent;
            border: none;
        }
        .st-container-layer-tab {
            padding: 6px 14px;
            border: none;
            border-bottom: 2px solid transparent;
            background: transparent;
            color: #64748b;
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            transition: all .15s ease;
            white-space: nowrap;
        }
        .st-container-layer-tab:hover {
            color: #334155;
            background: rgba(148, 163, 184, 0.08);
        }
        .st-container-layer-tab-active {
            color: #2563eb;
            border-bottom-color: #2563eb;
            background: rgba(37, 99, 235, 0.04);
        }
        /* Pills */
        .st-container-layer-menu-pills {
            gap: 4px;
            padding: 4px;
            background: #f1f5f9;
            border-radius: 8px;
            border: none;
        }
        .st-container-layer-pill {
            padding: 4px 12px;
            border-radius: 6px;
            border: none;
            background: transparent;
            color: #64748b;
            font-size: 12px;
            font-weight: 500;
            cursor: pointer;
            transition: all .15s ease;
            white-space: nowrap;
        }
        .st-container-layer-pill:hover {
            color: #334155;
            background: rgba(255,255,255,0.5);
        }
        .st-container-layer-pill-active {
            color: #0f172a;
            background: #fff;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        /* Slider (progress bar style) */
        .st-container-layer-menu-slider {
            display: flex;
            align-items: center;
            flex-wrap: nowrap;
            gap: 14px;
            padding: 8px 12px;
            background: transparent;
            border: none;
            width: min(100%, 420px);
            min-width: 0;
            max-width: 420px;
            align-self: center;
            box-sizing: border-box;
            margin: 0 auto;
            white-space: nowrap;
        }
        .st-container-layer-slider-track {
            flex: 1 1 auto;
            min-width: 0;
            height: 28px;
            position: relative;
            cursor: pointer;
            margin: 0;
            overflow: visible;
            touch-action: none;
        }
        .st-container-layer-slider-line {
            position: absolute;
            left: 0;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 4px;
            background: #e2e8f0;
            border-radius: 999px;
        }
        .st-container-layer-slider-fill {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 4px;
            background: #2563eb;
            border-radius: 999px;
            transition: width .2s ease;
            pointer-events: none;
            z-index: 1;
        }
        .st-container-layer-slider-node {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 12px;
            height: 16px;
            border-radius: 50%;
            border: 2px solid #94a3b8;
            background: #fff;
            box-shadow: 0 0 0 2px #fff;
            padding: 0;
            margin: 0;
            display: block;
            box-sizing: border-box;
            appearance: none;
            -webkit-appearance: none;
            line-height: 0;
            cursor: pointer;
            z-index: 2;
            transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
        }
        .st-container-layer-slider-node:hover {
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12);
        }
        .st-container-layer-slider-node-active {
            border-color: #2563eb;
            box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.12), 0 0 0 4px #fff;
        }
        .st-container-layer-slider-thumb {
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            width: 22px;
            height: 22px;
            background: #2563eb;
            border-radius: 50%;
            border: 3px solid #fff;
            box-shadow: 0 1px 4px rgba(0,0,0,0.22);
            transition: left .15s ease, transform .15s ease;
            z-index: 3;
            cursor: grab;
            touch-action: none;
            padding: 0;
            display: block;
            box-sizing: border-box;
            appearance: none;
            -webkit-appearance: none;
            line-height: 0;
        }
        .st-container-layer-slider-thumb:active {
            cursor: grabbing;
        }
        body.st-container-layer-slider-dragging,
        body.st-container-layer-slider-dragging * {
            cursor: grabbing !important;
            user-select: none !important;
        }
        body.st-container-layer-slider-dragging .st-container-layer-slider-fill,
        body.st-container-layer-slider-dragging .st-container-layer-slider-thumb,
        body.st-container-layer-slider-dragging .st-container-layer-slider-node {
            transition: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-layer-slider-track > .st-container-layer-slider-line,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-layer-slider-track > .st-container-layer-slider-fill,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-layer-slider-track > .st-container-layer-slider-node,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-layer-slider-track > .st-container-layer-slider-thumb {
            position: absolute !important;
        }
        .st-container-layer-slider-nav {
            width: 30px;
            height: 30px;
            border: 1px solid #d1d5db;
            border-radius: 8px;
            background: #fff;
            color: #64748b;
            font-size: 16px;
            cursor: pointer;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            flex: 0 0 auto;
            position: relative;
            z-index: 4;
        }
        .st-container-layer-slider-nav:hover {
            color: #334155;
            border-color: #94a3b8;
            background: #f8fafc;
        }
        .st-section.st-container-split .st-container-split-divider-row {
            align-self: stretch;
            cursor: col-resize;
            transform: scaleX(0.5);
            transform-origin: center;
        }
        .st-section.st-container-split .st-container-split-divider-column {
            width: 100%;
            cursor: row-resize;
            transform: scaleY(0.5);
            transform-origin: center;
        }
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="1"] {
            box-sizing: border-box;
            background: var(--st-split-divider-fill, #f8fafc);
            border: 1px solid var(--st-split-divider-outline, #cbd5e1);
            border-radius: 0;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider {
            background: var(--st-split-divider-color, rgba(37, 99, 235, 0.9));
        }
        /* The gap shows only cell boundaries; an enabled resize target stays invisible. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="1"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="1"] {
            opacity: 0 !important;
            background: transparent !important;
            cursor: col-resize !important;
            pointer-events: auto !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="0"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="0"] {
            opacity: 0 !important;
            background: transparent !important;
            pointer-events: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider-column[data-st-divider-draggable="1"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container-split .st-container-split-divider-column[data-st-divider-draggable="1"] {
            cursor: row-resize !important;
        }
        /* Divider ẩn trong view mode: không kéo thả được */
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-container-split .st-container-split-divider[data-st-divider-draggable="0"] {
            pointer-events: none !important;
        }
        .st-section.st-container { position: relative; }
        .st-container-height-handle {
            position: absolute !important;
            left: 0;
            right: 0;
            height: 6px;
            cursor: ns-resize;
            z-index: 100100;
            touch-action: none;
            background: transparent;
            transition: background .15s ease;
        }
        .st-container-height-handle-top { top: -3px; }
        .st-container-height-handle-bottom { bottom: -3px; }
        .st-container-height-handle:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container:hover > .st-container-height-handle {
            background: rgba(37, 99, 235, 0.35);
        }
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-height-handle {
            background: rgba(37, 99, 235, 0.12);
        }
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-height-handle:hover {
            background: rgba(37, 99, 235, 0.5);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-height-handle,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-height-handle:hover,
        body:not(.live-edit-hover):not(.live-update-mode) .st-container-height-handle,
        body:not(.live-edit-hover):not(.live-update-mode) .st-container-height-handle:hover {
            background: transparent !important;
        }
        body.st-container-height-resizing * { cursor: ns-resize !important; user-select: none !important; }
        .st-container-width-handle {
            position: absolute !important;
            top: 0;
            bottom: 0;
            width: 8px;
            cursor: ew-resize;
            z-index: 100100;
            touch-action: none;
            background: transparent;
            transition: background .15s ease;
        }
        .st-container-width-handle-left { left: -4px; }
        .st-container-width-handle-right { right: -4px; }
        .st-container-width-handle:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-container:hover > .st-container-width-handle {
            background: rgba(37, 99, 235, 0.18);
        }
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-width-handle:hover {
            background: rgba(37, 99, 235, 0.5);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-width-handle,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-container-width-handle:hover,
        body:not(.live-edit-hover):not(.live-update-mode) .st-container-width-handle,
        body:not(.live-edit-hover):not(.live-update-mode) .st-container-width-handle:hover {
            background: transparent !important;
        }
        body.st-container-width-resizing * { cursor: ew-resize !important; user-select: none !important; }
        .st-block-resize-handle {
            position: absolute !important;
            top: 0;
            bottom: 0;
            width: 12px;
            z-index: 100104;
            touch-action: none;
            pointer-events: auto;
            display: none;
            background: transparent;
        }
        .st-block-resize-handle-left { left: -6px; cursor: ew-resize; }
        .st-block-resize-handle-right { right: -6px; cursor: ew-resize; }
        .st-block-resize-handle-top {
            top: -6px;
            left: 0;
            right: 0;
            bottom: auto;
            width: auto;
            height: 12px;
            cursor: ns-resize;
        }
        .st-block-resize-handle-bottom {
            bottom: -6px;
            left: 0;
            right: 0;
            top: auto;
            width: auto;
            height: 12px;
            cursor: ns-resize;
        }
        .st-block-resize-handle-tl { top: -6px; left: -6px; bottom: auto; width: 12px; height: 12px; cursor: nwse-resize; }
        .st-block-resize-handle-tr { top: -6px; right: -6px; bottom: auto; left: auto; width: 12px; height: 12px; cursor: nesw-resize; }
        .st-block-resize-handle-bl { bottom: -6px; left: -6px; top: auto; width: 12px; height: 12px; cursor: nesw-resize; }
        .st-block-resize-handle-br { bottom: -6px; right: -6px; top: auto; left: auto; width: 12px; height: 12px; cursor: nwse-resize; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle {
            display: block;
            cursor: ew-resize !important;
            background: transparent;
            border: 0;
            box-sizing: border-box;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-top,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-bottom,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-top,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-bottom {
            cursor: ns-resize !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-tl,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-br,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-tl,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-br {
            cursor: nwse-resize !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-tr,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-bl,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-tr,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle-bl {
            cursor: nesw-resize !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-block-resize-handle:hover {
            background: transparent;
        }
        body.st-block-resizing * { cursor: ew-resize !important; user-select: none !important; }
        body.st-block-resizing-vertical * { cursor: ns-resize !important; }
        .st-section.st-text { padding: 15px 0; background: transparent; }
        /* Defense-in-depth: if a section (incl. text blocks) has no explicit background in its inline style
           (e.g. legacy static HTML, old snapshots, or partial inserts), force transparent so page/section
           backgrounds show through. User-set backgrounds live in the style attr and are protected by the :not(). */
        .st-section:not([style*="background"]) { background: transparent !important; }
        .st-section.st-text:not([style*="background"]) { background: transparent !important; }
        /* Ensure text block internal areas have no fill by default; only the root .st-section carries any user background.
           This prevents any residual white or inherited fill on the title/content containers inside a text block. */
        .st-section.st-text .st-text-content {
            background: transparent;
        }
        .st-section.st-text.st-text-flow-shape {
            position: relative;
            overflow: hidden;
        }
        .st-section.st-text.st-text-flow-shape .st-text-shape-flow {
            position: absolute;
            inset: 0;
            z-index: 1;
            overflow: hidden;
            pointer-events: auto;
            user-select: text;
        }
        .st-section.st-text.st-text-flow-shape.st-text-shape-ready > .st-text-content {
            opacity: 0;
            pointer-events: none;
        }
        .st-section.st-text.st-text-flow-shape.st-section-editing > .st-text-content {
            opacity: 1;
            pointer-events: auto;
        }
        .st-section.st-text.st-text-flow-shape.st-section-editing > .st-text-shape-flow {
            display: none;
        }
        .st-text-shape-line {
            position: absolute;
            margin: 0;
            padding: 0;
            white-space: nowrap;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section {
            outline: none;
            transition: box-shadow 0.18s ease, background-color 0.18s ease, border-left-width 0.18s ease, border-left-color 0.18s ease;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section::before,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section::after {
            display: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section:hover:not(.st-product-list),
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-section-highlighted:not(.st-product-list),
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section:focus-within:not(.st-product-list) {
            background: rgba(72, 187, 120, 0.06);
        }
        body.st-ui-hovering.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section:hover:not(.st-product-list) {
            background: transparent !important;
        }
        body.st-ui-hovering.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="border:"][style*="solid"]:hover {
            border-color: initial !important;
        }
        body.st-ui-hovering.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"]:hover::after {
            display: none !important;
        }
        /* Preserve borders for blocks that have them in edit mode.
           Match shorthand border: ... solid ... regardless of spaces or !important. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="border:"][style*="solid"] {
            border-style: solid !important;
        }
        /* Blue border on hover for blocks with borders */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="border:"][style*="solid"]:hover {
            border-color: #3b82f6 !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section * { position: relative; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow {
            position: absolute !important;
            inset: 0 !important;
            z-index: 0 !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow .st-bg-slide,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow .st-bg-slide,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow .st-bg-slide-overlay,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-bg-slideshow .st-bg-slide-overlay {
            position: absolute !important;
            inset: 0 !important;
        }
        /* Builder edit-mode makes every descendant relative for editing
           handles. Floating layer menus must remain out of the flex/grid
           flow or they create an empty column and push the container aside. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top {
            position: absolute !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-nav,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-nav,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-nav,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-nav,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-nav,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-nav,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-info,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-info,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-info,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float .st-container-layer-info,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-bottom .st-container-layer-info,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-container-layer-menu.st-container-layer-menu-float-top .st-container-layer-info {
            position: absolute !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-edit-badge,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-section-menu-badge,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-imgblk-nav,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-imgblk-counter { position: absolute; }
        .st-cell-input-badge { display: none; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-cell-input-badge { display: flex !important; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-st-app-block="1"] .st-cell-input-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-st-app-block="1"] .st-cell-input-badge {
            display: none !important;
        }
        .st-section[data-st-app-block="1"] .st-app-block-overlay {
            display: none;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-st-app-block="1"] .st-app-block-overlay,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-st-app-block="1"] .st-app-block-overlay {
            position: absolute;
            inset: 0;
            z-index: 100060;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 12px;
            border: 0;
            background: rgba(255,255,255,0.42);
            backdrop-filter: blur(1px);
            cursor: not-allowed;
        }
        .st-section[data-st-app-block="1"] .st-app-block-notice {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 7px;
            padding: 12px 14px;
            border-radius: 12px;
            background: rgba(15,23,42,0.9);
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            box-shadow: 0 10px 24px rgba(15,23,42,0.22);
        }
        .st-section[data-st-app-block="1"] .st-app-block-description {
            font-size: 11px;
            font-weight: 500;
            color: #cbd5e1;
        }
        .st-section[data-st-app-block="1"] .st-app-block-open-page {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            padding: 6px 10px;
            border: 1px solid rgba(255,255,255,0.3);
            border-radius: 7px;
            background: #2563eb;
            color: #fff;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.2;
            cursor: pointer;
        }
        .st-section[data-st-app-block="1"] .st-app-block-open-page svg {
            width: 15px;
            height: 15px;
            fill: none;
            stroke: currentColor;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex: 0 0 auto;
        }
        .st-section .st-cell-input-button button:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-button button:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-button button:hover {
            background: #1e40af !important;
        }
        .st-section .st-cell-input-button button:active,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-button button:active,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-button button:active {
            background: #172554 !important;
            transform: translateY(1px);
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input input,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input textarea,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input select,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input button,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input input,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input textarea,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input select,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-table .st-cell-input button {
            pointer-events: none !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-date:hover .st-cell-input-badge,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-time:hover .st-cell-input-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-date:hover .st-cell-input-badge,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section .st-cell-input-time:hover .st-cell-input-badge {
            background: #5b21b6 !important;
        }
        .st-section .st-cell-picker-wrap { position: relative; width: 100%; height: 100%; display: block; }
        .st-section .st-cell-picker-input {
            width: 100%;
            height: 100%;
            padding: 0 36px 0 8px;
            margin: 0;
            border: none;
            border-radius: 0;
            font-size: 13px;
            box-sizing: border-box;
            background: transparent;
            outline: none;
            appearance: none;
            -webkit-appearance: none;
        }
        .st-section .st-cell-picker-input::-webkit-calendar-picker-indicator {
            opacity: 0;
        }
        .st-section .st-cell-picker-button {
            position: absolute;
            top: 50%;
            right: 5px;
            width: 24px;
            height: 24px;
            margin: 0;
            border: none;
            border-radius: 6px;
            background: #e5e7eb;
            color: #374151;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            transform: translateY(-50%);
            cursor: pointer;
            transition: background 0.12s ease, transform 0.12s ease;
            padding: 0;
        }
        .st-section .st-cell-picker-button:hover { background: #d1d5db; color: #111827; }
        .st-section .st-cell-picker-button:active { background: #cbd5e1; transform: translateY(-50%) scale(0.96); }
        .st-section .st-cell-picker-button svg { width: 16px; height: 16px; display: block; }
        .st-text { line-height: 1.5; color: #444; font-size: 14px; }
        .st-text .st-text-content.st-text-content-empty { position: relative; min-height: 1.4rem; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-text .st-text-content.st-text-content-empty::after {
            content: attr(data-placeholder);
            color: #64748b;
            display: block;
            white-space: pre-wrap;
        }
        .st-text .st-text-content > :first-child { margin-top: 0; }
        .st-text .st-text-content > :last-child { margin-bottom: 0; }
        body:is(.live-update-mode, .live-edit-hover) .st-text.st-text-empty { border: 1px dashed #cbd5e1; }
        /* View mode: empty/default text and layout blocks are borderless unless
           their own inline style explicitly configures a border. */
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-text:not([style*="border"]),
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-heading:not([style*="border"]),
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-container:not([style*="border"]) {
            border: none !important;
        }
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-container[style*="border:1px solid #cbd5e1"],
        body:not(.live-update-mode):not(.live-edit-hover) .st-section.st-container[style*="border:1px solid #d1d5db"] {
            border: none !important;
        }
        .st-section.st-heading.st-heading-empty .st-heading-text {
            min-height: 1.35em;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading.st-heading-empty .st-heading-text:empty::before,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading.st-heading-empty .st-heading-text:empty::before {
            content: attr(data-placeholder);
            display: inline-block;
            color: #64748b;
            font-weight: 500;
        }
        .st-image { max-width: 100%; width: auto; height: auto; display: block; margin: 0 auto; border-radius: 6px; }
        .st-product-gallery-trigger {
            position: relative;
            display: block;
            width: 100%;
            padding: 0;
            border: none;
            background: transparent;
            cursor: pointer;
            text-align: left;
        }
        .st-product-gallery-trigger img { width: 100%; height: auto; display: block; border-radius: 0; object-fit: cover; }
        .st-section.st-product.st-product-layout-banner .st-product-layout-shell,
        .st-section.st-product.st-product-layout-banner .st-product-layout-media {
            background: transparent !important;
        }
        .st-section.st-product.st-product-layout-banner .st-product-layout-media {
            width: 100%;
            max-height: 350px;
            overflow: hidden;
        }
        .st-section.st-product.st-product-layout-banner .st-product-layout-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        @media (max-width: 768px) {
            .st-section.st-banner img,
            .st-section.st-product.st-product-layout-banner .st-product-layout-media {
                max-height: 200px;
            }
        }
        .st-product-gallery-modal {
            display: none;
            position: fixed;
            inset: 0;
            z-index: 200800;
            align-items: center;
            justify-content: center;
            padding: 20px;
            background: rgba(15, 23, 42, 0.72);
            backdrop-filter: blur(8px);
        }
        .st-product-gallery-modal.active { display: flex; }
        .st-product-gallery-backdrop { position: absolute; inset: 0; }
        .st-product-gallery-card {
            position: relative;
            width: 100vw;
            height: 100vh;
            max-width: none;
            max-height: none;
            overflow: hidden;
            border-radius: 0;
            background: #fff;
            box-shadow: 0 24px 80px rgba(0,0,0,0.28);
            padding: 20px;
            z-index: 1;
            display: flex;
            flex-direction: column;
        }
        .st-product-gallery-card.edit-mode { padding: 20px 20px 88px; }
        .st-product-gallery-close {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            border: none;
            border-radius: 50%;
            background: #f8fafc;
            color: #0f172a;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            z-index: 2;
        }
        .st-product-gallery-stage { position: relative; flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: auto; background: #f8fafc; border-radius: 18px; padding: 12px; }
        .st-product-gallery-main { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 16px; display: block; background: #fff; }
        .st-product-gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 42px;
            height: 42px;
            border: none;
            border-radius: 999px;
            background: rgba(255,255,255,0.95);
            color: #0f172a;
            font-size: 26px;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 10px 25px rgba(15,23,42,0.12);
            z-index: 2;
        }
        .st-product-gallery-nav.prev { left: 12px; }
        .st-product-gallery-nav.next { right: 12px; }
        .st-product-gallery-nav:disabled { opacity: 0.35; cursor: default; }
        .st-product-gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: 10px; margin-top: 14px; }
        .st-product-gallery-thumb {
            position: relative;
            border: 2px solid transparent;
            border-radius: 14px;
            padding: 0;
            background: #f8fafc;
            overflow: hidden;
            cursor: pointer;
            touch-action: none;
            user-select: none;
        }
        .st-product-gallery-thumb.active { border-color: #2563eb; }
        .st-product-gallery-modal.dragging .st-product-gallery-thumb { cursor: grabbing; }
        .st-product-gallery-thumb.dragging {
            opacity: 0.55;
            transform: scale(0.98);
            border-color: #93c5fd;
        }
        .st-product-gallery-thumb.drop-target {
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37,99,235,0.14);
        }
        .st-product-gallery-thumb img { width: 100%; height: 92px; object-fit: cover; display: block; }
        .st-product-gallery-drag-handle {
            position: absolute;
            top: 8px;
            left: 8px;
            z-index: 2;
            width: 28px;
            height: 28px;
            border-radius: 999px;
            background: rgba(15,23,42,0.74);
            color: #fff;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            pointer-events: none;
        }
        .st-product-gallery-thumb-actions { position: absolute; inset: 0; display: flex; align-items: flex-start; justify-content: flex-end; gap: 6px; padding: 6px; pointer-events: none; }
        .st-product-gallery-thumb-action {
            pointer-events: auto;
            width: 24px;
            height: 24px;
            border-radius: 999px;
            background: rgba(15,23,42,0.78);
            color: #fff;
            font-size: 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            line-height: 1;
        }
        .st-product-gallery-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
        .st-product-gallery-action-btn {
            border: none;
            border-radius: 12px;
            padding: 10px 14px;
            background: #eff6ff;
            color: #2563eb;
            font-weight: 600;
            cursor: pointer;
        }
        .st-product-gallery-action-btn.danger { background: #fef2f2; color: #b91c1c; }
        .st-product-gallery-action-btn:disabled,
        .st-product-gallery-thumb-action:disabled { opacity: 0.4; cursor: default; }
        .st-product-gallery-upload-btn { position: absolute; right: 20px; bottom: 20px; z-index: 3; width: 52px; height: 52px; border: none; border-radius: 16px; background: #2563eb; color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 16px 32px rgba(37,99,235,0.24); cursor: pointer; }
        .st-product-gallery-upload-btn svg { width: 22px; height: 22px; display: block; }
        .st-product-gallery-upload-btn:hover { background: #1d4ed8; }
        .st-product-gallery-floating-actions {
            position: absolute;
            top: 16px;
            right: 16px;
            z-index: 3;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: flex-end;
            max-width: min(100%, 320px);
        }
        .st-product-gallery-floating-actions .st-product-gallery-action-btn {
            padding: 8px 12px;
            font-size: 13px;
            box-shadow: 0 10px 20px rgba(15,23,42,0.10);
            background: rgba(255,255,255,0.95);
        }
        .st-product-gallery-floating-actions .st-product-gallery-action-btn.danger { background: rgba(254,242,242,0.98); }

        .st-product-layout-shell {
            display: flex;
            flex-wrap: wrap;
            gap: 18px;
            align-items: stretch;
            justify-content: space-between;
        }
        .st-product-layout-media {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: none;
            background: transparent;
            cursor: pointer;
            text-align: left;
        }
        .st-product-compact-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 10px;
            width: 100%;
            margin-left: auto;
            margin-right: auto;
            align-items: stretch;
            padding: 12px;
            box-sizing: border-box;
            background: #fff;
            border: 1px solid rgba(226,232,240,0.95);
            border-radius: 18px;
            box-shadow: 0 8px 20px rgba(15,23,42,0.07);
        }
        .st-product-medium-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            width: 100%;
            align-items: start;
        }
        .st-product-large-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
            width: 100%;
            align-items: start;
        }
        .st-product-compact-grid .st-section.st-product-layout-compact.st-product-compact-grouped {
            display: flex;
            flex-direction: column;
        }
        .st-product-medium-grid .st-section.st-product-layout-horizontal.st-product-medium-grouped {
            display: block;
            align-self: start;
        }
        .st-product-large-grid .st-section.st-product-layout-large.st-product-large-grouped {
            display: block;
            align-self: start;
        }
        .st-product-compact-grid .st-section.st-product-layout-compact {
            height: 100%;
        }
        .st-product-medium-grid .st-section.st-product-layout-horizontal {
            height: auto;
        }
        .st-product-large-grid .st-section.st-product-layout-large {
            height: auto;
        }
        .st-product-layout-media img {
            width: auto !important;
            height: auto !important;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            border-radius: inherit;
        }
        .st-product-layout-content {
            display: flex;
            flex-direction: column;
            gap: 12px;
            min-width: 0;
        }
        .st-product-layout-head {
            display: grid;
            gap: 8px;
        }
        .st-product-title {
            margin: 0;
            font-size: 1rem;
            color: #111827;
            line-height: 1.22;
            letter-spacing: -0.01em;
        }
        .st-product-layout-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: auto;
        }
        .st-product-layout-actions .st-btn-link {
            min-width: 140px;
            justify-content: center;
        }
        .st-product-layout-horizontal,
        .st-product-layout-highlight {
            width: 100%;
        }
        .st-product-layout-reversed {
            width: 100%;
        }
        .st-product-layout-compact {
            width: 100%;
        }
        .st-product-layout-reversed .st-product-layout-shell {
            flex-direction: row-reverse;
        }
        .st-product-layout-reversed .st-product-layout-media {
            flex: 1.15 1 360px;
            min-width: 280px;
        }
        .st-product-layout-reversed .st-product-layout-content {
            flex: 0.95 1 320px;
            min-width: 240px;
            padding-top: 4px;
        }
        .st-product-layout-horizontal .st-product-layout-media {
            flex: 1.15 1 360px;
            min-width: 280px;
        }
        .st-product-medium-grouped .st-product-layout-shell {
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 12px;
            height: auto !important;
            justify-content: flex-start;
        }
        .st-product-medium-grouped .st-product-layout-media {
            width: 100%;
            flex: 0 0 auto;
            min-width: 0;
            max-width: none;
            aspect-ratio: 40 / 21;
        }
        .st-product-medium-grouped .st-product-layout-media img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain;
        }
        .st-product-layout-horizontal.st-product-medium-grouped .st-product-layout-content {
            flex: 0 1 auto !important;
            min-width: 0;
            gap: 10px;
            justify-content: flex-start;
            padding-top: 0;
        }
        .st-product-medium-grouped .st-product-layout-actions {
            margin-top: 0 !important;
        }
        .st-product-medium-grouped .st-product-detail-link {
            margin-top: 0 !important;
        }
        .st-product-medium-grouped .st-product-description {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .st-product-large-grouped .st-product-layout-shell {
            flex-direction: column;
            flex-wrap: nowrap;
            align-items: stretch;
            gap: 13px;
            height: auto !important;
            justify-content: flex-start;
        }
        .st-product-large-grouped .st-product-layout-media {
            width: 100%;
            flex: 0 0 auto;
            min-width: 0;
            max-width: none;
            aspect-ratio: 400 / 273;
        }
        .st-product-large-grouped .st-product-layout-media img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain;
        }
        .st-product-layout-large.st-product-large-grouped .st-product-layout-content {
            flex: 0 1 auto !important;
            min-width: 0;
            gap: 11px;
            justify-content: flex-start;
            padding-top: 0;
        }
        .st-product-large-grouped .st-product-layout-actions,
        .st-product-large-grouped .st-product-detail-link {
            margin-top: 0 !important;
        }
        .st-product-large-grouped .st-product-description {
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .st-product-layout-horizontal .st-product-layout-content {
            flex: 0.95 1 320px;
            min-width: 240px;
            padding-top: 4px;
        }
        .st-product-layout-horizontal:not(.st-product-medium-grouped) .st-product-description {
            display: -webkit-box;
            -webkit-line-clamp: 6;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .st-product-layout-compact .st-product-layout-media {
            flex: 0 0 152px;
            width: 152px;
            min-width: 120px;
            max-width: 152px;
        }
        .st-product-compact-grouped .st-product-layout-shell {
            flex-direction: row;
            align-items: center;
            gap: 10px;
            height: 100%;
        }
        .st-product-compact-grouped .st-product-layout-media {
            width: 92px;
            height: 92px;
            flex: 0 0 92px;
            min-width: 92px;
            max-width: 92px;
            aspect-ratio: 1 / 1;
        }
        .st-product-compact-grouped .st-product-layout-media img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain;
        }
        .st-product-compact-grouped .st-product-layout-content {
            flex: 1 1 auto;
            min-width: 0;
            gap: 6px;
        }
        .st-product-compact-grouped .st-product-title {
            font-size: 0.92rem;
            line-height: 1.25;
        }
        .st-product-compact-grouped .st-product-price {
            font-size: 0.96rem;
        }
        .st-product-compact-grouped .st-product-description {
            display: none !important;
        }
        .st-product-layout-compact .st-product-layout-shell {
            width: 100%;
        }
        .st-product-layout-compact .st-product-layout-content {
            gap: 8px;
            justify-content: center;
        }
        .st-product-layout-compact .st-product-description,
        .st-product-layout-compact .st-product-layout-actions {
            display: none !important;
        }
        .st-product-layout-highlight .st-product-layout-media {
            flex: 1.25 1 440px;
            min-width: 300px;
        }
        .st-product-layout-highlight .st-product-layout-content {
            flex: 0.9 1 320px;
            min-width: 250px;
            gap: 16px;
            padding-top: 4px;
        }
        .st-product-layout-highlight .st-product-title {
            font-size: 1.6rem;
            line-height: 1.12;
            letter-spacing: -0.02em;
        }
        .st-product-layout-highlight .st-product-price {
            font-size: 1.3rem;
            font-weight: 600;
        }
        .st-product-layout-minimal {
            width: min(100%, 760px);
        }
        .st-product-layout-minimal .st-product-layout-media {
            flex: 0 0 84px;
            width: 84px;
            height: 84px;
        }
        .st-product-layout-minimal .st-product-layout-content {
            flex: 1 1 220px;
            gap: 6px;
        }
        .st-product-layout-minimal .st-product-description,
        .st-product-layout-minimal .st-product-layout-actions {
            display: none !important;
        }
        .st-product-layout-minimal .st-product-title {
            font-size: 1rem;
            line-height: 1.28;
        }
        .st-product-description {
            font-size: 14px;
            line-height: 1.7;
            color: #475569;
        }
        .st-product-layout-minimal .st-product-price {
            font-size: 1.05rem;
            font-weight: 600;
        }
        @media (max-width: 768px) {
            .st-product-layout-shell {
                flex-direction: column;
                gap: 14px;
            }
            .st-product-layout-horizontal,
            .st-product-layout-highlight,
            .st-product-layout-reversed,
            .st-product-layout-compact,
            .st-product-layout-minimal {
                width: 100%;
            }
            .st-product-compact-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                width: 100%;
                max-width: 100%;
                gap: 12px;
            }
            .st-product-medium-grid,
            .st-product-large-grid {
                grid-template-columns: 1fr;
                gap: 12px;
            }
            .st-product-layout-horizontal .st-product-layout-media,
            .st-product-layout-large .st-product-layout-media,
            .st-product-layout-highlight .st-product-layout-media,
            .st-product-layout-reversed .st-product-layout-media,
            .st-product-layout-compact .st-product-layout-media,
            .st-product-layout-minimal .st-product-layout-media {
                width: 100%;
                min-width: 0;
                flex-basis: auto;
            }
            .st-product-layout-minimal .st-product-layout-media {
                aspect-ratio: 1 / 1;
                max-width: 132px;
            }
            .st-product-layout-horizontal .st-product-layout-content,
            .st-product-layout-highlight .st-product-layout-content,
            .st-product-layout-reversed .st-product-layout-content,
            .st-product-layout-compact .st-product-layout-content,
            .st-product-layout-minimal .st-product-layout-content {
                width: 100%;
                min-width: 0;
            }
            .st-product-layout-compact .st-product-layout-shell {
                flex-direction: column;
                width: 100%;
                gap: 12px;
            }
            .st-product-layout-compact .st-product-layout-media {
                width: 100%;
                max-width: none;
                min-width: 0;
                flex-basis: auto;
                aspect-ratio: 4 / 3;
            }
            .st-product-compact-grouped .st-product-layout-media {
                width: 100%;
                height: auto;
                max-width: none;
                min-width: 0;
                flex-basis: auto;
                aspect-ratio: 1 / 1;
                padding: 8px;
                background: #f1f5f9;
                justify-content: flex-start;
            }
            .st-product-compact-grouped .st-product-layout-media img {
                width: 100% !important;
                height: 100% !important;
                object-fit: contain !important;
                object-position: left center;
            }
            .st-product-compact-grouped .st-product-layout-shell {
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
                gap: 10px;
                text-align: left;
            }
            .st-product-compact-grouped .st-product-layout-content {
                align-items: flex-start;
                justify-content: flex-start;
                text-align: left;
                width: 100%;
                padding: 0 8px 2px;
                box-sizing: border-box;
            }
            .st-product-compact-grouped .st-product-layout-head {
                justify-items: start;
                text-align: left;
                width: 100%;
            }
            .st-product-compact-grouped .st-product-title {
                font-size: 0.84rem;
            }
            .st-product-compact-grouped .st-product-price {
                font-size: 0.88rem;
            }
            .st-product-compact-grouped .st-product-detail-link {
                align-self: flex-start;
                text-align: left;
            }
            .st-product-compact-odd-last {
                grid-column: 1 / -1;
                justify-self: stretch;
            }
            .st-product-compact-odd-last .st-product-layout-shell {
                display: flex;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: center;
                justify-content: flex-start;
                gap: 10px;
                max-width: none;
                margin: 0;
                text-align: left;
            }
            .st-product-compact-odd-last .st-product-layout-media {
                width: 92px;
                height: 92px;
                flex: 0 0 92px;
                max-width: 92px;
                padding: 0;
            }
            .st-product-compact-odd-last .st-product-layout-content {
                flex: 1 1 auto;
                min-width: 0;
                display: flex;
                flex-direction: column;
                align-items: flex-start;
                text-align: left;
                padding: 0 8px 2px;
                justify-content: center;
            }
            .st-product-compact-odd-last .st-product-layout-head {
                justify-items: start;
                text-align: left;
                width: 100%;
            }
            .st-product-compact-odd-last .st-product-detail-link {
                align-self: flex-start;
                text-align: left;
            }
            .st-product-layout-horizontal .st-product-title,
            .st-product-layout-highlight .st-product-title,
            .st-product-layout-reversed .st-product-title,
            .st-product-layout-compact .st-product-title,
            .st-product-layout-minimal .st-product-title {
                font-size: 1.02rem;
            }
            .st-product-layout-highlight .st-product-title {
                font-size: 1.22rem;
            }
            .st-product-layout-horizontal .st-product-layout-actions,
            .st-product-layout-highlight .st-product-layout-actions,
            .st-product-layout-reversed .st-product-layout-actions {
                gap: 8px;
            }
            .st-product-layout-horizontal .st-btn-link,
            .st-product-layout-highlight .st-btn-link,
            .st-product-layout-reversed .st-btn-link {
                width: 100%;
                min-width: 0;
            }
        }
        @media (min-width: 501px) and (max-width: 768px) {
            .st-product-compact-grid {
                grid-template-columns: repeat(2, minmax(0, 250px));
                justify-content: center;
            }
        }

        /* Button Link Style */
        .st-btn-link {
            display: block; width: 100%; padding: 14px;
            text-align: center; text-decoration: none;
            color: #fff !important; font-weight: 600;
            border-radius: 10px; font-size: 15px;
            transition: 0.2s; box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        }
        .st-section.st-hero .st-hero-cta:hover {
            background: color-mix(in srgb, var(--st-website-primary-color, #2563eb) 88%, #000) !important;
            border-color: var(--st-website-primary-color, #2563eb) !important;
            box-shadow: 0 6px 14px rgba(15,23,42,0.2) !important;
            transform: translateY(-1px);
            cursor: pointer;
        }
        .st-btn-link:active { transform: scale(0.97); opacity: 0.9; }

        /* ── Flatsome-style unified header (same-row logo modes) ── */
        /* Logo left: [Logo] ————— [Menu →] [Buttons] */
        .st-bar-inner.same-row-logo-left #st-menu { order: 1; flex: 1 1 auto; justify-content: flex-end; margin-left: auto; }
        .st-bar-inner.same-row-logo-left .st-bar-left { order: 0; flex: 0 1 auto; }
        /* Logo right: [Buttons] [← Menu] ————— [Logo] */
        .st-bar-inner.same-row-logo-right #st-menu { order: 0; flex: 1 1 auto; justify-content: flex-start; }
        .st-bar-inner.same-row-logo-right .st-bar-left { order: 2; flex: 0 1 auto; margin-left: auto; }
        .st-bar-inner.same-row-logo-right .st-bar-left .st-store-info { margin-left: auto; margin-right: 0; }
        .st-bar-inner.same-row-logo-right .st-btn-group { order: 1; }

        .st-btn-group { display: flex; align-items: center; gap: 8px; }
        .st-bar-left { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }

        .st-action-menu { display: flex; align-items: center; gap: 8px; }
        #st-action-theme-btn { display:none !important; }
        .st-action-menu-item { display: inline-flex; align-items: center; justify-content: center; width: var(--st-action-size, 34px); height: var(--st-action-size, 34px); border: none; border-radius: 8px; background: transparent; cursor: pointer; transition: background 0.15s ease, color 0.15s ease, opacity 0.15s ease; padding: 0; flex-shrink: 0; color: var(--st-action-color, currentColor); }
        .st-action-menu-item:hover { background: var(--st-action-hover-bg, rgba(255,255,255,0.18)); color: var(--st-action-hover-color, currentColor); }
        .st-action-menu-item svg { width: var(--st-action-icon-size, 18px); height: var(--st-action-icon-size, 18px); display: block; }
        .st-action-menu-dropdown { position: relative; display: none; }
        .st-action-menu-dropdown-toggle { display: inline-flex; align-items: center; justify-content: center; width: var(--st-action-size, 34px); height: var(--st-action-size, 34px); border: none; border-radius: 8px; background: transparent; cursor: pointer; padding: 0; color: var(--st-action-color, currentColor); transition: background 0.15s ease, color 0.15s ease; }
        .st-action-menu-dropdown-toggle:hover { background: var(--st-action-hover-bg, rgba(255,255,255,0.18)); color: var(--st-action-hover-color, currentColor); }
        .st-action-menu-dropdown-toggle svg { width: var(--st-action-icon-size, 18px); height: var(--st-action-icon-size, 18px); display: block; }
        .st-action-menu-dropdown-bridge { position: absolute; top: 100%; right: 0; display: none; background: transparent; pointer-events: auto; z-index: 100199; }
        .st-action-menu-dropdown-menu { position: absolute; top: calc(100% + 4px); right: 0; min-width: 160px; background: #fff; border-radius: 10px; box-shadow: 0 12px 32px rgba(15,23,42,0.18); padding: 4px; z-index: 100200; display: none; flex-direction: column; gap: 2px; }
        .st-action-menu-dropdown-menu.open { display: flex; }
        .st-action-menu-dropdown-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: none; border-radius: 8px; background: transparent; cursor: pointer; font-size: 13px; font-weight: 600; color: #0f172a; text-align: left; width: 100%; }
        .st-action-menu-dropdown-item:hover { background: #f1f5f9; }
        .st-action-menu-dropdown-item svg { width: 16px; height: 16px; flex-shrink: 0; color: #334155; }
        #street-bar[data-action-menu-theme="filled"] .st-action-menu-item,
        #street-bar[data-action-menu-theme="filled"] .st-action-menu-dropdown-toggle { background: var(--st-action-filled-bg, rgba(15,23,42,.12)); border-radius: 10px; }
        #street-bar[data-action-menu-theme="filled"] .st-action-menu-item:hover,
        #street-bar[data-action-menu-theme="filled"] .st-action-menu-dropdown-toggle:hover { background: var(--st-action-hover-bg, rgba(15,23,42,.22)); }
        #street-bar[data-action-menu-theme="glass"] .st-action-menu-item,
        #street-bar[data-action-menu-theme="glass"] .st-action-menu-dropdown-toggle { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.34); border-radius: 999px; box-shadow: 0 4px 14px rgba(15,23,42,.12); backdrop-filter: blur(10px); }
        #street-bar[data-action-menu-theme="glass"] .st-action-menu-item:hover,
        #street-bar[data-action-menu-theme="glass"] .st-action-menu-dropdown-toggle:hover { background: rgba(255,255,255,.32); }
        #street-bar[data-action-menu-theme="signboard"] .st-action-menu-item,
        #street-bar[data-action-menu-theme="signboard"] .st-action-menu-dropdown-toggle { background: #fff7ed; border: 2px solid #c1121f; border-radius: 4px; color: #c1121f; box-shadow: 2px 2px 0 #c1121f; }
        #street-bar[data-action-menu-theme="signboard"] .st-action-menu-item:hover,
        #street-bar[data-action-menu-theme="signboard"] .st-action-menu-dropdown-toggle:hover { background: #facc15; color: #7f1d1d; }
        @media (max-width: 767px) {
            .st-action-menu-dropdown.has-overflow { display: block; }
        }

        .st-footer {
            position: relative;
            display: block;
            width: 100%;
            max-width: none;
            background: transparent;
            color: #475569;
            font-size: 14px;
            line-height: 1.7;
        }
        /* Each core theme styles every block, even when there are no headings or contact blocks. */
        #st-footer-host .st-footer-bg[data-footer-theme="minimal"] .st-footer { font-size:13px; line-height:1.6; }
        #st-footer-host .st-footer-bg[data-footer-theme="minimal"] .st-footer-block { padding:8px 0; gap:6px; border:0; border-radius:0; background:transparent; }
        #st-footer-host .st-footer-bg[data-footer-theme="minimal"] .st-footer-block-title { font-size:12px; font-weight:600; letter-spacing:0; }
        #st-footer-host .st-footer-bg[data-footer-theme="columns"] .st-footer-block { padding:20px 24px; gap:14px; border-inline-start:2px solid color-mix(in srgb,currentColor 28%,transparent); border-radius:0; }
        #st-footer-host .st-footer-bg[data-footer-theme="columns"] .st-footer-block-title { text-transform:uppercase; letter-spacing:.12em; font-size:11px; font-weight:800; }
        #st-footer-host .st-footer-bg[data-footer-theme="columns"] .st-footer-brand { font-size:22px; font-weight:800; letter-spacing:-.03em; }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-block { padding:24px; gap:16px; border:1px solid color-mix(in srgb,currentColor 18%,transparent); border-radius:16px; background:color-mix(in srgb,currentColor 6%,transparent); }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-block-contact { border-inline-start:4px solid currentColor; background:color-mix(in srgb,currentColor 10%,transparent); }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-block-title { font-size:18px; font-weight:700; line-height:1.3; }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-brand { font-size:clamp(24px,3vw,32px); font-weight:700; line-height:1.2; }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-contact-item { min-height:44px; }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-contact-link { padding:8px 12px; border:1px solid color-mix(in srgb,currentColor 25%,transparent); border-radius:8px; box-sizing:border-box; overflow-wrap:anywhere; }
        #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-contact-link:hover { background:color-mix(in srgb,currentColor 10%,transparent); }
        @media(max-width:767px) {
            #st-footer-host .st-footer-bg[data-footer-theme="columns"] .st-footer-block { padding:16px; }
            #st-footer-host .st-footer-bg[data-footer-theme="contact-first"] .st-footer-block { padding:18px; }
        }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer { color: #e2e8f0; }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer-block-title { color: #f8fafc; }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer-link { color: #cbd5e1; }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer-link:hover { color: #fff; }
        /* Footer themes decorate the existing split-flex tree. */
        #st-footer-host .st-footer-bg:is([data-footer-theme="minimal"],[data-footer-theme="columns"],[data-footer-theme="contact-first"],[data-footer-theme="editorial"],[data-footer-theme="soft-panels"],[data-footer-theme="aurora"]) :is(.st-footer-block-title,.st-footer-brand,.st-footer-contact-link) { color:inherit; }
        #st-footer-host .st-footer-bg:is([data-footer-theme="minimal"],[data-footer-theme="columns"],[data-footer-theme="contact-first"],[data-footer-theme="editorial"],[data-footer-theme="soft-panels"],[data-footer-theme="aurora"]) .st-footer-link { text-underline-offset:4px; }
        #st-footer-host .st-footer-bg:is([data-footer-theme="minimal"],[data-footer-theme="columns"],[data-footer-theme="contact-first"],[data-footer-theme="editorial"],[data-footer-theme="soft-panels"],[data-footer-theme="aurora"]) .st-footer-link:hover { text-decoration:underline; }
        #st-footer-host .st-footer-bg:is([data-footer-theme="minimal"],[data-footer-theme="columns"],[data-footer-theme="contact-first"],[data-footer-theme="editorial"],[data-footer-theme="soft-panels"],[data-footer-theme="aurora"]) a:focus-visible { outline:2px solid currentColor; outline-offset:4px; }
        #st-footer-host .st-footer-bg[data-footer-theme="editorial"] .st-footer-block { border-top:1px solid currentColor; border-radius:0; padding-top:24px; padding-bottom:24px; }
        #st-footer-host .st-footer-bg[data-footer-theme="editorial"] .st-footer-block-title { font-family:Georgia,'Times New Roman',serif; font-size:clamp(18px,2vw,24px); font-weight:400; letter-spacing:-.02em; line-height:1.3; }
        #st-footer-host .st-footer-bg[data-footer-theme="editorial"] .st-footer-brand { font-family:Georgia,'Times New Roman',serif; font-size:clamp(24px,3vw,36px); line-height:1.2; }
        #st-footer-host .st-footer-bg[data-footer-theme="soft-panels"] .st-footer-block { background:color-mix(in srgb,currentColor 5%,transparent); border:1px solid color-mix(in srgb,currentColor 14%,transparent); border-radius:20px; padding:22px; }
        #st-footer-host .st-footer-bg[data-footer-theme="soft-panels"] .st-footer-block-title { font-size:15px; font-weight:700; }
        #st-footer-host .st-footer-bg[data-footer-theme="aurora"] .st-footer-block { background:color-mix(in srgb,currentColor 6%,transparent); border:1px solid color-mix(in srgb,currentColor 20%,transparent); border-radius:16px; padding:22px; }
        #st-footer-host .st-footer-bg[data-footer-theme="aurora"] .st-footer-block-title { font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.12em; }
        @media (max-width:767px) {
            #st-footer-host .st-footer-bg:is([data-footer-theme="soft-panels"],[data-footer-theme="aurora"]) .st-footer-block { padding:16px; border-radius:14px; }
        }
        .st-footer-bg {
            width: 100%;
            background: transparent;
            border-top: none;
            padding: 0;
        }
        .st-footer-group-root,
        .st-second-footer-group-root {
            position: relative;
            z-index: 1;
            min-width: 0;
            box-sizing: border-box;
        }
        .st-footer-bg-layer {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: min(100%, 800px);
            height: 100%;
            z-index: 0;
            pointer-events: none;
            background: transparent;
        }
        .st-footer-inner {
            position: relative;
            z-index: 1;
            max-width: var(--st-layout-max-width, none);
            width: var(--st-layout-width, 100%);
            margin-left: var(--st-layout-margin-left, auto);
            margin-right: var(--st-layout-margin-right, auto);
            padding: 20px 24px;
            padding-left: var(--st-layout-padding-left, 24px);
            padding-right: var(--st-layout-padding-right, 24px);
            box-sizing: border-box;
        }
        /* Footer tree: root -> rows -> groups -> blocks, using split flex only. */
        .st-footer-tree-content .st-footer-node { position:relative; min-width:0; box-sizing:border-box; }
        .st-footer-tree-content .st-footer-root,
        .st-footer-tree-content .st-footer-row,
        .st-footer-tree-content .st-footer-group { display:flex; flex-wrap:nowrap; align-items:stretch; }
        .st-footer-tree-content .st-footer-root,
        .st-footer-tree-content .st-footer-row { width:100%; }
        .st-footer-tree-content .st-footer-node-block { flex:1 1 auto; }
        .st-footer-bg[data-header-theme="corporate"] .st-footer-tree-content .st-footer-row { padding:8px 32px !important; }
        @media (min-width:1024px) {
            /* Tech header has 24px outer shell padding plus 24px row padding. */
            .st-footer-bg[data-header-theme="tech"] .st-footer-tree-content .st-footer-row { padding-left:24px !important; padding-right:24px !important; }
        }
        .st-footer-bg[data-header-theme="shop-conversion"] .st-footer-tree-content .st-footer-row { padding-left:16px !important; padding-right:16px !important; }
        .st-footer-bg[data-header-theme="shop-conversion"] .st-footer-inner { padding-left:16px !important; padding-right:16px !important; }
        body.st-header-scroll-compact .st-footer-bg[data-header-theme="corporate"] .st-footer-tree-content .st-footer-row { padding:4px 32px !important; }
        body.st-header-scroll-compact .st-footer-bg[data-header-theme="tech"] .st-footer-tree-content .st-footer-row { padding:4px 12px !important; }
        body.st-header-scroll-compact .st-footer-bg[data-header-theme="orbit"] .st-footer-tree-content .st-footer-row { padding:4px 12px !important; }
        .st-footer-tree-content .st-footer-group[style*="flex-direction:row"] > .st-footer-node-block { flex:1 1 0; }
        .st-footer-tree-content .st-footer-block { display:flex; flex-direction:column; gap:10px; padding:0; width:100%; border:0; }
        .st-footer-tree-content .st-footer-group:has(.st-footer-block-login) { flex:0 0 auto !important; width:max-content !important; min-width:max-content !important; }
        .st-footer-tree-content .st-footer-block-login { width:max-content; min-width:max-content; white-space:nowrap; }
        .st-footer-tree-content .st-footer-block-login .st-footer-login-link { display:inline-flex; align-items:center; white-space:nowrap; width:max-content; }
        .st-footer-tree-content [data-footer-layout-device="mobile"] { display:none; }
        @media(max-width:1023px) { .st-footer-bg[data-header-theme="shop-conversion"] .st-footer-inner { padding-left:18px !important; padding-right:0 !important; } .st-footer-bg[data-header-theme="shop-conversion"] .st-footer-tree-content .st-footer-row { padding-left:0 !important; padding-right:8px !important; } }
        @media (max-width:1023px) {
            .st-footer-tree-content [data-footer-layout-device="desktop"] { display:none; }
            .st-footer-tree-content [data-footer-layout-device="mobile"] { display:block; }
        }
        /* ---- Can logo footer thang hang logo header cho MOI theme dau trang ----
           Le ngang cua logo header = padding shell .st-header-layout-root (bien
           --st-layout-padding-left do "Bo cuc chung" ghi INLINE: 24px desktop /
           0px mobile) + padding ngang cua row chua logo trong package theme.
           Bien do chi nam trong cay #street-bar nen footer KHONG doc duoc; vi vay
           footer phai ep tuong minh dung tong do: inner = 24/0 + row, con row giu
           0 de khong cong trung. Shell header cung duoc pin ve 24/0 cho on dinh o
           moi che do bo cuc & moi be rong. (shop-conversion, pho-sieuthi va
           playland da tu lo rieng trong package cua no.) */
        #street-bar[data-header-theme="default"] .st-header-layout-root,
        #street-bar[data-header-theme="atelier"] .st-header-layout-root,
        #street-bar[data-header-theme="orbit"] .st-header-layout-root,
        #street-bar[data-header-theme="studio"] .st-header-layout-root,
        #street-bar[data-header-theme="luxury-realestate-dark"] .st-header-layout-root,
        #street-bar[data-header-theme="scifi"] .st-header-layout-root,
        #street-bar[data-header-theme="tech"] .st-header-layout-root,
        #street-bar[data-header-theme="saigon-retro"] .st-header-layout-root,
        #street-bar[data-header-theme="layered-panel"] .st-header-layout-root,
        #street-bar[data-header-theme="void-station"] .st-header-layout-root,
        #street-bar[data-header-theme="corporate"] .st-header-layout-root,
        #street-bar[data-header-theme="company-panel"] .st-header-layout-root,
        #street-bar[data-header-theme="company-slim"] .st-header-layout-root,
        #street-bar[data-header-theme="company-center"] .st-header-layout-root,
        #street-bar[data-header-theme="company-grid"] .st-header-layout-root,
        #street-bar[data-header-theme="company-mega"] .st-header-layout-root { --st-layout-padding-left:24px !important; --st-layout-padding-right:24px !important; }
        @media (max-width:1023px) {
        #street-bar[data-header-theme="default"] .st-header-layout-root,
        #street-bar[data-header-theme="atelier"] .st-header-layout-root,
        #street-bar[data-header-theme="orbit"] .st-header-layout-root,
        #street-bar[data-header-theme="studio"] .st-header-layout-root,
        #street-bar[data-header-theme="luxury-realestate-dark"] .st-header-layout-root,
        #street-bar[data-header-theme="scifi"] .st-header-layout-root,
        #street-bar[data-header-theme="tech"] .st-header-layout-root,
        #street-bar[data-header-theme="saigon-retro"] .st-header-layout-root,
        #street-bar[data-header-theme="layered-panel"] .st-header-layout-root,
        #street-bar[data-header-theme="void-station"] .st-header-layout-root,
        #street-bar[data-header-theme="corporate"] .st-header-layout-root,
        #street-bar[data-header-theme="company-panel"] .st-header-layout-root,
        #street-bar[data-header-theme="company-slim"] .st-header-layout-root,
        #street-bar[data-header-theme="company-center"] .st-header-layout-root,
        #street-bar[data-header-theme="company-grid"] .st-header-layout-root,
        #street-bar[data-header-theme="company-mega"] .st-header-layout-root { --st-layout-padding-left:0px !important; --st-layout-padding-right:0px !important; }
        }
        /* Footer inner = 24 + le ngang row logo cua theme (desktop) */
        #st-footer-host .st-footer-bg[data-header-theme="tech"] .st-footer-inner { padding-left:48px !important; padding-right:48px !important; } /* 24+24 */
        #st-footer-host .st-footer-bg[data-header-theme="saigon-retro"] .st-footer-inner { padding-left:44px !important; padding-right:44px !important; } /* 24+20 */
        #st-footer-host .st-footer-bg[data-header-theme="company-panel"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-slim"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-center"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-grid"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-mega"] .st-footer-inner { padding-left:46px !important; padding-right:46px !important; } /* 24+22 */
        #st-footer-host .st-footer-bg[data-header-theme="void-station"] .st-footer-inner { padding-left:52px !important; padding-right:52px !important; } /* 24+28 */
        #st-footer-host .st-footer-bg[data-header-theme="corporate"] .st-footer-inner { padding-left:56px !important; padding-right:56px !important; } /* 24+32 */
        #st-footer-host .st-footer-bg[data-header-theme="layered-panel"] .st-footer-inner { padding-left:66px !important; padding-right:66px !important; } /* 24+42 */
        #st-footer-host .st-footer-bg[data-header-theme="default"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="atelier"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="orbit"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="studio"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="luxury-realestate-dark"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="scifi"] .st-footer-inner { padding-left:24px !important; padding-right:24px !important; } /* 24+0 */
        /* Bo padding ngang row footer o cac theme core da set san (tranh cong trung) */
        #st-footer-host .st-footer-bg[data-header-theme="corporate"] .st-footer-tree-content .st-footer-row,
        #st-footer-host .st-footer-bg[data-header-theme="tech"] .st-footer-tree-content .st-footer-row,
        #st-footer-host .st-footer-bg[data-header-theme="orbit"] .st-footer-tree-content .st-footer-row { padding-left:0 !important; padding-right:0 !important; }
        /* Mobile: shell header = 0 => footer inner = dung le ngang row logo mobile */
        @media (max-width:1023px) {
        #st-footer-host .st-footer-bg[data-header-theme="scifi"] .st-footer-inner { padding-left:16px !important; padding-right:16px !important; } /* 0+16 */
        #st-footer-host .st-footer-bg[data-header-theme="company-panel"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-slim"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-center"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-grid"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="company-mega"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="void-station"] .st-footer-inner { padding-left:14px !important; padding-right:14px !important; } /* 0+14 */
        #st-footer-host .st-footer-bg[data-header-theme="saigon-retro"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="layered-panel"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="corporate"] .st-footer-inner { padding-left:12px !important; padding-right:12px !important; } /* 0+12 */
        #st-footer-host .st-footer-bg[data-header-theme="default"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="atelier"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="orbit"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="studio"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="luxury-realestate-dark"] .st-footer-inner,
        #st-footer-host .st-footer-bg[data-header-theme="tech"] .st-footer-inner { padding-left:0px !important; padding-right:0px !important; } /* 0+0 */
        }


        body.st-device-preview-desktop .st-footer-tree-content [data-footer-layout-device="desktop"],
        body.st-device-preview-mobile .st-footer-tree-content [data-footer-layout-device="mobile"] { display:block; }
        body.st-device-preview-desktop .st-footer-tree-content [data-footer-layout-device="mobile"],
        body.st-device-preview-mobile .st-footer-tree-content [data-footer-layout-device="desktop"] { display:none; }
        .st-footer-node-badge { display:none; position:absolute; top:0; left:0; right:auto; z-index:10; width:24px; height:24px; padding:0; border:2px solid #fff; background:#ec4899; color:#fff; cursor:pointer; align-items:center; justify-content:center; }
        .st-footer-node-block > .st-footer-node-badge { left:auto; right:0; }
        body:is(.live-update-mode,.live-edit-hover):not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-node:hover:not(:has(.st-footer-node:hover)) { outline:2px solid #ec4899; outline-offset:0; }
        body:is(.live-update-mode,.live-edit-hover):not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-node:hover:not(:has(.st-footer-node:hover)) > .st-footer-node-badge { display:inline-flex; }
        body:is(.live-update-mode,.live-edit-hover):not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-node:empty { min-height:40px; }
        body:is(.live-update-mode,.live-edit-hover):not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-node:not(:has(.st-footer-node)):has(> .st-footer-node-badge) { min-height:32px; }
        .st-footer-content {
            display: grid;
            gap: 20px;
        }
        .st-footer-layout-1 {
            grid-template-columns: minmax(0, 1fr);
        }
        .st-footer-layout-2 {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
        .st-footer-layout-3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
        .st-footer-column {
            display: grid;
            gap: 16px;
            align-content: start;
            min-width: 0;
        }
        .st-footer-block {
            display: grid;
            gap: 10px;
            min-width: 0;
            padding: 14px;
            box-sizing: border-box;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block {
            border: 1px dashed transparent;
            border-radius: 12px;
            transition: border-color 0.18s ease, background-color 0.18s ease;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block:hover,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block:focus-within,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block.st-footer-block-badge-active,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block.st-footer-inline-editing {
            border-color: rgba(148, 163, 184, 0.9);
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block:hover {
            border-color: #fb7185;
            background: rgba(251, 113, 133, 0.08);
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer {
            transition: outline 0.18s ease, outline-color 0.18s ease;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer:hover,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer:focus-within {
            outline: 2px dashed rgba(148, 163, 184, 0.9);
            outline-offset: -3px;
        }
        .st-footer-block-title {
            font-size: 13px;
            font-weight: 600;
            color: #0f172a;
            letter-spacing: 0.01em;
        }
        .st-footer-brand {
            font-weight: 600;
            color: #0f172a;
        }
        .st-footer-text {
            color: inherit;
            white-space: pre-wrap;
        }
        .st-footer-contact {
            display: grid;
            gap: 8px;
        }
        .st-footer-contact-item {
            display: flex;
            gap: 8px;
            align-items: flex-start;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block-contact .st-footer-contact-item[data-footer-contact-field] {
            position: relative;
            min-height: 28px;
            padding: 5px 34px 5px 6px;
            border: 1px dashed transparent;
            border-radius: 8px;
            transition: border-color 0.18s ease, background-color 0.18s ease;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block-contact .st-footer-contact-item[data-footer-contact-field]:hover,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block-contact .st-footer-contact-item[data-footer-contact-field]:focus-within,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-footer-block-contact .st-footer-contact-item.st-footer-contact-field-active {
            border-color: #64748b;
            background: rgba(148, 163, 184, 0.12);
        }
        .st-footer-contact-item span {
            min-width: 0;
        }
        .st-footer-contact-item-empty {
            color: #94a3b8;
            font-style: italic;
        }
        .st-footer-contact-item b {
            min-width: 24px;
            font-weight: 600;
            color: #334155;
        }
        .st-footer-contact-icon {
            width: 22px;
            height: 22px;
            min-width: 22px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: currentColor;
            line-height: 0;
        }
        .st-footer-contact-icon svg,
        .st-footer-contact-empty-icon svg {
            width: 18px;
            height: 18px;
            display: block;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.7;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        .st-footer-contact-empty {
            display: flex;
            align-items: center;
            gap: 9px;
            min-height: 30px;
            color: #94a3b8;
            font-size: 13px;
            line-height: 1.45;
        }
        .st-footer-contact-empty-icon {
            width: 28px;
            height: 28px;
            min-width: 28px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border: 1px solid currentColor;
            border-radius: 9px;
            opacity: .78;
        }
        .st-contact-body {
            display: grid;
            gap: 10px;
        }
        .st-contact-row {
            display: flex;
            align-items: flex-start;
            gap: 10px;
        }
        .st-contact-icon {
            font-size: 18px;
            line-height: 1.4;
            flex-shrink: 0;
        }
        .st-contact-links {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 6px;
        }
        .st-contact-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 999px;
            background: #f8fafc;
            color: #0f172a;
            text-decoration: none;
            font-size: 13px;
            font-weight: 600;
            transition: background .2s ease;
            white-space: nowrap;
        }
        .st-contact-link:hover {
            background: #e2e8f0;
        }
        .st-contact-link-zalo {
            background: #e8f0fe;
            color: #1a56db;
            border-color: #bfdbfe;
        }
        .st-contact-link-zalo:hover {
            background: #dbeafe;
        }
        .st-contact-link-copy {
            font-family: inherit;
        }
        .st-contact-phone-num,
        .st-contact-address-text {
            font-size: 13px;
            color: #64748b;
            line-height: 1.4;
        }
        .st-footer-links {
            display: grid;
            gap: 8px;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .st-footer-link-item {
            margin: 0;
            padding: 0;
        }
        .st-footer-link {
            color: #475569;
            text-decoration: none;
            transition: color 0.18s ease;
            word-break: break-word;
        }
        .st-footer-link:hover {
            color: var(--st-website-primary-color, #2563eb);
        }
        /* Link “Đăng nhập / Quản lý web” ở footer (block login + link footer phụ):
           bám màu chữ của khu vực footer theo theme (color: inherit) thay vì màu link
           mặc định của trình duyệt (xanh đậm) — trước đây chìm hẳn trên footer nền tối.
           Icon dùng fill="currentColor" nên đổi màu theo luôn. */
        .st-footer-login-link {
            color: inherit;
            text-decoration: none;
        }
        .st-footer-login-link:hover {
            color: inherit;
            text-decoration: underline;
        }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer-login-link { color: #cbd5e1; }
        #st-footer-host .st-footer-bg[data-footer-theme="dark"] .st-footer-login-link:hover { color: #fff; }
        .st-footer-empty {
            color: #94a3b8;
            font-size: 13px;
        }
        .st-second-footer {
            width: 100%;
        }
        .st-second-footer-inner {
            width: var(--st-layout-width, min(800px, calc(100% - 32px)));
            max-width: var(--st-layout-max-width, 100%);
            margin-left: var(--st-layout-margin-left, auto);
            margin-right: var(--st-layout-margin-right, auto);
            padding: var(--sf-pad-y, 20px) 24px var(--sf-pad-y, 20px) 24px;
            padding-left: var(--st-layout-padding-left, 24px);
            padding-right: var(--st-layout-padding-right, 24px);
            box-sizing: border-box;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 8px 0;
        }
        .st-second-footer-block {
            min-width: 0;
            width: auto;
            padding: 0;
            color: #94a3b8;
            font-size: 13px;
            white-space: pre-wrap;
            word-break: break-word;
            box-sizing: border-box;
            display: flex;
            align-items: center;
            gap: 0 10px;
            min-height: 40px;
        }
        .st-second-footer-block-copyright {
            padding-left: 14px;
        }
        .st-copy-btn {
            flex-shrink: 0;
            display: inline-flex;
            align-items: center;
            cursor: pointer;
            opacity: 0.4;
            color: inherit;
            transition: opacity 0.15s ease, color 0.15s ease;
        }
        .st-copy-btn:hover { opacity: 0.9; color: var(--st-website-primary-color, #2563eb); }
        .st-copy-btn.st-copy-done { opacity: 1; color: #22c55e; }
        .st-copy-check { display: none; }
        .st-copy-done .st-copy-icon { display: none; }
        .st-copy-done .st-copy-check { display: inline; }
        .st-second-footer-block-menu {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: flex-end;
            gap: 8px 14px;
        }
        .st-second-footer-block-copyright {
            flex: 1 1 260px;
        }
        .st-second-footer-block-login {
            margin-left: auto;
            margin-right: 14px;
            position: relative;
            z-index: 2;
        }
        .st-second-footer-link {
            color: inherit;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            line-height: 1.45;
        }
        body.live-update-mode .st-second-footer-block-login .st-second-footer-link {
            position: relative;
            z-index: 3;
        }
        .st-second-footer-link .st-footer-login-icon {
            width: 18px;
            height: 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            margin-right: 8px;
            flex: 0 0 auto;
        }
        .st-second-footer-link .st-footer-login-icon svg { width: 18px; height: 18px; display: block; }
        .st-second-footer-link:hover {
            color: var(--st-website-primary-color, #2563eb);
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block {
            padding: 8px 10px;
            border: 1px dashed transparent;
            border-radius: 8px;
            transition: border-color 0.18s ease, background-color 0.18s ease;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block-copyright {
            padding: 0 14px;
            border-width: 0;
            outline: 1px dashed transparent;
            outline-offset: -1px;
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block:hover,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block:focus-within,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block.st-footer-inline-editing {
            border-color: #64748b;
            background: rgba(148, 163, 184, 0.08);
        }
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block-copyright:hover,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block-copyright:focus-within,
        body.live-update-mode:not(.st-body-edit-only):not(.st-header-edit-only):not(.st-region-edit-focus-header) .st-second-footer-block-copyright.st-footer-inline-editing {
            border-color: transparent;
            outline-color: #64748b;
            background: rgba(148, 163, 184, 0.08);
        }
        body.live-update-mode .st-footer-bg {
            margin-bottom: 96px;
        }
        .st-footer-copy {
            color: #94a3b8;
            font-size: 13px;
            white-space: pre-wrap;
            word-break: break-word;
        }
        .st-footer-draft-notice {
            width: 100%;
            color: rgba(148, 163, 184, 0.9);
            font-size: 12px;
            line-height: 1.4;
            text-align: center;
        }
        .st-footer-draft-row {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 24px;
            padding-top: 12px;
            border-top: 1px solid rgba(148, 163, 184, 0.24);
            box-sizing: border-box;
        }

        /* Mobile Bottom Actions Bar */
        #st-actions {
            display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 48px;
            background: #f8f9fa; border-top: 1px solid #eee; z-index: 99998;
            justify-content: space-around; align-items: center; gap: 4px; padding: 0 6px;
            box-shadow: 0 -5px 18px rgba(0,0,0,0.08);
        }
        .st-action-btn {
            flex: 1; height: 36px; border: 1px solid #ddd; border-radius: 8px;
            background: #fff; color: #51606f; font-size: 10px; font-weight: 600;
            cursor: pointer; transition: 0.2s; display: flex; flex-direction: column;
            align-items: center; justify-content: center; gap: 2px; padding: 0;
        }
        .st-action-btn:hover { background: #f1f3f5; border-color: #ccc; }
        .st-action-btn.active { background: var(--st-website-primary-color); color: #fff; border-color: var(--st-website-primary-color); }
        .st-action-btn:disabled { opacity: 0.5; cursor: not-allowed; }
        .st-section.st-new-section:not(.st-product) { outline: none; cursor: pointer; }
        .st-section.st-new-section.st-product { outline: none; }
        .st-section.st-new-section:not(.st-product):hover { outline: none; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text *,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text *:hover { cursor: default !important; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle:hover {
            cursor: ew-resize !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-top,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-top:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-top,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-top:hover {
            cursor: ns-resize !important;
        }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-bottom,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-bottom:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-bottom,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-text .st-block-resize-handle-bottom:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading .st-block-resize-handle-bottom,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading .st-block-resize-handle-bottom:hover,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading .st-block-resize-handle-bottom,
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section.st-heading .st-block-resize-handle-bottom:hover {
            cursor: ns-resize !important;
        }
        @keyframes st-text-effect-unit {
            from { opacity: 0; transform: translateY(8px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes st-text-effect-rise-track {
            from { transform: translateY(100%); }
            to { transform: translateY(0); }
        }
        .st-section.st-text[data-text-effect="rise"] > .st-text-content {
            overflow: hidden;
        }
        .st-section.st-text[data-text-effect="rise"] > .st-text-content > .st-text-effect-track {
            animation: st-text-effect-rise-track var(--st-text-effect-duration, 2000ms) cubic-bezier(.22,1,.36,1) var(--st-text-effect-iterations, 1) var(--st-text-effect-direction, normal) both;
        }
        .st-section.st-text[data-text-effect="char"] .st-text-effect-unit,
        .st-section.st-text[data-text-effect="word"] .st-text-effect-unit,
        .st-section.st-text[data-text-effect="line"] .st-text-effect-unit,
        .st-section.st-text[data-text-effect="sentence"] .st-text-effect-unit {
            display: inline-block;
            animation: st-text-effect-unit 520ms cubic-bezier(.22,1,.36,1) both;
        }
        .st-section.st-text[data-text-effect="char"] .st-text-effect-word-group {
            white-space: nowrap;
        }
        .st-section.st-section-editing { background: rgba(219, 234, 254, 0.6); }

        /* Block visibility: hide on mobile / desktop */
        @media (max-width: 768px) {
            .st-section.st-hide-mobile { display: none !important; }
        }
        @media (min-width: 769px) {
            .st-section.st-hide-desktop { display: none !important; }
        }

        /* Kiểu hiển thị (display): block đặt display:none phải vẫn chọn được
           khi đang chỉnh sửa — hiện mờ, viền nét đứt thay vì biến mất. */
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="display:none"],
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="display: none"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="display:none"],
        body.live-edit-hover:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[style*="display: none"] {
            display: block !important;
            opacity: 0.45;
            outline: 1px dashed #94a3b8;
            outline-offset: -1px;
        }

        /* Mobile Responsive */
        @media (max-width: 768px) {
            body { padding-bottom: 0 !important; }
            #st-actions { display: none !important; }
            #st-menu { top: 70px; }
            .st-footer-content {
                grid-template-columns: minmax(0, 1fr) !important;
            }
            /* When footer columns stack on small screens, add separators between them
               Use same style as copyright divider (.st-footer-copy border-top) */
            .st-footer-column {
                padding-bottom: 16px;
            }
            .st-footer-column:not(:last-child) {
                border-bottom: 1px solid #e2e8f0;
                margin-bottom: 20px;
                padding-bottom: 16px;
            }
            .st-second-footer-block-login {
                margin-right: 16px;
            }
        }
        /* Non-WP mobile: container padding + auto height + image no-crop */
        @media (max-width: 768px) {
            body.st-non-wp .st-section.st-container {
                padding-left: 0 !important;
                padding-right: 0 !important;
                height: auto !important;
                min-height: 0 !important;
            }
            body.st-non-wp .st-section[data-section-type="image"]:not([style*="height:"]) {
                height: auto !important;
            }
            body.st-non-wp .st-section[data-section-type="image"] .st-imgblk-wrap {
                height: auto !important;
                overflow: hidden !important;
            }
            body.st-non-wp .st-section[data-section-type="image"] .st-imgblk-frame {
                height: auto !important;
                overflow: hidden !important;
            }
            body.st-non-wp .st-section[data-section-type="image"] .st-imgblk-img:not(.st-imgblk-gallery-item) {
                height: auto !important;
                object-fit: contain !important;
                width: 100% !important;
                transform: none !important;
            }
            body.st-non-wp .st-section[data-section-type="image"] .st-imgblk-wrap[data-imgblk-fit="original"] .st-imgblk-img:not(.st-imgblk-gallery-item) {
                width: auto !important;
                max-width: 100% !important;
            }
        }
        /* ── Image Block Slider ── */
        .st-imgblk-wrap { width: 100%; height: auto; box-sizing: border-box; flex: 0 0 auto; min-height: 0; }
        .st-imgblk-img { max-width: 100%; width: 100%; height: auto; display: block; margin: 0 auto; border-radius: 0; cursor: pointer; opacity: 0; transition: opacity 0.35s ease; }
        .st-imgblk-img.st-imgblk-loaded { opacity: 1; }
        .st-imgblk-frame { position: relative; width: 100%; height: auto; box-sizing: border-box; transition: box-shadow 0.16s ease; background: #e2e8f0; flex: 0 0 auto; min-height: 0; }
        .st-imgblk-frame::before {
            content: '';
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
            background-size: 200% 100%;
            animation: st-imgblk-shimmer 1.4s infinite;
            pointer-events: none;
        }
        .st-imgblk-frame::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            z-index: 1;
            width: 28px;
            height: 28px;
            border: 3px solid #cbd5e1;
            border-top-color: #2563eb;
            border-radius: 50%;
            animation: st-imgblk-spin 0.8s linear infinite;
            pointer-events: none;
        }
        .st-imgblk-frame:has(.st-imgblk-loaded)::before,
        .st-imgblk-frame:has(.st-imgblk-loaded)::after,
        .st-imgblk-frame:has(.st-imgblk-img[src=''])::before,
        .st-imgblk-frame:has(.st-imgblk-img[src=''])::after,
        .st-imgblk-frame:has(.st-imgblk-img:not([src]))::before,
        .st-imgblk-frame:has(.st-imgblk-img:not([src]))::after { display: none; }
        @keyframes st-imgblk-shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        @keyframes st-imgblk-spin {
            to { transform: translate(-50%, -50%) rotate(360deg); }
        }
        .st-imgblk-frame .st-imgblk-img { max-width: 100%; width: 100%; height: auto; margin: 0 auto; position: relative; z-index: 2; }
        .st-section[data-section-type="image"] { width: 100%; height: auto; box-sizing: border-box; display: flex; flex-direction: column; }
        .st-section[data-section-type="image"] .st-image-upload-wrapper { width: 100%; height: 180px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #f1f5f9; }
        .st-section[data-section-type="image"] .st-image-upload-wrapper img { width: 100%; height: 100%; display: block; object-fit: contain !important; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"] { position: relative; isolation: isolate; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"]:hover,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"].st-section-highlighted { outline: none; }
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"]:hover::after,
        body.live-update-mode:not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) .st-section[data-section-type="image"].st-section-highlighted::after {
            content: "";
            position: absolute;
            left: -3px;
            top: -3px;
            right: -3px;
            bottom: -3px;
            width: auto;
            height: auto;
            z-index: 100032;
            pointer-events: none;
            border: 2px solid #ffb6c1;
            box-sizing: border-box;
            background: none;
            opacity: 1;
        }
        .st-imgblk-caption { box-sizing: border-box; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
        .st-imgblk-caption-below { width: 100%; margin: 0 auto; color: #334155; text-align: center; }
        .st-imgblk-caption-overlay {
            position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
            padding: 12px 14px; color: #fff; text-align: center;
            background: rgba(15,23,42,0.72);
            pointer-events: none;
        }
        .st-imgblk-nav {
            position: absolute; top: 50%; transform: translateY(-50%);
            width: 36px; height: 36px; border: none; border-radius: 50%;
            background: rgba(255,255,255,0.92); color: #0f172a; font-size: 22px; line-height: 1;
            cursor: pointer; box-shadow: 0 4px 14px rgba(15,23,42,0.14); z-index: 2;
            display: inline-flex; align-items: center; justify-content: center; padding: 0;
            transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease, box-shadow 0.16s ease;
        }
        .st-imgblk-nav:not(:disabled):not(.st-imgblk-nav-disabled):hover {
            background: rgba(15,23,42,0.74);
            color: #fff;
            box-shadow: 0 8px 20px rgba(15,23,42,0.22);
        }
        .st-imgblk-nav:disabled,
        .st-imgblk-nav-disabled {
            background: rgba(15,23,42,0.22);
            color: rgba(255,255,255,0.72);
            cursor: default;
            box-shadow: none;
            opacity: 0.62;
        }
        .st-imgblk-prev { left: 10px; }
        .st-imgblk-next { right: 10px; }
        .st-imgblk-dots { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
        .st-imgblk-dot { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; transition: background 0.18s, transform 0.18s; display: inline-block; border: none; padding: 0; cursor: pointer; }
        .st-imgblk-dot:hover { transform: scale(1.18); }
        .st-imgblk-dot-active { background: #2563eb; }
        .st-imgblk-nav-row {
            display: flex; align-items: center; justify-content: center; gap: 14px;
            width: 100%; box-sizing: border-box; padding: 8px 0;
        }
        .st-imgblk-nav-row-btn {
            flex: 0 0 auto; width: 32px; height: 32px; border: none; border-radius: 50%;
            background: rgba(15,23,42,0.06); color: #0f172a; cursor: pointer; padding: 0;
            display: inline-flex; align-items: center; justify-content: center;
            transition: background-color 0.16s ease, color 0.16s ease, opacity 0.16s ease;
        }
        .st-imgblk-nav-row-btn:hover:not(:disabled) { background: rgba(15,23,42,0.12); }
        .st-imgblk-nav-row-btn:disabled { opacity: 0.35; cursor: default; }
        .st-imgblk-nav-row-count { min-width: 46px; text-align: center; color: #334155; font-size: 13px; font-weight: 600; }
        .st-imgblk-nav-dots { display: flex; align-items: center; gap: 6px; }
        .st-imgblk-nav-dot {
            width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; border: none; padding: 0;
            cursor: pointer; transition: background-color 0.18s ease, transform 0.18s ease;
        }
        .st-imgblk-nav-dot:hover { transform: scale(1.2); }
        .st-imgblk-nav-dot-active { background: #2563eb; }
        .st-section[data-section-type="image"] .st-imgblk-nav-row[data-imgblk-nav-row="top"] { order: -1; }
        .st-imgblk-counter {
            position: absolute; right: 10px; bottom: 10px; z-index: 2;
            padding: 3px 8px; border-radius: 999px; background: rgba(15,23,42,0.55);
            color: #fff; font-size: 11px; font-weight: 600; pointer-events: none;
        }
        @media (max-width: 640px) {
            body.st-mobile-image-bleed-enabled .st-page-surface > .st-section[data-section-type="image"] {
                width: calc(100% + var(--st-mobile-image-bleed-left, 0px) + var(--st-mobile-image-bleed-right, 0px));
                margin-left: calc(-1 * var(--st-mobile-image-bleed-left, 0px)) !important;
                margin-right: calc(-1 * var(--st-mobile-image-bleed-right, 0px)) !important;
                border-radius: 0 !important;
            }
            body.st-mobile-image-bleed-enabled .st-page-surface > .st-section[data-section-type="image"] .st-imgblk-frame {
                border-radius: 0 !important;
            }
            .st-section[data-section-type="image"] {
                overflow-x: hidden;
                padding: 0 !important;
            }
            .st-section[data-section-type="image"] .st-imgblk-wrap {
                width: 100% !important;
                height: auto !important;
                overflow: hidden;
                text-align: left;
                position: relative;
            }
            .st-section[data-section-type="image"] .st-imgblk-frame {
                width: 100% !important;
                height: auto !important;
                max-width: 100% !important;
                margin: 0 !important;
                transform: none !important;
                position: relative;
                overflow: hidden !important;
            }
            .st-section[data-section-type="image"] .st-imgblk-img {
                transform: none !important;
            }
            /* Keep SVG icon images centered inside narrow mobile split cells. */
            .st-section[data-section-type="image"] .st-imgblk-wrap:has(.st-imgblk-img[src^="data:image/svg+xml"]) {
                text-align: center !important;
            }
            .st-section[data-section-type="image"] .st-imgblk-frame:has(.st-imgblk-img[src^="data:image/svg+xml"]) {
                width: auto !important;
                margin-left: auto !important;
                margin-right: auto !important;
            }
            .st-section[data-section-type="image"] .st-imgblk-frame:has(.st-imgblk-img[src^="data:image/svg+xml"]) .st-imgblk-img {
                width: auto !important;
                max-width: 100% !important;
                margin-left: auto !important;
                margin-right: auto !important;
                object-fit: contain !important;
            }
            .st-section[data-section-type="image"] .st-imgblk-caption-below {
                width: 100% !important;
                margin-left: 0 !important;
                margin-right: 0 !important;
                padding-left: 12px;
                padding-right: 12px;
            }
        }
        /* ── Image Block Gallery Lightbox ── */
        .st-imgblk-gallery {
            display: none; position: fixed; inset: 0; z-index: 10000021;
            align-items: center; justify-content: center; background: rgba(0,0,0,0.92);
        }
        .st-imgblk-gallery.active { display: flex; }
        /* ── Image Block Gallery Grid Layout ── */
        .st-imgblk-gallery-grid { width: 100%; min-width: 0; }
        .st-imgblk-gallery-container { width: 100%; min-width: 0; }
        .st-imgblk-gallery-container > .st-imgblk-gallery-grid-card { min-width: 0; max-width: 100%; }
        .st-imgblk-gallery-grid-card > .st-imgblk-gallery-item { min-width: 0; max-width: 100%; }
        .st-imgblk-image-actions {
            position: absolute; top: 10px; right: 10px; z-index: 20;
            display: flex; align-items: center; gap: 6px;
            opacity: 0; pointer-events: none; transition: opacity .16s ease;
        }
        .st-imgblk-image-actions > a,
        .st-imgblk-image-actions > button {
            width: 36px; height: 36px; padding: 0; border: 1px solid rgba(255,255,255,.7);
            border-radius: 999px; background: rgba(15,23,42,.78); color: #fff;
            display: inline-flex; align-items: center; justify-content: center;
            cursor: pointer; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.24);
        }
        .st-imgblk-image-actions svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
        .st-imgblk-image-actions > a:focus-visible,
        .st-imgblk-image-actions > button:focus-visible { outline: 3px solid #60a5fa; outline-offset: 2px; }
        .st-imgblk-gallery-grid-card:hover .st-imgblk-image-actions,
        .st-imgblk-gallery-grid-card:focus-within .st-imgblk-image-actions,
        .st-imgblk-frame:hover .st-imgblk-image-actions,
        .st-imgblk-frame:focus-within .st-imgblk-image-actions { opacity: 1; pointer-events: auto; }
        .st-imgblk-image-actions > [hidden] { display: none !important; }
        @media (hover: none), (max-width: 768px) {
            .st-imgblk-image-actions { opacity: 1; pointer-events: auto; }
        }
        @media (max-width: 768px) {
            .st-section[data-section-type="image"] {
                height: auto !important;
                min-height: 0 !important;
                padding-top: 0 !important;
                padding-bottom: 0 !important;
            }
            .st-imgblk-gallery-grid-card > .st-imgblk-gallery-item {
                height: clamp(80px, 28vw, 140px) !important;
            }
        }
        /* A gallery's height is determined by its rows; a shared block resize must not clip images. */
        .st-section[data-section-type="image"]:has(.st-imgblk-gallery-grid) {
            min-height: 0 !important;
            overflow: visible !important;
        }
        .st-imgblk-gallery-item { transition: transform .18s ease, box-shadow .18s ease; }
        .st-imgblk-gallery-item:hover { transform: scale(1.02); box-shadow: 0 6px 20px rgba(0,0,0,0.18); }
        .st-imgblk-gallery-card {
            position: relative; display: flex; flex-direction: column;
            width: 100vw; height: 100vh; background: transparent; overflow: hidden; z-index: 1;
        }
        .st-imgblk-gallery-close {
            position: fixed; top: max(12px, env(safe-area-inset-top)); right: max(12px, env(safe-area-inset-right)); z-index: 10000022;
            width: 42px; height: 42px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%;
            background: rgba(0,0,0,0.45); color: #fff; font-size: 24px; cursor: pointer;
            display: inline-flex; align-items: center; justify-content: center;
            box-shadow: 0 10px 28px rgba(0,0,0,0.35);
        }
        .st-imgblk-gallery-stage {
            flex: 1 1 auto; min-height: 0; position: relative;
            display: flex; align-items: center; justify-content: center;
            background: transparent; padding: 0; touch-action: pan-y;
        }
        .st-imgblk-gallery-main {
            max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); object-fit: contain; border-radius: 6px; display: block;
            background: transparent;
        }
        .st-imgblk-gallery-nav {
            position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
            width: 48px; height: 48px; border: none; border-radius: 50%;
            background: rgba(255,255,255,0.88); color: #0f172a; font-size: 26px; line-height: 1;
            cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.25);
            display: inline-flex; align-items: center; justify-content: center; padding: 0;
            transition: background .15s ease, opacity .15s ease;
        }
        .st-imgblk-gallery-nav:hover { background: #fff; }
        .st-imgblk-gallery-nav:disabled { opacity: 0.3; cursor: default; }
        .st-imgblk-gallery-prev { left: 16px; }
        .st-imgblk-gallery-next { right: 16px; }
        .st-imgblk-gallery-thumbs {
            position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
            display: flex; gap: 8px; padding: 12px 16px;
            overflow-x: auto; justify-content: safe center;
            background: rgba(0,0,0,0.45);
            backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
            scrollbar-width: thin;
        }
        .st-imgblk-gallery-thumb {
            flex-shrink: 0; border: 2px solid rgba(255,255,255,0.35); border-radius: 10px;
            padding: 0; background: rgba(0,0,0,0.3); cursor: pointer; overflow: hidden; transition: border-color .12s, transform .12s;
        }
        .st-imgblk-gallery-thumb:hover { transform: scale(1.04); }
        .st-imgblk-gallery-thumb.active { border-color: #38bdf8; }
        .st-imgblk-gallery-thumb img { width: 72px; height: 72px; object-fit: cover; display: block; }
        .st-imgblk-gallery-main { cursor: zoom-in; }
        .st-imgblk-gallery-single .st-imgblk-gallery-stage { padding: 0; }
        .st-imgblk-gallery-single .st-imgblk-gallery-main {
            max-width: 100vw; max-height: 100vh; border-radius: 0; cursor: zoom-out;
        }
        .st-imgblk-gallery-single .st-imgblk-gallery-nav,
        .st-imgblk-gallery-single .st-imgblk-gallery-thumbs,
        .st-imgblk-gallery-single .st-imgblk-gallery-close { display: none !important; }
        @media (max-width: 640px) {
            .st-imgblk-gallery-main {
                width: 100vw; max-width: 100vw; max-height: calc(100vh - 24px);
                border-radius: 6px;
            }
            .st-imgblk-gallery-close {
                top: max(10px, env(safe-area-inset-top));
                right: max(10px, env(safe-area-inset-right));
                width: 38px; height: 38px; font-size: 22px;
            }
            .st-imgblk-gallery-nav { width: 40px; height: 40px; font-size: 22px; }
            .st-imgblk-gallery-prev { left: 8px; }
            .st-imgblk-gallery-next { right: 8px; }
            .st-imgblk-gallery-thumbs { padding: 8px 12px max(8px, env(safe-area-inset-bottom)); gap: 6px; }
            .st-imgblk-gallery-thumb img { width: 56px; height: 56px; }
        }
/* STREET_RUNTIME_EXTRACT_END */
        /* Keep the account/manage control inside the draggable global toolbar. */
        #st-float-toolbar #st-user-button {
            position: static !important;
            top: auto !important;
            right: auto !important;
            bottom: auto !important;
            left: auto !important;
            z-index: auto !important;
            width: 28px !important;
            height: 28px !important;
            min-width: 28px !important;
            padding: 0 !important;
            border-radius: 4px !important;
            background: rgba(255,255,255,0.14) !important;
            border: 1px solid rgba(255,255,255,0.14) !important;
            color: #f8fafc !important;
            box-shadow: none !important;
            transform: none !important;
        }
        #st-float-toolbar #st-user-button:hover,
        #st-float-toolbar #st-user-button.is-menu-open {
            background: rgba(255,255,255,0.24) !important;
            color: #fff !important;
            transform: scale(1.08) !important;
        }
        #st-float-toolbar.compact > #st-user-button {
            display: inline-flex !important;
            width: 28px !important;
            height: 28px !important;
            min-width: 28px !important;
        }

/* Header responsive manager controls must override the legacy popup button rule. */
#st-user-theme-content #st-header-mobile-layout-manager button[data-m-block-toggle],
#st-user-theme-content #st-header-mobile-layout-manager button[data-m-block-add],
#st-user-theme-content #st-header-mobile-layout-manager button[data-m-row-add] { font-size:14px !important; font-weight:500 !important; line-height:1.2 !important; }
#st-user-theme-content #st-header-group-manager [data-hg-remove] svg,
#st-user-theme-content #st-header-group-manager [data-hg-delete-root] svg { width:18px !important; height:18px !important; min-width:18px !important; flex:0 0 18px !important; display:block !important; }

/* Story block: stack copy and image on narrow screens. */
@media (max-width: 767px) {
    .st-story-layout { flex-direction: column !important; align-items: stretch !important; gap: 16px !important; }
    .st-story-layout > .st-story-copy,
    .st-story-layout > img { width: 100%; max-width: 100%; box-sizing: border-box; }
}
/* Story mobile order: image first, then copy. */
@media (max-width: 767px) {
    .st-story-layout > .st-story-image { order: 0; }
    .st-story-layout > .st-story-copy { order: 1; }
}/* Advanced story template stacks image and copy on small screens. */
@media (max-width: 767px) {
    .st-advanced-story-layout { flex-direction: column !important; align-items: stretch !important; gap: 20px !important; }
    .st-advanced-story-layout > img { width: 100% !important; max-width: 100% !important; flex: 0 0 auto !important; }
    .st-advanced-story-layout > div { width: 100% !important; max-width: 100% !important; min-width: 0 !important; flex: 1 1 auto !important; }
}
/* Advanced story background bleeds through parent gutters on mobile. */
@media (max-width: 767px) {
    .st-advanced-story {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        box-sizing: border-box !important;
    }
}/* Content template backgrounds run edge to edge on narrow screens. */
@media (max-width: 767px) {
    .st-section.st-pricing,
    .st-section.st-proof,
    .st-section.st-logos,
    .st-section.st-faq,
    .st-section.st-rail,
    .st-section.st-slider,
    .st-section.st-collection,
    .st-section.st-story,
    .st-section.st-comparison,
    .st-section.st-map,
    .st-section.st-lead,
    .st-section.st-reviews,
    .st-section.st-features,
    .st-section.st-newsletter,
    .st-section.st-countdown,
    .st-section.st-booking,
    .st-section.st-beforeafter,
    .st-section.st-timeline,
    .st-section.st-team,
    .st-section.st-portfolio,
    .st-section.st-calculator,
    .st-section.st-jobs,
    .st-section.st-app,
    .st-section.st-html.st-advanced-content-block > .st-html-content > section {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        box-sizing: border-box !important;
    }
}
/* Top-level content areas in template blocks span their full block width. */
.st-section.st-pricing > div,
.st-section.st-proof > div,
.st-section.st-logos > div,
.st-section.st-faq > div,
.st-section.st-rail > div,
.st-section.st-slider > div,
.st-section.st-collection > div,
.st-section.st-story > div,
.st-section.st-comparison > div,
.st-section.st-map > div,
.st-section.st-lead > div,
.st-section.st-reviews > div,
.st-section.st-features > div,
.st-section.st-newsletter > div,
.st-section.st-countdown > div,
.st-section.st-booking > div,
.st-section.st-beforeafter > div,
.st-section.st-timeline > div,
.st-section.st-team > div,
.st-section.st-portfolio > div,
.st-section.st-calculator > div,
.st-section.st-jobs > div,
.st-section.st-app > div {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}
@media (max-width: 767px) {
    .st-section.st-proof .st-proof-items { flex-direction: column !important; }
    .st-section.st-proof .st-proof-item { width: 100%; box-sizing: border-box; }
}/* Override inline content caps in template renderers. */
.st-section.st-pricing > div,
.st-section.st-proof > div,
.st-section.st-logos > div,
.st-section.st-faq > div,
.st-section.st-rail > div,
.st-section.st-slider > div,
.st-section.st-collection > div,
.st-section.st-story > div,
.st-section.st-comparison > div,
.st-section.st-map > div,
.st-section.st-lead > div,
.st-section.st-reviews > div,
.st-section.st-features > div,
.st-section.st-newsletter > div,
.st-section.st-countdown > div,
.st-section.st-booking > div,
.st-section.st-beforeafter > div,
.st-section.st-timeline > div,
.st-section.st-team > div,
.st-section.st-portfolio > div,
.st-section.st-calculator > div,
.st-section.st-jobs > div,
.st-section.st-app > div {
    width: 100% !important;
    max-width: none !important;
}

/* Admin bar – quick page navigation ("Trang" dropdown) */
#st-admin-bar > .st-admin-pages { order: 0; position: relative; display: inline-flex; align-items: center; }
#st-admin-bar .st-admin-pages-toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 5px 12px; border: 0; border-radius: 6px; background: transparent; color: #cbd5e1; cursor: pointer; font: 600 13px/1.4 sans-serif; white-space: nowrap; }
#st-admin-bar .st-admin-pages-toggle:hover,
#st-admin-bar .st-admin-pages-toggle[aria-expanded="true"] { background: rgba(255,255,255,.12); color: #fff; }
#st-admin-bar .st-admin-pages-toggle svg { width: 15px; height: 15px; display: block; flex: 0 0 auto; }
#st-admin-bar .st-admin-pages-chevron { transition: transform .15s ease; }
#st-admin-bar .st-admin-pages-toggle[aria-expanded="true"] .st-admin-pages-chevron { transform: rotate(180deg); }
/* Mũi tên xuống của nút "Trang": ĐÚNG 8x8 px như mũi tên nút "Sửa web" (.exit-split-arrow svg).
   Selector phải ĐẶC HIỆU HƠN rule `#st-admin-bar .st-admin-pages-toggle svg { width:15px; }`
   (dành cho icon hamburger), nếu không mũi tên bị phóng to. */
#st-admin-bar .st-admin-pages-toggle svg.st-admin-pages-chevron { width: 8px !important; height: 8px !important; }
#st-admin-bar .st-admin-pages-menu { position: absolute; top: 36px; left: 0; z-index: 2147482000; display: grid; gap: 4px; min-width: 272px; max-width: min(380px, calc(100vw - 24px)); max-height: calc(100vh - 56px); overflow: auto; padding: 6px; box-sizing: border-box; border: 1px solid #334155; border-radius: 0 0 10px 10px; background: #111827; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
#st-admin-bar .st-admin-pages-menu[hidden] { display: none !important; }
#st-admin-bar .st-admin-pages-search input { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid #334155; border-radius: 7px; background: #0f172a; color: #e5e7eb; font: 400 13px/1.4 sans-serif; outline: none; }
#st-admin-bar .st-admin-pages-search input:focus { border-color: #2563eb; }
#st-admin-bar .st-admin-pages-list { display: grid; gap: 2px; }
#st-admin-bar .st-admin-pages-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: #e5e7eb; cursor: pointer; text-align: left; font-family: inherit; }
#st-admin-bar .st-admin-pages-row:hover { background: rgba(255,255,255,.10); }
#st-admin-bar .st-admin-pages-row.is-hidden-page { opacity: .62; }
#st-admin-bar .st-admin-pages-name { grid-column: 1; font-size: 13px; font-weight: 600; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#st-admin-bar .st-admin-pages-meta { grid-column: 1; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; min-width: 0; }
#st-admin-bar .st-admin-pages-badge { padding: 1px 7px; border-radius: 999px; background: rgba(255,255,255,.10); color: #cbd5e1; font: 600 10px/1.5 sans-serif; white-space: nowrap; }
#st-admin-bar .st-admin-pages-badge.popup { background: rgba(236,72,153,.18); color: #f9a8d4; }
#st-admin-bar .st-admin-pages-badge.menu { background: rgba(59,130,246,.18); color: #93c5fd; }
#st-admin-bar .st-admin-pages-badge.draft { background: rgba(234,178,10,.20); color: #fcd34d; }
#st-admin-bar .st-admin-pages-badge.is-off { background: rgba(148,163,184,.18); color: #cbd5e1; }
#st-admin-bar .st-admin-pages-slug { color: #64748b; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
#st-admin-bar .st-admin-pages-current { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: #22c55e; font-size: 12px; line-height: 1; }
#st-admin-bar .st-admin-pages-empty { padding: 10px; color: #94a3b8; font-size: 12px; }
#st-admin-bar .st-admin-pages-create { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; border: 0; border-radius: 7px; background: #2563eb; color: #fff; cursor: pointer; font: 600 12px/1.4 sans-serif; text-align: left; }
#st-admin-bar .st-admin-pages-create:hover { background: #1d4ed8; }
#st-admin-bar .st-admin-pages-create[hidden] { display: none !important; }
#st-admin-bar .st-admin-pages-create:not([hidden]) + .st-admin-pages-manage { border-top: 0; }
#st-admin-bar .st-admin-pages-manage { display: flex; align-items: center; gap: 6px; width: 100%; padding: 8px 10px; border: 0; border-top: 1px solid #1f2937; border-radius: 0 0 7px 7px; background: transparent; color: #93c5fd; cursor: pointer; font: 600 12px/1.4 sans-serif; text-align: left; }
#st-admin-bar .st-admin-pages-manage:hover { background: rgba(255,255,255,.08); }
#st-admin-bar .st-admin-pages-manage[hidden] { display: none !important; }
#st-admin-bar .st-admin-save { order: 1; display: inline-flex; align-items: center; gap: 6px; }
#st-admin-bar .st-admin-save[hidden] { display: none !important; }
#st-admin-bar .st-admin-save-confirm { min-height: 26px; padding: 3px 12px; border: 0; border-radius: 6px; background: #2563eb; color: #fff; font: 600 12px/1.4 sans-serif; cursor: pointer; }
#st-admin-bar .st-admin-save-confirm:hover { background: #1d4ed8; }
#st-admin-bar .st-admin-save-discard { min-height: 26px; padding: 3px 10px; border: 1px solid #334155; border-radius: 6px; background: transparent; color: #cbd5e1; font: 600 12px/1.4 sans-serif; cursor: pointer; }
#st-admin-bar .st-admin-save-discard:hover { background: rgba(255,255,255,.12); color: #fff; }
@media (max-width: 767px) {
    #st-admin-bar .st-admin-pages-label,
    #st-admin-bar .st-admin-pages-chevron { display: none; }
    #st-admin-bar .st-admin-pages-toggle { width: 30px; min-width: 30px; padding: 0; justify-content: center; }
}

/* ── Ô nhập trong các panel setting: bo góc 8px (giống Elementor), đồng nhất bất kể style inline 10px. ── */
.st-managed-popup input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
.st-managed-popup select,
.st-managed-popup textarea,
#st-container-block-edit-popup input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]),
#st-container-block-edit-popup select,
#st-container-block-edit-popup textarea {
    border-radius: 8px !important;
}

/* Query loop block — used by "Trang tổng hợp tự động" and the manual block. */
.st-query-loop .st-ql-item-link:hover .st-ql-item-title {
    color: var(--st-website-primary-color, #2563eb);
}
@media (min-width: 768px) and (max-width: 1024px) {
    .st-query-loop .st-ql-list[style*="grid-template-columns"] {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 767px) {
    .st-query-loop .st-ql-list {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
    }
    .st-query-loop .st-ql-item-media {
        min-height: 160px;
    }
}

/* Khi focus một VÙNG chỉnh sửa (Header/Footer): BODY không còn ở chế độ chỉnh sửa ⇒
   1) overlay chặn tương tác vào body (vùng đang focus được nâng lên trên overlay),
   2) ẩn mọi affordance chỉnh sửa của khối trong body (viền hover, thanh công cụ, badge, tay nắm). */
#st-region-edit-overlay {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; display: none;
    z-index: 100150; background: rgba(15, 23, 42, .16);
}
#st-region-edit-overlay.active { display: block; }
/* Focus nhẹ khi sửa Header/Footer: overlay đậm hơn + làm mờ nhẹ phần trang phía sau.
   Vùng đang sửa nằm NGOÀI vùng overlay (Header: overlay phủ từ đáy header xuống;
   Footer: overlay phủ tới trên footer) nên vẫn sáng rõ; panel trái (z-index ~104700+) nằm
   trên overlay nên vẫn bấm được. */
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #st-region-edit-overlay.active {
    background: rgba(15, 23, 42, .55);
    -webkit-backdrop-filter: blur(2px) saturate(.75);
    backdrop-filter: blur(2px) saturate(.75);
}
/* Mobile: bỏ blur để tránh giật khi cuộn (vẫn giữ nền đậm để tách vùng đang sửa). */
@media (max-width: 767px) {
    body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #st-region-edit-overlay.active {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}
/* Bảo hiểm tầng: khi focus vùng, vùng đang sửa phải LUÔN nổi trên overlay. Runtime cũng nâng
   z-index (setRegionElementElevated) nhưng nhánh restore có thể trả lại z-index cũ ⇒ menu/dropdown
   trong header (z-index thấp hơn overlay) bị chìm dưới overlay ⇒ bị làm mờ và không bấm được. */
body.st-region-edit-focus-header > #street-bar,
body.st-region-edit-focus-header > #st-menu { z-index: 100201 !important; }
body.st-region-edit-focus-footer > #st-footer-host { z-index: 100201 !important; }
/* Nhãn nhắc vùng đang sửa. Nhãn nằm TRONG overlay ⇒ bấm vào nhãn cũng thoát vùng
   (overlay click = window.__STREET_SET_REGION_EDIT_FOCUS('')). Đặt lệch phải để không
   đè lên nút "Chỉnh sửa đầu trang" (canh giữa dưới header) hay tay nắm khối. */
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #st-region-edit-overlay::after {
    position: absolute; right: 16px;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(15, 23, 42, .88); color: #e2e8f0;
    font: 600 12px/1.2 'Inter', sans-serif; letter-spacing: .2px; white-space: nowrap;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .28);
    pointer-events: none; z-index: 1;
}
/* Sửa Header: overlay phủ TỪ DƯỚI header xuống ⇒ nhãn đặt ngay dưới header. */
body.st-region-edit-focus-header #st-region-edit-overlay::after { content: 'Đang sửa: Header · bấm để thoát'; top: 12px; }
/* Sửa Footer: overlay phủ TỚI TRÊN footer ⇒ nhãn đặt ngay trên footer. */
body.st-region-edit-focus-footer #st-region-edit-overlay::after { content: 'Đang sửa: Footer · bấm để thoát'; top: var(--st-region-edit-label-top, 120px); }
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section-floating-actions,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section-floating-actions-events,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-container-cell-floating-actions,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template [class*="edit-badge"],
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template [class*="handle"],
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template [class*="resize"],
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section-menu-popup {
    display: none !important;
}
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section-highlighted,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section:hover,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #house-template .st-section:focus-within {
    box-shadow: none !important;
    outline: none !important;
}

/* ── Bố cục nút trên admin bar (desktop) ─────────────────────────────────────── */
@media (min-width: 768px) {
    /* Nút bật/tắt chỉnh sửa nằm ở MÉP PHẢI, NGAY TRƯỚC cụm (Hủy, Lưu) ⇒ vị trí của nó không đổi
       khi bật/tắt chế độ Sửa (order 3 = sau thanh công cụ (2), trước nhóm Lưu (4)). */
    #st-admin-bar > .exit-split-btn-group {
        order: 3 !important; display: inline-flex !important; align-items: stretch !important;
        align-self: center !important; flex: 0 0 auto !important; height: 28px !important;
        gap: 0 !important; margin-left: 8px; margin-right: 0; border-radius: 4px; overflow: hidden;
    }
    #st-admin-bar > .exit-split-btn-group > .exit {
        display: inline-flex; align-items: center; justify-content: center; gap: 7px;
        width: auto !important; min-width: 0 !important; height: 28px !important;
        padding: 0 12px !important; border: 0 !important; border-radius: 4px 0 0 4px !important;
        background: #1e293b !important; color: #cbd5e1 !important; box-shadow: none !important; cursor: pointer;
        font: 600 13px/1.4 Arial, sans-serif !important; white-space: nowrap;
    }
    /* Nút Sửa ở mép phải có NHÃN CHỮ "Sửa web" (rõ nghĩa hơn icon đơn độc). */
    #st-admin-bar > .exit-split-btn-group > .exit .exit-label { display: inline-block; }
    #st-admin-bar > .exit-split-btn-group > .exit:hover { background: #334155 !important; color: #fff !important; }
    /* Nền XANH = "BODY đang ở chế độ sửa". Khi sửa riêng Header/Footer thì KHÔNG dùng nền xanh
       (nếu xanh sẽ gây hiểu nhầm là body cũng đang edit mode). */
    body.live-update-mode:not(.st-header-edit-only):not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit {
        background: #3b82f6 !important; color: #fff !important;
        box-shadow: 0 8px 24px rgba(59, 130, 246, 0.28) !important;
    }
    body.live-update-mode:not(.st-header-edit-only):not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit:hover {
        background: #2563eb !important;
    }
    /* Sửa riêng vùng: nút vẫn "đang bật" nhưng dùng nền trung tính (đậm) + icon trắng. */
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit {
        background: #1e293b !important; color: #fff !important;
    }
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit:hover {
        background: #334155 !important;
    }
    #st-admin-bar > .exit-split-btn-group > .exit-split-arrow {
        display: inline-flex !important; align-items: center; justify-content: center;
        width: 18px !important; min-width: 18px !important; height: 28px !important;
        padding: 0 !important; border: 0 !important; border-left: 1px solid rgba(255,255,255,.24) !important;
        border-radius: 0 4px 4px 0 !important; background: rgba(255,255,255,.14) !important; color: #cbd5e1 !important;
    }
    #st-admin-bar > .exit-split-btn-group > .exit-split-arrow:hover { background: rgba(255,255,255,.26) !important; color: #fff !important; }
    body.live-update-mode:not(.st-header-edit-only):not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit-split-arrow {
        background: #2563eb !important; color: #fff !important;
    }
    body.live-update-mode:not(.st-header-edit-only):not(.st-region-edit-focus-header):not(.st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit-split-arrow:hover {
        background: #1d4ed8 !important;
    }
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit-split-arrow {
        background: rgba(255,255,255,.14) !important; color: #fff !important;
    }
    body.live-update-mode:is(.st-header-edit-only, .st-region-edit-focus-header, .st-region-edit-focus-footer) #st-admin-bar > .exit-split-btn-group > .exit-split-arrow:hover {
        background: rgba(255,255,255,.26) !important;
    }

    /* Nút "Thêm khối" (mở panel trái) là nút quan trọng ⇒ có label, đứng ở MÉP TRÁI admin bar
       (nút Sửa đã chuyển sang mép phải, cạnh cụm Hủy/Lưu). */
    #st-admin-bar .st-admin-panel-toggle {
        order: -1 !important; width: auto !important; min-width: 0 !important;
        padding: 0 12px !important; gap: 6px !important; margin: 0 4px 0 2px;
    }
    #st-admin-bar .st-admin-panel-toggle > span { display: inline !important; font-size: 13px; font-weight: 600; }

    /* Nút "Thoát" không hiện trên admin bar (đăng xuất vẫn có trong menu tài khoản). */
    #st-admin-bar .st-admin-logout-link { display: none !important; }

    /* "Lưu" (có label) luôn ở mép phải — đúng vị trí nút Thoát trước đây; "Hủy" chỉ hiện khi có thay đổi. */
    #st-admin-bar .st-admin-save { order: 4 !important; margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.18); }
    #st-admin-bar .st-admin-save-discard[hidden] { display: none !important; }
    #st-admin-bar .st-admin-save-confirm { min-height: 28px; padding: 4px 16px; font-size: 13px; font-weight: 700; }
    #st-admin-bar .st-admin-save-confirm.is-dirty { background: #16a34a; }
    #st-admin-bar .st-admin-save-confirm.is-dirty:hover { background: #15803d; }

    /* Desktop đã có nút "Lưu" ở mép phải ⇒ ẩn nút Lưu (icon) trong thanh công cụ. */
    #st-admin-bar #st-float-toolbar.st-admin-toolbar > .save { display: none !important; }
}

/* Inactive regions stay in view mode while Footer is being edited. */
body.st-region-edit-focus-footer #st-header-floating-actions,
body.st-region-edit-focus-footer #street-bar .st-header-block-edit-badge,
body.st-region-edit-focus-footer #street-bar .st-header-group-edit-badge,
body.st-region-edit-focus-footer #street-bar .st-logo-hover-toolbar,
body.st-region-edit-focus-footer #street-bar .st-logo-editor-resize,
body.st-region-edit-focus-footer #street-bar .st-region-edit-toggle,
body.st-region-edit-focus-footer .st-menu-edit-btn,
body:is(.st-region-edit-focus-header, .st-region-edit-focus-footer) #st-end-of-page-placeholder {
    display: none !important;
    pointer-events: none !important;
}

/* ── Block cho web rao vặt "1 người đăng" (xem doc/task.md) ───────────────────
 * .st-contact-bar   – thanh liên hệ nổi: Gọi · Zalo · Messenger · Email · Lên đầu trang
 * .st-owner-profile – hồ sơ chủ web/uy tín (thay "uy tín của sàn")
 * ──────────────────────────────────────────────────────────────────────────── */
.st-contact-bar-holder { min-height: 1px; }
.st-contact-bar { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 105000; max-width: min(680px, calc(100vw - 20px)); }
.st-contact-bar-inner { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 8px 10px; border-radius: var(--st-contact-bar-radius, 999px); background: var(--st-contact-bar-bg, #0f172a); box-shadow: 0 10px 30px rgba(15, 23, 42, .28); }
.st-contact-bar-note { padding: 0 4px; color: #cbd5e1; font: 600 12.5px/1.3 system-ui, sans-serif; }
.st-contact-bar-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .10); color: var(--st-contact-bar-fg, #f8fafc); font: 600 13px/1.3 system-ui, sans-serif; text-decoration: none; cursor: pointer; white-space: nowrap; }
.st-contact-bar-btn:hover { background: rgba(255, 255, 255, .20); }
/* Nút Gọi là CTA chính (nổi bật nhất) — nút Zalo/Messenger giữ nền trong suốt. */
.st-contact-bar-btn[data-st-contact-bar-btn="phone"] { background: var(--st-contact-bar-accent, #22c55e); color: #04240f; }
.st-contact-bar-top { background: transparent; border: 1px solid rgba(255, 255, 255, .25); }
@media (min-width: 768px) { .st-contact-bar-mobile-only { display: none; } }
@media (max-width: 480px) { .st-contact-bar-btn > span { display: none; } .st-contact-bar-inner { gap: 6px; padding: 7px 9px; } }
@media print { .st-contact-bar { display: none; } }

.st-owner-profile .st-owner-profile-card { border: 1px solid rgba(15, 23, 42, .08); box-shadow: 0 10px 30px rgba(15, 23, 42, .06); box-sizing: border-box; }
.st-owner-profile-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.st-owner-profile-avatar { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #e2e8f0; }
.st-owner-profile-id { min-width: 0; flex: 1 1 240px; }
.st-owner-profile-name { margin: 0; font: 700 22px/1.35 system-ui, sans-serif; color: var(--st-owner-title, #0f172a); }
.st-owner-profile-verified { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #dcfce7; color: #15803d; font: 600 11px/1.7 system-ui, sans-serif; vertical-align: middle; }
.st-owner-profile-role { margin-top: 4px; color: var(--st-owner-accent, #2563eb); font: 600 13px/1.4 system-ui, sans-serif; }
.st-owner-profile-meta { margin-top: 3px; color: var(--st-owner-desc, #64748b); font: 13px/1.5 system-ui, sans-serif; }
.st-owner-profile-title { margin-top: 14px; font: 700 18px/1.4 system-ui, sans-serif; color: var(--st-owner-title, #0f172a); }
.st-owner-profile-sub { margin: 6px 0 0; font: 14px/1.65 system-ui, sans-serif; color: var(--st-owner-desc, #64748b); }
.st-owner-profile-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.st-owner-profile-item { display: grid; gap: 3px; padding: 10px 12px; border: 1px solid rgba(15, 23, 42, .08); border-radius: 10px; }
.st-owner-profile-item b { font: 700 14px/1.4 system-ui, sans-serif; color: var(--st-owner-title, #0f172a); }
.st-owner-profile-item span { font: 13px/1.55 system-ui, sans-serif; color: var(--st-owner-desc, #64748b); }
.st-owner-profile-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.st-owner-profile-action { display: inline-flex; align-items: center; padding: 10px 16px; border: 0; border-radius: 10px; background: var(--st-owner-accent, #2563eb); color: #fff; font: 700 14px system-ui, sans-serif; text-decoration: none; }
.st-owner-profile-action-zalo { background: transparent; border: 1px solid rgba(15, 23, 42, .15); color: var(--st-owner-title, #0f172a); }

/* ── Block "Thông số kỹ thuật tin đăng" (`listing-specs`) — dùng ở trang chi tiết tin ──
 * Bảng 2 cột: nhãn (trái) + giá trị (phải); mobile về 1 cột. Giá trị lấy từ tin đang xem
 * (`?tin=`) theo "Khoá dữ liệu", không có thì dùng giá trị mặc định. */
.st-listing-specs-title { margin: 0; font: 700 22px/1.35 system-ui, sans-serif; color: var(--st-ls-title, #0f172a); }
.st-listing-specs-sub { margin: 7px 0 0; font: 14px/1.65 system-ui, sans-serif; color: var(--st-ls-desc, #64748b); }
.st-listing-specs-list { margin-top: 14px; display: grid; }
.st-listing-specs-row { display: flex; gap: 12px; align-items: baseline; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(15, 23, 42, .08); }
.st-listing-specs-row:last-child { border-bottom: 0; }
.st-listing-specs-label { flex: 0 1 auto; min-width: 0; font: 600 13.5px/1.6 system-ui, sans-serif; color: var(--st-ls-desc, #64748b); }
.st-listing-specs-value { flex: 0 1 auto; min-width: 0; text-align: right; font: 700 14.5px/1.55 system-ui, sans-serif; color: var(--st-ls-accent, #2563eb); overflow-wrap: anywhere; }
@media (max-width: 520px) { .st-listing-specs-row { flex-direction: column; align-items: flex-start; gap: 3px; } .st-listing-specs-value { text-align: left; } }


/* ── Block "Tin của tôi" (`my-listings`) — người quen tự quản lý tin đã gửi ───────────────── */
.st-my-listings-head { display: grid; gap: 6px; }
.st-my-listings-title { margin: 0; font: 700 22px/1.35 system-ui, sans-serif; color: var(--st-my-title, #0f172a); }
.st-my-listings-sub { margin: 0; font: 14px/1.65 system-ui, sans-serif; color: var(--st-my-desc, #64748b); }
.st-my-listings-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; font: 13px/1.5 system-ui, sans-serif; color: var(--st-my-desc, #64748b); }
.st-my-listings-list { display: grid; gap: 8px; margin-top: 10px; }
.st-my-listings-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 10px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 10px; }
.st-my-listings-main { display: flex; gap: 10px; align-items: center; min-width: 0; flex: 1 1 220px; }
.st-my-listings-thumb { width: 64px; height: 52px; object-fit: cover; border-radius: 8px; flex: 0 0 auto; }
.st-my-listings-info { display: grid; gap: 2px; min-width: 0; }
.st-my-listings-name { font: 600 14.5px/1.4 system-ui, sans-serif; color: var(--st-my-title, #0f172a); overflow-wrap: anywhere; }
.st-my-listings-meta { font: 12.5px/1.5 system-ui, sans-serif; color: var(--st-my-desc, #64748b); }
.st-my-listings-state { font: 600 12px/1.5 system-ui, sans-serif; }
.st-my-listings-vip { font: 700 12px/1.5 system-ui, sans-serif; color: #b45309; }
.st-my-listings-stat { font: 12px/1.5 system-ui, sans-serif; color: var(--st-my-desc, #64748b); }
.st-my-listings-actions { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; flex: 0 0 auto; }
.st-my-listings-btn { padding: 7px 11px; border: 1px solid rgba(15, 23, 42, .14); border-radius: 9px; background: transparent; color: var(--st-my-title, #0f172a); font: 600 12.5px/1.2 system-ui, sans-serif; cursor: pointer; }
.st-my-listings-btn:hover { border-color: currentColor; }
.st-my-listings-btn.primary { background: var(--st-my-accent, #2563eb); border-color: transparent; color: #fff; }
.st-my-listings-btn:disabled { opacity: .6; cursor: default; }
.st-my-listings-empty { padding: 14px; border: 1px dashed rgba(15, 23, 42, .18); border-radius: 10px; color: var(--st-my-desc, #64748b); font: 13.5px/1.6 system-ui, sans-serif; }
/* Form sửa tin ngay trong bảng: mở ra DƯỚI dòng tin, không nhảy sang popup khác. */
.st-my-listings-edit { flex: 1 1 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; padding-top: 10px; border-top: 1px solid rgba(15, 23, 42, .10); }
.st-my-listings-edit[hidden] { display: none !important; }
.st-my-listings-edit label { display: grid; gap: 4px; font: 600 12px/1.4 system-ui, sans-serif; color: var(--st-my-desc, #64748b); }
.st-my-listings-edit label.wide { grid-column: 1 / -1; }
.st-my-listings-edit input, .st-my-listings-edit textarea { width: 100%; box-sizing: border-box; padding: 8px 10px; border: 1px solid rgba(15, 23, 42, .18); border-radius: 8px; background: #fff; color: #0f172a; font: 13.5px/1.5 system-ui, sans-serif; }
.st-my-listings-edit-actions { grid-column: 1 / -1; display: flex; gap: 8px; }
@media (max-width: 560px) { .st-my-listings-edit { grid-template-columns: 1fr; } .st-my-listings-actions { width: 100%; justify-content: flex-start; } }


/* ── Block "Tin VIP" (`vip-listings`) — khối riêng cho trang chủ / cột phải ─────────────────── */
.st-vip-listings-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 16px; }
.st-vip-listings-title { margin: 0; font: 700 24px/1.3 system-ui, sans-serif; color: var(--st-vip-title, #0f172a); }
.st-vip-listings-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; color: var(--st-vip-desc, #64748b); }
.st-vip-listings-cta { padding: 9px 14px; border: 1px solid rgba(220, 38, 38, .35); border-radius: 10px; color: var(--st-vip-accent, #dc2626); font: 700 13px/1.2 system-ui, sans-serif; text-decoration: none; white-space: nowrap; }
.st-vip-listings-list.is-slider { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.st-vip-listings-list.is-slider .st-vip-listings-card { flex: 0 0 min(78vw, 260px); scroll-snap-align: start; }
.st-vip-listings-card { display: grid; gap: 8px; min-width: 0; padding: 12px; border: 1px solid #fca5a5; border-radius: 12px; background: #fff; }
.st-vip-listings-card.is-gold { border-color: #fcd34d; }
.st-vip-listings-thumb { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; }
.st-vip-listings-body { display: grid; gap: 5px; min-width: 0; }
.st-vip-listings-badge { width: max-content; padding: 2px 8px; border-radius: 999px; background: #fee2e2; color: #b91c1c; font: 600 11px/1.7 system-ui, sans-serif; }
.st-vip-listings-badge.is-gold { background: #fef3c7; color: #92400e; }
.st-vip-listings-name { margin: 0; font: 600 15.5px/1.4 system-ui, sans-serif; color: var(--st-vip-title, #0f172a); overflow-wrap: anywhere; }
.st-vip-listings-price { font: 700 15px/1.4 system-ui, sans-serif; color: var(--st-vip-accent, #dc2626); }
.st-vip-listings-meta { font: 12.5px/1.5 system-ui, sans-serif; color: var(--st-vip-desc, #64748b); }
.st-vip-listings-link { margin-top: 2px; color: var(--st-vip-accent, #dc2626); font: 700 13px/1.3 system-ui, sans-serif; text-decoration: none; }
@media (max-width: 900px) { .st-vip-listings-list:not(.is-slider) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .st-vip-listings-list:not(.is-slider) { grid-template-columns: 1fr !important; } }


/* ── Block "Danh mục rao vặt" (`listing-categories`) ─────────────────────────────────────────── */
.st-listing-categories-head { margin-bottom: 14px; }
.st-listing-categories-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; }
.st-listing-categories-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-listing-categories-list.is-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.st-listing-categories-item:hover { border-color: var(--st-cat-accent, #2563eb) !important; }
@media (max-width: 900px) { .st-listing-categories-list:not(.is-chips) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 560px) { .st-listing-categories-list:not(.is-chips) { grid-template-columns: 1fr !important; } }

/* ── Block "Thống kê tin đăng" (`listing-stats`) — chủ web ──────────────────────────────────── */
.st-listing-stats-head { margin-bottom: 14px; }
.st-listing-stats-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; }
.st-listing-stats-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-listing-stats-tile { display: grid; gap: 2px; }
.st-listing-stats-subtitle { margin: 18px 0 10px; font: 700 16px/1.3 system-ui, sans-serif; }


/* ── Block "Quy định & hướng dẫn đăng tin" (`posting-guide`) ──────────────────────────────────── */
.st-posting-guide-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; }
.st-posting-guide-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-posting-guide-subtitle { margin: 16px 0 6px; font: 700 16.5px/1.35 system-ui, sans-serif; }
.st-posting-guide-steps > li:last-child { border-bottom: 0 !important; }
.st-posting-guide-terms summary { list-style: revert; }
.st-posting-guide-terms[open] summary { margin-bottom: 4px; }

/* ── Block "Tài khoản" (`account`) — đăng nhập / đổi mật khẩu tại chỗ ───────────────────────── */
.st-account-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; }
.st-account-sub { margin: 6px 0 14px; font: 14px/1.6 system-ui, sans-serif; }
.st-account input:focus-visible { outline: 2px solid var(--st-account-accent, #2563eb); outline-offset: 1px; }
.st-account button[type="submit"]:disabled { opacity: .65; cursor: default; }
.st-account-user b { overflow-wrap: anywhere; }

/* ── Block "Người đăng tin này" (`seller-profile`) — trang chi tiết tin ─────────────────────── */
.st-seller-profile-title { margin: 0; font: 700 20px/1.3 system-ui, sans-serif; }
.st-seller-profile-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-seller-profile-cta { white-space: nowrap; }
@media (max-width: 560px) { .st-seller-profile-cta { width: 100%; justify-content: center; } }

/* ── Block "Báo tin xấu" (`report-listing`) + "Nhận tin mới" (`saved-search`) ─────────────────── */
.st-report-card { border: 1px solid rgba(15, 23, 42, .10); }
.st-report-title { margin: 0; font: 700 20px/1.3 system-ui, sans-serif; }
.st-report-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-report-details > summary { list-style: none; }
.st-report-details > summary::-webkit-details-marker { display: none; }
.st-saved-search-title { margin: 0; font: 700 20px/1.3 system-ui, sans-serif; }
.st-saved-search-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; }
.st-saved-search-hint { margin: 10px 0 0; }
@media (max-width: 560px) {
    .st-report-listing button[type="submit"], .st-saved-search button[type="submit"] { width: 100%; }
}


/* ── Block "Tìm kiếm tin đăng" (`listing-search`) — thanh tìm nhanh ở trang chủ / hero ───────── */
.st-listing-search-card { padding: 20px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 16px; background: #fff; }
.st-listing-search-head { margin-bottom: 12px; }
.st-listing-search-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; color: #0f172a; }
.st-listing-search-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; color: #64748b; }
.st-listing-search-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; align-items: end; }
.st-listing-search-field { display: grid; gap: 5px; min-width: 0; font: 600 12.5px/1.4 system-ui, sans-serif; color: #475569; }
.st-listing-search-field input, .st-listing-search-field select { box-sizing: border-box; width: 100%; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 10px; background: #fff; color: #0f172a; font: 14px/1.4 system-ui, sans-serif; }
.st-listing-search-field input:focus, .st-listing-search-field select:focus { outline: 2px solid rgba(37, 99, 235, .35); outline-offset: 1px; }
.st-listing-search-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 2px; }
.st-listing-search-checks { display: flex; flex-wrap: wrap; gap: 12px; font: 600 13px/1.4 system-ui, sans-serif; color: #475569; }
.st-listing-search-checks label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.st-listing-search-submit { padding: 11px 20px; border: 0; border-radius: 10px; background: var(--st-website-primary-color, #2563eb); color: #fff; font: 700 14px/1.2 system-ui, sans-serif; cursor: pointer; }
.st-listing-search-submit:hover { filter: brightness(.95); }
.st-listing-search-clear { color: #64748b; font: 600 13px/1.4 system-ui, sans-serif; text-decoration: underline; }
@media (max-width: 560px) { .st-listing-search-card { padding: 14px; } .st-listing-search-form { grid-template-columns: 1fr; } }

/* ── Nút ♥ lưu tin / ⇄ so sánh trên thẻ tin đăng ───────────────────────────────────────────── */
.st-classifieds-card-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; z-index: 3; }
.st-classifieds-fav, .st-classifieds-compare { display: inline-flex; align-items: center; justify-content: center; gap: 4px; width: 30px; height: 30px; padding: 0; border: 1px solid rgba(255, 255, 255, .75); border-radius: 999px; background: rgba(15, 23, 42, .55); color: #fff; cursor: pointer; backdrop-filter: blur(2px); }
.st-classifieds-fav svg, .st-classifieds-compare svg { width: 15px; height: 15px; }
.st-classifieds-fav.is-active { background: #e11d48; border-color: #fb7185; }
.st-classifieds-compare.is-active { background: #2563eb; border-color: #93c5fd; }
.st-classifieds-detail-tools { position: static; }
.st-classifieds-detail-tools .st-classifieds-fav, .st-classifieds-detail-tools .st-classifieds-compare { width: auto; height: 34px; padding: 0 12px; border-color: rgba(15, 23, 42, .14); background: transparent; color: #334155; font: 600 13px/1.2 system-ui, sans-serif; }
.st-classifieds-detail-tools .st-classifieds-fav.is-active { background: #e11d48; border-color: #e11d48; color: #fff; }
.st-classifieds-detail-tools .st-classifieds-compare.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
@media (max-width: 560px) { .st-classifieds-detail-tools .st-classifieds-fav span, .st-classifieds-detail-tools .st-classifieds-compare span { display: none; } .st-classifieds-detail-tools .st-classifieds-fav, .st-classifieds-detail-tools .st-classifieds-compare { width: 34px; padding: 0; } }

/* ── Block "Tin đã lưu" (`favorites`) ───────────────────────────────────────────────────────── */
.st-favorites-card { padding: 20px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 16px; background: #fff; }
.st-favorites-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-favorites-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; color: #0f172a; }
.st-favorites-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; color: #64748b; }
.st-favorites-count { font: 600 13px/1.4 system-ui, sans-serif; color: #64748b; }
.st-favorites-list { display: grid; gap: 12px; }
.st-favorites-list.is-list { grid-template-columns: 1fr !important; }
.st-favorites-item { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff; }
.st-favorites-thumb { width: 96px; height: 76px; object-fit: cover; border-radius: 9px; }
.st-favorites-body { display: grid; gap: 4px; min-width: 0; padding-right: 26px; }
.st-favorites-name { color: #0f172a; font: 600 15px/1.4 system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.st-favorites-name:hover { color: #2563eb; }
.st-favorites-price { color: #2563eb; font: 700 14px/1.4 system-ui, sans-serif; }
.st-favorites-meta { color: #64748b; font: 12.5px/1.5 system-ui, sans-serif; }
.st-favorites-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 999px; background: rgba(15, 23, 42, .06); color: #475569; font: 400 17px/1 system-ui, sans-serif; cursor: pointer; }
.st-favorites-remove:hover { background: #fee2e2; color: #b91c1c; }
.st-favorites-empty { margin: 0; padding: 16px; border: 1px dashed #cbd5e1; border-radius: 10px; color: #64748b; font: 14px/1.6 system-ui, sans-serif; text-align: center; }
@media (max-width: 560px) { .st-favorites-card { padding: 14px; } .st-favorites-item { grid-template-columns: 72px minmax(0, 1fr); } .st-favorites-thumb { width: 72px; height: 60px; } }

/* ── Block "So sánh tin" (`listing-compare`) ────────────────────────────────────────────────── */
.st-listing-compare-card { padding: 20px; border: 1px solid rgba(15, 23, 42, .10); border-radius: 16px; background: #fff; }
.st-listing-compare-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.st-listing-compare-title { margin: 0; font: 700 22px/1.3 system-ui, sans-serif; color: #0f172a; }
.st-listing-compare-sub { margin: 6px 0 0; font: 14px/1.6 system-ui, sans-serif; color: #64748b; }
.st-listing-compare-tools { display: inline-flex; align-items: center; gap: 10px; }
.st-listing-compare-count { font: 600 13px/1.4 system-ui, sans-serif; color: #64748b; }
.st-listing-compare-clear { padding: 7px 11px; border: 1px solid #fecaca; border-radius: 9px; background: #fff; color: #b91c1c; font: 600 12.5px/1.2 system-ui, sans-serif; cursor: pointer; }
.st-listing-compare-wrap { overflow-x: auto; }
.st-listing-compare-table { width: 100%; border-collapse: collapse; min-width: 520px; }
.st-listing-compare-table th, .st-listing-compare-table td { padding: 10px 12px; border-bottom: 1px solid #eef2f7; text-align: left; vertical-align: top; font: 13.5px/1.55 system-ui, sans-serif; color: #0f172a; }
.st-listing-compare-table tbody th { width: 150px; color: #64748b; font-weight: 600; }
.st-listing-compare-table thead th { border-bottom: 1px solid #dbe3ee; background: #f8fafc; }
.st-listing-compare-col { position: relative; min-width: 180px; }
.st-listing-compare-thumb { display: block; width: 100%; max-width: 160px; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; margin: 4px 0 6px; }
.st-listing-compare-name { display: block; color: #0f172a; font: 600 14px/1.4 system-ui, sans-serif; text-decoration: none; overflow-wrap: anywhere; }
.st-listing-compare-name:hover { color: #2563eb; }
.st-listing-compare-price { display: block; margin-top: 2px; color: #2563eb; font: 700 14px/1.4 system-ui, sans-serif; }
.st-listing-compare-remove { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; border-radius: 999px; background: rgba(15, 23, 42, .07); color: #475569; font: 400 16px/1 system-ui, sans-serif; cursor: pointer; }
.st-listing-compare-remove:hover { background: #fee2e2; color: #b91c1c; }
.st-listing-compare-empty { margin: 0; padding: 16px; border: 1px dashed #cbd5e1; border-radius: 10px; color: #64748b; font: 14px/1.6 system-ui, sans-serif; text-align: center; }
@media (max-width: 560px) { .st-listing-compare-card { padding: 14px; } }

/* ── Thanh so sánh nổi + hộp thoại so sánh tại chỗ (`listing-compare`) ────────────────────── */
.st-listing-compare.is-compare-focus { outline: 3px solid rgba(37, 99, 235, .65); outline-offset: 4px; border-radius: 18px; }
.st-compare-tray { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 9998; width: min(980px, calc(100vw - 24px)); border: 1px solid rgba(15, 23, 42, .12); border-radius: 14px; background: #fff; box-shadow: 0 14px 36px rgba(15, 23, 42, .20); }
.st-compare-tray[hidden] { display: none !important; }
.st-compare-tray-inner { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.st-compare-tray-count { flex: 0 0 auto; font: 600 13px/1.4 system-ui, sans-serif; color: #334155; white-space: nowrap; }
.st-compare-tray-count b { color: #2563eb; }
.st-compare-tray-items { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; overflow-x: auto; padding-bottom: 2px; }
.st-compare-tray-chip { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; padding: 4px 6px 4px 4px; border: 1px solid #e2e8f0; border-radius: 9px; background: #f8fafc; }
.st-compare-tray-chip img { width: 28px; height: 28px; object-fit: cover; border-radius: 6px; flex: 0 0 auto; }
.st-compare-tray-name { font: 600 12.5px/1.3 system-ui, sans-serif; color: #0f172a; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-compare-tray-remove { flex: 0 0 auto; width: 20px; height: 20px; padding: 0; border: 0; border-radius: 999px; background: rgba(15, 23, 42, .08); color: #475569; font: 400 14px/1 system-ui, sans-serif; cursor: pointer; }
.st-compare-tray-remove:hover { background: #fee2e2; color: #b91c1c; }
.st-compare-tray-actions { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; }
.st-compare-tray-open { padding: 9px 16px; border: 0; border-radius: 10px; background: #2563eb; color: #fff; font: 700 13px/1.2 system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.st-compare-tray-open:hover { background: #1d4ed8; }
.st-compare-tray-clear { padding: 9px 12px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; color: #475569; font: 600 12.5px/1.2 system-ui, sans-serif; cursor: pointer; white-space: nowrap; }
.st-compare-tray-clear:hover { background: #f8fafc; }
.st-compare-modal { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.st-compare-modal[hidden] { display: none !important; }
.st-compare-modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.st-compare-modal-card { position: relative; z-index: 1; width: min(1080px, 100%); max-height: calc(100vh - 40px); display: flex; flex-direction: column; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px rgba(15, 23, 42, .30); overflow: hidden; }
.st-compare-modal-body { padding: 14px 18px 18px; overflow: auto; }
.st-compare-modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.st-compare-modal-title { margin: 0; font: 700 20px/1.3 system-ui, sans-serif; color: #0f172a; }
.st-compare-modal-tools { display: inline-flex; align-items: center; gap: 8px; }
.st-compare-modal-count { font: 600 12.5px/1.4 system-ui, sans-serif; color: #64748b; white-space: nowrap; }
.st-compare-modal-clear { padding: 7px 11px; border: 1px solid #fecaca; border-radius: 9px; background: #fff; color: #b91c1c; font: 600 12.5px/1.2 system-ui, sans-serif; cursor: pointer; }
.st-compare-modal-close { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 999px; background: rgba(15, 23, 42, .07); color: #334155; font: 400 22px/1 system-ui, sans-serif; cursor: pointer; }
.st-compare-modal-close:hover { background: #fee2e2; color: #b91c1c; }
@media (max-width: 560px) {
    .st-compare-tray-inner { flex-wrap: wrap; }
    .st-compare-tray-items { order: 3; flex-basis: 100%; }
    .st-compare-tray-count { flex: 1 1 auto; }
    .st-compare-modal { padding: 8px; }
    .st-compare-modal-card { max-height: calc(100vh - 16px); }
}

/* ── Flexbox ở chế độ BIỂU MẪU (`isForm`) — nút gửi + thông báo ─────────────────────────────── */
.st-form-submit-row { display: flex; justify-content: flex-start; margin-top: 4px; }
.st-form-submit-btn { display: inline-flex; align-items: center; justify-content: center; padding: 11px 22px; border: 0; border-radius: 10px; background: var(--st-website-primary-color, #2563eb); color: #fff; font: 700 14px/1.2 system-ui, sans-serif; cursor: pointer; }
.st-form-submit-btn:hover { filter: brightness(.95); }
.st-form-submit-btn:disabled { opacity: .6; cursor: default; }
.st-form-status { margin-top: 2px; }
.st-form-status:empty { display: none; }

.st-listing-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 10px); z-index: 2147483000; max-width: min(92vw, 420px); padding: 11px 18px; border-radius: 999px; background: rgba(15, 23, 42, .96); color: #fff; font: 600 13px/1.4 system-ui, sans-serif; text-align: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .22); opacity: 0; pointer-events: none; transition: opacity .18s ease, transform .18s ease; }
.st-listing-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }


