/* Storefront preview — Kệ Sắt Sài Gòn */
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/vietnamese-400-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/vietnamese-500-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/latin-500-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/vietnamese-600-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/latin-600-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/vietnamese-700-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/vietnamese-800-normal.woff2") format("woff2");
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
    font-family: "Be Vietnam Pro";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/be-vietnam-pro/latin-800-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
    /* Brand (UAT palette gốc — không navy/cam mockup) */
    --ink: #1c1c1c;
    --muted: #5f675c;
    --line: #dde2d6;
    --bg: #e6e6e6;
    --paper: #f4f4f4;
    --green: #2e7d32;
    --green-2: #43a047;
    --green-deep: #1b5e20;
    --orange: #f58220;
    --price: #f58220;
    --nav: #4a4a4a;
    --widget: #e31c23;
    /* Theme engine aliases */
    --primary-color: var(--orange);
    --accent-color: var(--green);
    --bg-surface: var(--paper);
    --text-main: var(--ink);
    --price-color: var(--price);
    --badge-bg: rgba(28, 28, 28, .78);
    --font-family: "Be Vietnam Pro", system-ui, sans-serif;
    --card-radius: 12px;
    --button-radius: 8px;
    --shadow-style: 0 4px 12px rgba(0, 0, 0, .05);
    --shadow: var(--shadow-style);
    --thumb-ratio: 1 / 1;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--text-main);
    background: var(--bg);
    font-family: var(--font-family);
    line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.sf-staging {
    background: #1c1c1c;
    color: #f3a63c;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    padding: 6px 12px;
    letter-spacing: .02em;
}
.sf-top {
    background: var(--orange);
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    padding: 7px 18px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}
.sf-top a { font-weight: 600; color: #fff; }
.sf-top-tag { opacity: .92; }
.sf-top-links { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.sf-logo {
    width: 56px; height: 56px; object-fit: contain;
    background: transparent;
}
.sf-foot-brand .sf-logo { width: 52px; height: 52px; margin-bottom: 8px; }
.sf-sticky-chrome {
    position: sticky;
    top: 0;
    z-index: 90;
    background: #ececec;
}
.sf-head-wrap { background: #ececec; border-bottom: 1px solid #d8d8d8; }
.sf-head {
    background: transparent;
    padding: 12px 18px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    max-width: 1180px;
    margin: 0 auto;
}
.sf-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -.02em;
    color: #1a1a1a;
    min-width: 0;
}
.sf-brand-name { white-space: nowrap; }
.sf-brand .mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(145deg, var(--green-2), var(--green));
    color: #fff; display: grid; place-items: center;
    font-size: 18px; font-weight: 800;
}
.sf-head-search {
    display: flex;
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    overflow: hidden;
    background: #f7f7f7;
}
.sf-head-search input[type="search"] {
    flex: 1;
    border: 0;
    padding: 10px 12px;
    font: inherit;
    min-width: 0;
}
.sf-head-search button {
    border: 0;
    background: var(--orange);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 10px 16px;
    cursor: pointer;
}
.sf-search-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid #cfcfcf;
    border-radius: 8px;
    background: #f7f7f7;
    color: var(--ink);
    cursor: pointer;
    flex: none;
}
.sf-search-toggle svg { width: 20px; height: 20px; display: block; }
.sf-search-toggle[aria-expanded="true"] {
    background: var(--orange);
    border-color: var(--orange);
    color: #fff;
}
.sf-head-phone {
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 16px;
    white-space: nowrap;
}
.sf-nav-bar {
    background: var(--nav);
    position: relative;
}
.sf-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: none;
    border: 0;
    border-radius: 10px;
    background: var(--nav);
    color: #fff;
    cursor: pointer;
    padding: 0;
}
.sf-nav-toggle-bars,
.sf-nav-toggle-bars::before,
.sf-nav-toggle-bars::after {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 1px;
    position: relative;
}
.sf-nav-toggle-bars::before,
.sf-nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.sf-nav-toggle-bars::before { top: -6px; }
.sf-nav-toggle-bars::after { top: 6px; }
.sf-nav-bar.is-open ~ * .sf-nav-toggle-bars,
.sf-head-phones .sf-nav-toggle[aria-expanded="true"] .sf-nav-toggle-bars { background: transparent; }
.sf-nav-toggle[aria-expanded="true"] .sf-nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}
.sf-nav-toggle[aria-expanded="true"] .sf-nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}
.sf-nav-bar .sf-nav {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.sf-nav-panel { display: contents; }
.sf-nav-panel-h,
.sf-nav-panel-foot,
.sf-nav-overlay { display: none; }
.sf-nav-close {
    width: 40px;
    height: 40px;
    flex: none;
    border: 0;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    color: #555;
}
.sf-nav a {
    padding: 12px 16px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
}
.sf-nav a:hover, .sf-nav a.is-on, .sf-nav-drop.is-on > a { background: #333; color: #fff; }
.sf-nav-drop { position: relative; display: inline-flex; }
.sf-nav-drop > a::after { content: " ▾"; font-size: 10px; opacity: .7; }
.sf-nav-sub {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 12rem;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 6px;
    z-index: 20;
}
.sf-nav-drop:hover .sf-nav-sub, .sf-nav-drop:focus-within .sf-nav-sub { display: flex; flex-direction: column; }
.sf-nav-sub a { border-radius: 0; white-space: nowrap; color: #333; text-transform: none; letter-spacing: 0; }
.sf-nav-sub a:hover, .sf-nav-sub a.is-on { background: #f5f5f5; color: var(--orange); }

.wrap { max-width: 1180px; margin: 0 auto; padding: 22px 18px 72px; }
.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 22px;
    background: linear-gradient(135deg, #084516 0%, #146b28 55%, #5a9424 100%);
    color: #fff;
    border-radius: 22px;
    overflow: hidden;
    min-height: 280px;
    margin-bottom: 28px;
    box-shadow: none;
}
.hero-copy { padding: 36px 34px 32px; }
.hero-copy p.kicker {
    margin: 0 0 8px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: 11px;
    opacity: .85;
    font-weight: 700;
}
.hero-copy h1 { margin: 0 0 10px; font-size: clamp(28px, 4vw, 42px); line-height: 1.15; }
.hero-copy .lead { margin: 0 0 18px; opacity: .92; max-width: 36em; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.sf-search { display: flex; gap: 8px; margin: 0 0 14px; max-width: 420px; }
.sf-search input[type="search"] {
    flex: 1;
    border: 0;
    border-radius: 999px;
    padding: 11px 14px;
    font: inherit;
}
.prose { font-size: 15px; line-height: 1.65; color: #333; }
.prose p { margin: 0 0 10px; }
.prose ul, .prose ol { margin: 0 0 12px; padding-left: 1.2em; }
.pdp-desc { margin: 4px 0 12px; max-height: none; overflow: visible; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    border: 0; cursor: pointer; font: inherit; font-weight: 700;
    border-radius: 999px; padding: 12px 18px;
}
.btn-light { background: #fff; color: var(--green-deep); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-green { background: var(--green); color: #fff; width: 100%; padding: 14px 18px; }
.btn-green:hover { background: var(--green-deep); }
.btn-zalo { background: #0068ff; color: #fff; width: 100%; }
.btn-fb { background: #1877f2; color: #fff; width: 100%; }
.btn-call { background: #fff; color: var(--green); border: 1.5px solid var(--green); width: 100%; }
.btn-hotline { background: var(--orange); color: #fff; width: 100%; border-radius: 999px; font-weight: 700; }
.btn-consult {
    background: #5cb85c;
    color: #fff;
    border: 0;
    width: 100%;
    border-radius: 999px;
    font-weight: 700;
}
.btn-consult:hover { background: #4cae4c; color: #fff; }
.btn-cart {
    background: var(--orange);
    color: #fff;
    border-radius: 999px;
    padding: 10px 22px;
    width: auto;
    flex: 1;
    font-weight: 700;
}
.btn-cart:hover { filter: brightness(.95); color: #fff; }
.hero-mosaic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 18px 18px 18px 0;
}
.hero-mosaic.is-1,
.hero-mosaic:has(img:only-child) {
    grid-template-columns: 1fr;
}
.hero-mosaic.is-1 img,
.hero-mosaic:has(img:only-child) img {
    height: 260px;
}
.hero-mosaic:empty,
.hero:not(:has(.hero-mosaic img)) .hero-mosaic { display: none; }
.hero:not(:has(.hero-mosaic img)) { grid-template-columns: 1fr; }
.hero-mosaic img {
    width: 100%; height: 122px; object-fit: cover;
    border-radius: 14px; background: rgba(255,255,255,.15);
}

.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -8px 0 28px; }
.trust div {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 13px;
    font-weight: 600;
}
.trust b { display: block; color: var(--green); font-size: 14px; margin-bottom: 2px; }

h2.sec {
    margin: 8px 0 14px;
    font-size: 22px;
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
h2.sec span { font-size: 13px; font-weight: 500; color: var(--muted); }
h2.sec span a { color: var(--orange); font-weight: 700; }

.sf-home-block {
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-radius: 20px;
    padding: 20px 22px 22px;
    margin: 0 0 24px;
    box-shadow: none;
}
.sf-home-block .card {
    box-shadow: none;
}
.sf-home-block .sec {
    margin: 0 0 16px;
    padding: 0 0 12px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    font-weight: 800;
    letter-spacing: -.02em;
    justify-content: flex-start;
}
.sf-home-block .sec span { margin-left: auto; }
.sf-home-block .sec::before {
    content: "";
    width: 4px;
    height: 1.1em;
    margin-right: 2px;
    background: var(--orange);
    border-radius: 4px;
    flex: none;
}
.sf-home-block .sf-pillars,
.sf-home-block .grid,
.sf-home-block .sf-home-news-grid { margin: 0; }
.sf-home-news { margin: 0 0 24px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.card {
    background: var(--bg-surface);
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    transition: box-shadow .18s ease, border-color .18s ease, background .18s ease;
    box-shadow: var(--shadow-style);
}
.card:hover { transform: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #d0d0d0; background: #fafafa; }
.card-main { display: flex; flex-direction: column; flex: 1; color: inherit; min-height: 0; }
.card .thumb { background: #eef2ea; aspect-ratio: var(--thumb-ratio); overflow: hidden; position: relative; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .sf-badges {
    position: absolute;
    left: 8px;
    top: 8px;
    right: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    z-index: 1;
    pointer-events: none;
}
.card .sf-badge {
    display: inline-block;
    max-width: 100%;
    padding: 3px 7px;
    border-radius: 4px;
    background: var(--badge-bg);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card .body { padding: 12px 14px 8px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.price { color: var(--price); font-weight: 800; font-size: 16px; margin-top: auto; }
.price.ask { color: var(--green); font-size: 14px; font-weight: 700; }

.crumb { font-size: 12px; color: #9a9a9a; margin: 0 0 14px; }
.crumb a { color: var(--orange); font-weight: 500; }

.pdp {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.18fr);
    gap: 20px 28px;
    align-items: start;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
}
.pdp-img {
    border-radius: 0;
    overflow: visible;
    background: #fff;
    min-height: 0;
    border: 0;
    position: sticky;
    top: 12px;
}
.pdp-img > img {
    width: 100%;
    height: auto;
    max-height: min(460px, 62vh);
    object-fit: contain;
    margin: 0 auto;
    display: block;
    background: #fff;
}
.pdp-thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 0 0;
    background: transparent;
}
.pdp-thumb {
    width: 72px;
    height: 72px;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 0;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
}
.pdp-thumb.is-on { border-color: var(--orange); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; max-height: none; }
.pdp-sum { min-width: 0; }
.pdp-sum-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 248px);
    gap: 16px 22px;
    align-items: start;
    margin-top: 4px;
}
.pdp-sku {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}
.pdp-sku a { color: var(--orange); font-weight: 600; }
.pdp-sku b { font-weight: 700; color: #333; }
.pdp-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    margin: 0 0 8px;
}
.pdp-tag {
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    border-radius: 3px;
    padding: 1px 7px;
    font-size: 12px;
    color: #444;
}
.pdp-vars { margin: 0 0 10px; display: grid; gap: 8px; min-width: 0; }
.pdp-var-lab {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: none;
}
.pdp-var-opts {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    min-width: 0;
}
.pdp-var-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    min-height: 32px;
    height: auto;
    padding: 5px 10px;
    border: 2px solid #d8d8d8;
    background: #fff;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    border-radius: 2px;
    white-space: nowrap;
    text-align: center;
    max-width: 100%;
    flex: 0 0 auto;
}
.pdp-var-axis[data-key="size"] .pdp-var-btn,
.pdp-var-axis[data-key="opt"] .pdp-var-btn {
    width: auto;
    min-width: 0;
    white-space: nowrap;
}
.pdp-var-btn:hover { border-color: var(--orange); }
.pdp-var-btn.is-on {
    border-color: var(--orange);
    box-shadow: none;
    font-weight: 600;
    background: #fff8f3;
}
.pdp-var-btn.is-off { opacity: .38; cursor: not-allowed; }
.pdp-var-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,.18);
    background: var(--sw, #eee);
    display: inline-block;
    flex: 0 0 14px;
}
.pdp-var-btn[data-tone="trang"] { --sw: #f4f4f4; }
.pdp-var-btn[data-tone="den"] { --sw: #222; }
.pdp-var-btn[data-tone="hong"] { --sw: #f4a4bc; }
.pdp-var-btn[data-tone="vang"] { --sw: #e4c15a; }
.pdp-var-btn[data-tone="xam"] { --sw: #9aa0a6; }
.pdp-var-btn[data-tone="xanh"] { --sw: #3d7a4a; }
.pdp-var-btn[data-tone="do"] { --sw: #c62828; }
.pdp-var-btn[data-tone="nau"] { --sw: #6d4c41; }
.pdp-var-btn[data-tone="kem"] { --sw: #efe6d0; }
.pdp-var-btn[data-tone="ghi"] { --sw: #7d848c; }
.pdp-var-btn[data-tone="bac"] { --sw: #cfd8dc; }
.pdp-var-btn[data-tone="cam"] { --sw: #ef6c00; }
.pdp-var-btn[data-tone="tim"] { --sw: #7b1fa2; }
.pdp-var-btn[data-tone="inox"] { --sw: #b0bec5; }
.pdp-var-btn[data-tone="go"] { --sw: #a1887f; }
.pdp-meta { font-size: 13px; color: var(--muted); margin: 0 0 8px; }
.pdp-meta a { color: var(--orange); font-weight: 600; }
.pdp-short {
    font-size: 14px;
    line-height: 1.55;
    color: #444;
    margin: 0 0 12px;
}
.pdp-bullets {
    margin: 0 0 14px;
    padding-left: 1.15em;
    font-size: 14px;
    line-height: 1.55;
    color: #444;
}
.pdp-bullets li { margin: 0 0 6px; }
.erp-seo-summary {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #333;
}
.erp-seo-summary p { margin: 0 0 8px; }
.erp-seo-summary ul { margin: 0; padding-left: 1.15em; }
.erp-seo-summary li { margin: 0 0 4px; }
.erp-seo-specs {
    margin: 0 0 14px;
    border: 1px solid #e8e4dc;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}
.erp-seo-specs h2 {
    margin: 0;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    background: #f6f3ee;
    border-bottom: 1px solid #e8e4dc;
}
.erp-seo-specs table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.erp-seo-specs th,
.erp-seo-specs td {
    padding: 8px 14px;
    text-align: left;
    border-bottom: 1px solid #f0ece4;
}
.erp-seo-specs tbody th { font-weight: 600; width: 38%; color: #555; }
.erp-seo-specs thead { display: none; }
.pdp-cta { display: grid; gap: 8px; margin: 4px 0 12px; }
.pdp-lead { margin: 0; display: block; }
.pdp-trust {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    min-width: 0;
    padding-top: 2px;
}
.pdp-trust > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    padding: 10px 0;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}
.pdp-trust > div:last-child { border-bottom: 0; }
.pdp-trust-ic {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e6f7f6;
    color: #26a69a;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pdp-trust-ic svg { width: 22px; height: 22px; }
.pdp-trust b { display: block; color: #222; font-size: 13px; font-weight: 700; margin-bottom: 2px; line-height: 1.3; }
.pdp-trust > div > span:last-child { min-width: 0; }
.pdp-cart-row {
    display: flex;
    gap: 10px;
    align-items: center;
    width: 100%;
}
.pdp-qty {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #ddd;
    background: #fff;
    flex: none;
}
.pdp-qty button {
    width: 32px;
    border: 0;
    background: #fff;
    cursor: pointer;
    font-size: 16px;
    color: #555;
}
.pdp-qty input {
    width: 42px;
    text-align: center;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    padding: 8px 0;
    font: inherit;
    border-radius: 0;
    background: #fff;
}
.pdp-lead-extra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}
.pdp-lead-extra input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font: inherit;
    background: #fff;
}
.pdp-share {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    align-items: center;
}
.pdp-share a {
    width: 22px;
    height: 22px;
    border-radius: 2px;
    background: #9aa0a6;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pdp h1 { margin: 0 0 8px; font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; font-weight: 700; }
.pdp .price.lg { font-size: 22px; margin: 0 0 10px; color: var(--orange); }
.pdp .hint { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.pdp-below {
    display: block;
    margin-top: 22px;
}
.pdp-detail {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 0 0 8px;
    box-shadow: none;
    overflow: hidden;
}
.pdp-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    margin: 0;
    padding: 0 18px;
}
.pdp-tab {
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: 14px 12px 12px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: #666;
    text-transform: uppercase;
    font-size: 13px;
}
.pdp-tab.is-on { color: var(--widget); border-bottom-color: var(--widget); }
.pdp-pane { display: none; }
.pdp-pane.is-on {
    display: block;
    /* Inset description / specs / FAQ from white card edge (was flush) */
    padding: 16px 18px 20px;
    box-sizing: border-box;
}
.pdp-pane > .erp-seo-summary,
.pdp-pane > .hint,
.pdp-pane > .pdp-bullets {
    margin-top: 0;
}
.pdp-pane .prose,
.pdp-pane .erp-seo-summary,
.pdp-pane .erp-seo-specs,
.pdp-pane .sf-faq {
    max-width: none;
}
.pdp-pane .erp-seo-specs {
    margin: 16px 0;
    border-radius: 10px;
}
.pdp-detail .sf-faq { margin: 22px 0 0; }
.pdp-detail .sf-faq h2 { font-size: 18px; }
.pdp-tab-body h1,
.pdp-tab-body h2,
.pdp-tab-body h3 {
    font-size: 1.2rem;
    line-height: 1.35;
    color: var(--ink);
    margin: 1.15em 0 .45em;
}
.pdp-tab-body h1:first-child,
.pdp-tab-body h2:first-child,
.pdp-tab-body h3:first-child { margin-top: 0; }
.pdp-pane .prose p:first-child,
.pdp-pane .erp-seo-summary p:first-child { margin-top: 0; }
.pdp-pane .prose p,
.pdp-pane .erp-seo-summary p { margin: 0 0 10px; }
.pdp-wp-hint { margin-top: 18px; }
.pdp-new { margin-bottom: 0; }
.pdp-new-list .price { display: block; font-size: 13px; margin-top: 2px; }
.pdp-new-list b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 600;
}
.pdp-similar { margin: 28px 0 8px; }
.pdp-similar h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 700;
}
.pdp-similar-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}
.pdp-cta-row {
    display: grid;
    gap: 8px;
    margin: 4px 0 12px;
}
.sf-recent { margin: 22px 0 8px; }
.sf-recent h2 {
    margin: 0 0 10px;
    font-size: 16px;
}
.sf-recent-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.sf-recent-card {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    padding: 8px;
    text-decoration: none;
    color: inherit;
    min-height: 64px;
    min-width: 0;
}
.sf-recent-card .thumb {
    width: 52px;
    height: 52px;
    flex: none;
    background: #eef2ea;
    overflow: hidden;
    display: block;
}
.sf-recent-card img {
    width: 52px;
    height: 52px;
    max-width: 52px;
    object-fit: cover;
    display: block;
}
.sf-recent-card span:last-child { min-width: 0; }
.sf-recent-card b {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.3;
}
.sf-recent-card em {
    display: block;
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    margin-top: 2px;
}
.sf-recent-card em.ask { color: var(--muted); }
.sf-recent-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }

.sf-archive-feat {
    display: block;
    width: 100%;
    max-height: 280px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 0 14px;
    background: #f3f4f6;
}
.sf-faq { margin: 28px 0 8px; }
.sf-faq h2 { margin: 0 0 12px; font-size: 20px; }
.sf-faq-item {
    border: 1px solid var(--line);
    background: #fff;
    margin: 0 0 8px;
    padding: 0;
}
.sf-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    padding: 10px 12px;
}
.sf-faq-item > div { padding: 0 12px 12px; font-size: 14px; color: #444; }

.sf-archive-head h1 { margin: 0 0 6px; font-size: 28px; }
.sf-archive-meta { color: var(--muted); font-size: 13px; margin: 0 0 16px; }
.sf-archive-grid {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.sf-widget { background: #fff; border: 1px solid var(--line); margin-bottom: 16px; }
.sf-widget-h {
    margin: 0;
    background: var(--widget);
    color: #fff;
    font-size: 14px;
    padding: 10px 12px;
    text-transform: uppercase;
}
.sf-widget-posts { list-style: none; margin: 0; padding: 0; }
.sf-widget-posts li { border-top: 1px solid var(--line); }
.sf-widget-posts a {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.sf-widget-posts img { width: 54px; height: 54px; object-fit: cover; flex: none; }
.cat-intro { background: #fff; padding: 8px 4px 22px; }
.sf-blog-list { display: flex; flex-direction: column; gap: 16px; }
.sf-blog-card {
    display: flex;
    flex-direction: column;
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
    min-height: 100%;
}
.sf-blog-card h2 { margin: 0 0 8px; font-size: 17px; line-height: 1.35; font-weight: 800; }
.sf-blog-card h2 a { color: #111; }
.sf-blog-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sf-blog-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #eef2ea;
    overflow: hidden;
}
.sf-blog-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-blog-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 24, 39, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
}
.sf-blog-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.sf-blog-meta { margin: 0 0 6px; font-size: 12px; color: #9ca3af; display: block; }
.sf-blog-more {
    margin-top: auto;
    color: var(--orange);
    font-size: 13px;
    font-weight: 800;
}
.sf-home-news .sec a { color: var(--orange); font-weight: 600; font-size: 13px; }
.sf-home-news-grid,
.sf-journal-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.sf-journal { margin: 8px 0 24px; }
.sf-journal-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px 28px;
    flex-wrap: wrap;
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-radius: 18px;
    padding: 18px 22px 20px;
    margin: 0 0 20px;
    box-shadow: none;
}
.sf-journal-kicker {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    background: #e8f5e9;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
}
.sf-journal-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--green);
}
.sf-journal-head h1 { margin: 0 0 6px; font-size: 26px; font-weight: 800; }
.sf-journal-lead { margin: 0; color: var(--muted); font-size: 14px; max-width: 52ch; }
.sf-journal-q { margin: 4px 0 0 auto; min-width: min(280px, 100%); }
.sf-journal-q input[type="search"] {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 10px 16px 10px 40px;
    font: inherit;
    font-size: 14px;
    background: #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23999'%3E%3Cpath d='M11.5 10.4 15 14l-1 1-3.6-3.5A6 6 0 1 1 12 6a6 6 0 0 1-.5 4.4zM6 11a5 5 0 1 0 0-10 5 5 0 0 0 0 10z'/%3E%3C/svg%3E") no-repeat 14px 50%;
}
.sf-post-date { color: var(--muted); font-size: 13px; margin: 0 0 12px; }
form.pdp-lead { display: block; }
form.pdp-lead input {
    border-radius: 4px;
    background: #fff;
}
form.pdp-lead .pdp-qty input {
    width: 42px;
    flex: none;
    padding: 8px 0;
    border-radius: 0;
    border: 0;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    outline: none;
}
form.lead label { font-size: 12px; font-weight: 700; color: var(--muted); }
form.lead input, form.lead textarea {
    width: 100%;
    padding: 12px 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font: inherit;
    background: #fbfdf8;
}
form.lead input:focus, form.lead textarea:focus {
    outline: 2px solid rgba(0,103,30,.25);
    border-color: var(--green);
}
.row2 { display: grid; grid-template-columns: 1fr 110px; gap: 10px; }
.ok-box {
    background: #e9f8e4;
    border: 1px solid #b7e3a8;
    color: #14632a;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-weight: 600;
}
.err-box {
    background: #fdecec;
    border: 1px solid #f5c2c2;
    color: #9b1c1c;
    border-radius: 14px;
    padding: 14px 16px;
    margin-bottom: 16px;
}
.page-prose {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px;
    max-width: none;
}
.sf-archive-main .page-prose { border: 0; padding: 0 0 24px; background: transparent; }
.sf-feat {
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 0 16px;
}
.sf-preview-note {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 8px;
    margin: 0 0 14px;
}
.sf-post-index { margin-top: 22px; }
.sf-post-index h2 { font-size: 18px; margin: 0 0 10px; }
.sf-post-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 0;
    border-top: 1px solid var(--line);
    color: inherit;
}
.sf-post-row span { font-size: 12px; color: #64748b; font-family: ui-monospace, monospace; }
.company-card {
    background: #eef8e6;
    border: 1px solid #cfe6c0;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 8px 0 22px;
}
.company-card .kicker {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--green);
}
.company-card h2 {
    margin: 0 0 12px;
    font-size: 18px;
    line-height: 1.35;
    color: var(--green-deep);
}
.company-card dl { margin: 0; display: grid; gap: 8px; }
.company-card dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 8px; font-size: 14px; align-items: start; }
.company-card dt { color: var(--muted); font-weight: 600; }
.company-card dd { margin: 0; }
.company-card dd strong { white-space: nowrap; }
.company-card a { color: var(--green); font-weight: 700; }
.company-card .mst-raw { display: inline-block; color: var(--muted); font-weight: 500; font-size: 13px; white-space: nowrap; }
.wp-note { margin-top: 4px; padding-top: 4px; }
.wp-note .hint { margin-bottom: 6px; }
.actions { display: grid; gap: 8px; margin-top: 6px; }
footer.sf-foot {
    margin-top: 36px;
    color: #c5ccd6;
    font-size: 13px;
    padding: 0;
    border: 0;
    background: transparent;
}
footer.sf-foot .inner { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
.sf-foot-dark {
    background: #0b1220;
    padding: 40px 0 28px;
}
.sf-foot-top {
    display: grid;
    grid-template-columns: 1.25fr 1.2fr 1.1fr .95fr;
    gap: 28px 32px;
    align-items: start;
}
footer.sf-foot .sf-foot-h {
    margin: 0 0 12px;
    font-weight: 800;
    color: #fff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
footer.sf-foot a { color: #e8edf4; font-weight: 500; }
footer.sf-foot a:hover { color: var(--orange); }
footer.sf-foot p { margin: 0 0 8px; line-height: 1.55; }
.sf-foot-name {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 10px !important;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: .04em;
}
.sf-foot-mark {
    width: 22px;
    height: 22px;
    flex: none;
    border-radius: 6px;
    background: var(--orange);
    box-shadow: 6px 4px 0 #ffb266;
    position: relative;
}
.sf-foot-lead { color: #9aa6b5; max-width: 36ch; }
.sf-foot-mst { color: #7f8b9a; font-size: 12px; }
.sf-foot-row {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    color: #c5ccd6;
}
.sf-foot-ic {
    width: 14px;
    height: 14px;
    flex: none;
    margin-top: 4px;
    background: var(--orange);
    mask: no-repeat center / contain;
    -webkit-mask: no-repeat center / contain;
}
.sf-foot-ic.is-pin { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a7 7 0 0 0-7 7c0 5.25 7 13 7 13s7-7.75 7-13a7 7 0 0 0-7-7zm0 9.5A2.5 2.5 0 1 1 12 6a2.5 2.5 0 0 1 0 5.5z'/%3E%3C/svg%3E"); }
.sf-foot-ic.is-wh { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 10.5 12 4l9 6.5V20a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-9.5zM8 20h8v-6H8v6z'/%3E%3C/svg%3E"); }
.sf-foot-ic.is-phone { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M6.6 10.8c1.4 2.7 3.9 5.1 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 7a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1 11.4 11.4 0 0 0 .57 3.6 1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.sf-foot-ic.is-mail { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2zm0 4-8 5L4 8V6l8 5 8-5v2z'/%3E%3C/svg%3E"); }
.sf-foot-ic.is-web { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm6.9 9h-3.1a15 15 0 0 0-1.4-5.3A8 8 0 0 1 18.9 11zM12 4c.8 1.4 1.4 3.2 1.7 5H10.3C10.6 7.2 11.2 5.4 12 4zM4 12c0-.3 0-.7.1-1h3.1c.2 1.8.7 3.6 1.4 5.3A8 8 0 0 1 4 12zm4.1 1H8.1A15 15 0 0 0 9.5 18.3 8 8 0 0 1 5.1 13zM12 20c-.8-1.4-1.4-3.2-1.7-5h3.4c-.3 1.8-.9 3.6-1.7 5zm2.5-1.7A15 15 0 0 0 16 13h3a8 8 0 0 1-4.5 5.3zM15.9 11c-.2-1.8-.7-3.6-1.4-5.3A8 8 0 0 1 18.9 11h-3zM8.1 11H5.1A8 8 0 0 1 9.5 5.7 15 15 0 0 0 8.1 11z'/%3E%3C/svg%3E"); }
.sf-foot-ic.is-pay { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M3 6a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v3H3V6zm0 5h18v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7zm3 4h4v2H6v-2z'/%3E%3C/svg%3E"); }
.sf-foot-note {
    margin: 22px auto 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 11px;
    opacity: .7;
}
.sf-foot-note a { text-decoration: underline; }
.sf-dock { display: none; }
body.sf-has-dock { padding-bottom: 0; }
.sf-float-left {
    position: fixed;
    left: 12px;
    bottom: 72px;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sf-float-left a {
    border-radius: 999px;
    padding: 8px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,.18);
    width: max-content;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sf-float-left a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.sf-chat-zalo { background: #5cb85c; }
.sf-chat-fb { background: #0084ff; }
.sf-chat-hot { background: #e91e8c; }
.sf-float-right {
    position: fixed;
    right: 8px;
    top: 38%;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sf-float-right a {
    width: 56px;
    min-height: 58px;
    background: #fff;
    border: 1px solid #e5e5e5;
    color: #444;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 3px;
    padding: 8px 4px 6px;
    line-height: 1.15;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.sf-float-right a svg {
    width: 22px;
    height: 22px;
    display: block;
    flex-shrink: 0;
}
.sf-float-right a.is-zalo { background: #0068ff; color: #fff; border-color: #0068ff; }
.sf-float-right a.is-msg { background: #0084ff; color: #fff; border-color: #0084ff; }
.sf-float-right a.is-top { min-height: 44px; padding: 10px 4px; }
.sf-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.sf-answer-first {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #e8e4dc;
    border-radius: 12px;
    background: #fffdf8;
}
.sf-answer-p { margin: 0 0 8px; font-size: 15px; line-height: 1.55; }
.sf-answer-local { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--green-deep); }
.sf-answer-trust { margin: 0; font-size: 13px; color: var(--muted); }
.sf-iap {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 18px 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 0 rgba(16, 48, 22, .04);
    transition: box-shadow .15s ease, transform .15s ease;
}
.sf-iap:hover { box-shadow: 0 8px 22px rgba(16, 48, 22, .08); transform: translateY(-1px); }
.sf-answer-first .sf-iap { margin: 12px 0 0; }
.sf-iap-img { flex: none; width: 120px; }
.sf-iap-img img { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; display: block; }
.sf-iap-body { min-width: 0; flex: 1; }
.sf-iap-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #fff;
    background: var(--orange);
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.sf-iap-name { margin: 0 0 4px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.sf-iap-name a { color: inherit; }
.sf-iap-sku { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.sf-iap-price { margin: 0 0 8px; font-size: 18px; font-weight: 800; color: var(--orange); }
.sf-iap-price.ask { font-size: 15px; color: var(--green-deep); }
.sf-iap-hi { margin: 0 0 10px; padding-left: 1.1em; font-size: 13px; }
.sf-iap-hi li { margin: 0 0 3px; }
.sf-iap-cta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sf-iap-cta .btn, .sf-quote-wid .btn, .sf-art-sticky-cta .btn, .sf-art-lead .btn {
    width: auto;
}
.sf-iap-more { font-size: 13px; font-weight: 700; color: var(--green); }
.sf-art-lead {
    margin: 28px 0 8px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}
.sf-art-lead h2 { margin: 0 0 6px; font-size: 18px; }
.sf-art-lead > p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.sf-art-lead-form { display: grid; gap: 10px; }
.sf-art-lead .btn { width: 100%; }
.sf-art-related { margin: 28px 0 8px; }
.sf-art-related h2 { margin: 0 0 14px; font-size: 18px; }
.sf-quote-wid-body { padding: 12px; display: grid; gap: 8px; }
.sf-quote-wid-body p { margin: 0; font-size: 13px; color: var(--muted); }
.sf-quote-prod { font-weight: 700; color: #222 !important; }
.sf-quote-wid .btn { text-align: center; }
.page-prose.is-post .prose table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.sf-art-sticky,
.sf-pdp-sticky { display: none; }

@media (max-width: 860px) {
    .hero, .pdp, .pdp-sum-split, .trust, .pdp-below, .sf-archive-grid, .pdp-lead-extra, .sf-foot-top, .sf-home-news-grid, .sf-journal-grid { grid-template-columns: 1fr; }
    .sf-journal-q { margin-left: 0; min-width: 100%; }
    .pdp-tabs { padding: 0 12px; }
    .pdp-pane.is-on { padding: 14px 14px 18px; }
    .pdp-similar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pdp-img { position: static; }
    .pdp-img > img { max-height: min(280px, 42vh); }
    .sf-head { grid-template-columns: 1fr auto; justify-items: stretch; gap: 10px; }
    .sf-head-phones .sf-head-phone { display: none; }
    .sf-top-tag, .sf-top-addr { display: none; }
    .sf-top-inner { justify-content: center; }
    .sf-nav-toggle {
        display: flex;
    }
    .sf-nav-bar .sf-nav { display: none; flex-direction: column; justify-content: stretch; }
    .sf-nav-bar.is-open .sf-nav { display: flex; }
    .sf-nav-bar.is-open .sf-nav-sub { display: flex; position: static; box-shadow: none; border: 0; }
    .sf-nav a { padding: 12px 18px; }
    .hero-mosaic { display: none; }
    .hero-copy { padding: 28px 22px; }
    .row2 { grid-template-columns: 1fr; }
    .sf-foot-news { margin-left: 0; margin-right: 0; max-width: none; }
    .sf-news-form { flex-direction: column; }
    .sf-foot-abs-social, .sf-pay-row { text-align: left; justify-content: flex-start; }
    .sf-float-left, .sf-float-right { display: none; }
    body.sf-has-dock { padding-bottom: 64px; }
    .sf-dock {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 40;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 20px rgba(16, 48, 22, .08);
    }
    .sf-dock:has(> a:nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .sf-dock:has(> a:nth-child(2):last-child) { grid-template-columns: 1fr 1fr; }
    .sf-dock a.is-home { background: #f4f4f4; color: var(--green-deep); }
    .sf-dock a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        padding: 8px 4px 10px;
        font-size: 11px;
        color: var(--green-deep);
        min-height: 56px;
        min-width: 0;
    }
    .sf-dock a svg { width: 18px; height: 18px; display: block; flex: none; }
    .sf-dock a span { font-weight: 600; opacity: .7; }
    .sf-dock a b {
        font-size: 11px;
        font-weight: 800;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .sf-dock a.is-zalo { background: #0068ff; color: #fff; }
    .sf-dock a.is-zalo span { opacity: .85; color: #fff; }
    .sf-dock a.is-fb { background: #1877f2; color: #fff; }
    .sf-dock a.is-fb span { opacity: .85; color: #fff; }
    .sf-dock a.is-tool { background: var(--orange); color: #fff; }
    .sf-dock a.is-tool span { opacity: .9; color: #fff; }
    .sf-archive-grid.is-post-layout .sf-archive-main { order: -1; }
    .sf-iap { align-items: center; }
    .sf-iap-img, .sf-iap-img img { width: 88px; height: 88px; }
    body.sf-art-sticky-on { padding-bottom: 78px; }
    body.sf-art-sticky-on .sf-dock { display: none; }
    body.sf-art-sticky-on .sf-art-sticky {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 45;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 20px rgba(16, 48, 22, .1);
        padding: 8px 12px 10px;
    }
    .sf-art-sticky img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; flex: none; }
    .sf-art-sticky-info { min-width: 0; flex: 1; }
    .sf-art-sticky-info b {
        display: block;
        font-size: 13px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sf-art-sticky-info span { font-size: 13px; font-weight: 800; color: var(--orange); }
    .sf-art-sticky-cta { display: flex; gap: 6px; flex: none; }
    .sf-art-sticky-cta .btn { min-height: 36px; padding: 0 10px; font-size: 13px; }
    .sf-art-sticky-x {
        position: absolute;
        top: 2px; right: 6px;
        border: 0; background: transparent;
        font-size: 18px; line-height: 1; cursor: pointer; color: #888;
    }
}

@media (min-width: 861px) {
    footer.sf-foot { padding-bottom: 28px; }
}

/* Pack A — Lifestyle / decor (pegboard) */
html.sf-pack-decor,
html.sf-pack-showroom,
html.sf-pack-minimal,
html[data-layout="lifestyle"] {
    --card-radius: 12px;
    --button-radius: 10px;
    --shadow-style: 0 4px 14px rgba(0, 0, 0, .06);
    --thumb-ratio: 1 / 1;
}
html.sf-pack-decor .sf-pillar,
html.sf-pack-showroom .sf-pillar {
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-style);
    border-color: transparent;
}

/* Pack B — Industrial / B2B (V lỗ, kho) — vẫn palette cam/xám gốc */
html.sf-pack-industrial,
html[data-layout="industrial"] {
    --card-radius: 4px;
    --button-radius: 4px;
    --shadow-style: 0 2px 8px rgba(0, 0, 0, .06);
    --thumb-ratio: 1 / 1;
}
html.sf-pack-industrial .card h3,
html[data-layout="industrial"] .card h3 {
    font-weight: 800;
    letter-spacing: .01em;
}
html.sf-pack-industrial .btn,
html[data-layout="industrial"] .btn {
    border-radius: var(--button-radius);
}

/* Pack C — Catalog dày (tôn lỗ / phụ kiện) */
html[data-layout="catalog"] .sf-archive .grid,
html.sf-layout-catalog .sf-archive .grid {
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 12px;
}
html[data-layout="catalog"] .sf-archive .card .thumb,
html.sf-layout-catalog .sf-archive .card .thumb {
    aspect-ratio: 1 / 1;
}

html.sf-theme-decor {
    --green: #2e7d32;
    --orange: #f58220;
    --nav: #4a4a4a;
    --widget: #e31c23;
}
html.sf-theme-satvlo,
html.sf-theme-ke {
    --green: #2e7d32;
    --orange: #f58220;
    --nav: #4a4a4a;
    --widget: #e31c23;
}
html.sf-theme-giatot {
    --green: #0b6b32;
    --green-2: #3d9b2f;
    --green-deep: #064820;
    --orange: #e09b2d;
}
html.sf-theme-giatot .hero {
    background: linear-gradient(135deg, #043a18 0%, #085528 50%, #4d8a22 100%);
}

/* 3D hook — ẩn đến khi gắn module */
.sf-3d-viewport,
#3d-configurator-viewport {
    display: none;
}

/* Tính năng giữ lại — không đổi palette gốc */
.sf-top { padding: 0; }
.sf-top-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 7px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px 24px;
    flex-wrap: wrap;
}
.sf-logo {
    width: auto;
    height: 52px;
    max-width: min(280px, 48vw);
    max-height: 56px;
    object-fit: contain;
    object-position: left center;
}
.sf-head-phones { display: flex; align-items: center; gap: 8px; }
.sf-quote-btn {
    position: relative;
    border: 0;
    background: var(--widget);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    border-radius: 999px;
    padding: 8px 14px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sf-quote-btn b {
    min-width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: #fff;
    color: var(--widget);
    font-size: 11px;
    display: inline-grid;
    place-items: center;
}
.trust { grid-template-columns: repeat(4, 1fr); }
.sf-pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin: 0 0 28px;
}
.sf-pillar {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid transparent;
    border-radius: var(--card-radius);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
    box-shadow: var(--shadow-style);
}
.sf-pillar:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .08); border-color: #d0d0d0; background: #fafafa; }
.sf-pillar-thumb { display: block; aspect-ratio: 4 / 3; background: #eef2ea; overflow: hidden; }
.sf-pillar-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sf-pillar-body { display: grid; gap: 6px; padding: 12px 14px 14px; }
.sf-pillar-body b { font-size: 15px; line-height: 1.3; }
.sf-pillar-body span { font-size: 13px; color: var(--muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sf-pillar-body em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--green); }
.sf-card-kind {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}
.sf-card-meta { margin: 0; font-size: 13px; color: var(--muted); }
.sf-filters {
    margin: 0 0 18px;
    padding: 12px 14px 10px;
    background: #fff;
    border: 1px solid var(--line);
}
.sf-filters-h {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.sf-filter-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 10px;
    font-size: 13px;
}
.sf-filter-row > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.sf-filter-row > div { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    color: #111;
    background: #f9fafb;
    font-size: 13px;
}
.sf-chip em { font-style: normal; color: var(--muted); font-size: 11px; }
.sf-chip.is-on { background: var(--widget); color: #fff; border-color: transparent; }
.sf-chip.is-on em { color: rgba(255,255,255,.85); }
.sf-chip-swatch {
    width: 2rem;
    height: 2rem;
    padding: 0;
    border-radius: 999px;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}
.sf-chip-c-trang { background: #fff; border-color: #ccc; color: #333; }
.sf-chip-c-den { background: #222; border-color: #111; color: #fff; }
.sf-chip-c-xam { background: #9aa0a6; border-color: #7d848c; color: #fff; }
.sf-chip-c-cam { background: var(--orange); border-color: #d46b12; color: #fff; }
.sf-chip-swatch.is-on { outline: 2px solid var(--widget); outline-offset: 2px; }
.sf-filters-box {
    background: #fff;
    border: 1px solid var(--line);
    margin: 0 0 16px;
}
.sf-filters-box > summary {
    list-style: none;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 14px;
    background: #f3f4f6;
}
.sf-filters-box > summary::-webkit-details-marker { display: none; }
.sf-filters-box .sf-filters { margin: 0; border: 0; }
.sf-archive-tools {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px 14px;
    margin: 0 0 16px;
}
.sf-archive-tools select {
    font: inherit;
    font-size: 13px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 8px 10px;
}
.sf-toc {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px 16px;
    margin: 0 0 18px;
}
.sf-toc p { margin: 0 0 8px; font-weight: 800; font-size: 13px; }
.sf-toc ol { margin: 0; padding-left: 1.2em; font-size: 13px; line-height: 1.6; }
.sf-quote-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 80;
}
.sf-quote-overlay.is-on { display: block; }
.sf-quote-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(380px, 100%);
    background: #fff;
    z-index: 90;
    transform: translateX(110%);
    transition: transform .2s ease;
    box-shadow: none;
    border-left: 1px solid #d8d8d8;
    display: flex;
    flex-direction: column;
}
.sf-quote-drawer.is-on { transform: translateX(0); }
.sf-quote-h {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    font-weight: 800;
    background: var(--widget);
    color: #fff;
}
.sf-quote-h button { border: 0; background: transparent; font-size: 22px; cursor: pointer; color: #fff; }
.sf-quote-list { flex: 1; overflow: auto; padding: 12px 16px; margin: 0; list-style: none; }
.sf-quote-list li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
    font-size: 13px;
}
.sf-quote-list button { border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.sf-quote-empty { color: var(--muted); font-size: 14px; padding: 24px 16px; }
.sf-quote-act { padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); }
.btn-quote-add {
    background: #fff;
    color: var(--widget);
    border: 1.5px solid var(--widget);
    border-radius: 999px;
    width: 100%;
    font-weight: 700;
}
@media (min-width: 861px) {
    .sf-filters-box > summary { display: none; }
    .sf-filters-box { display: block; }
}
@media (max-width: 860px) {
    .trust { grid-template-columns: 1fr 1fr; }
    .sf-pillars { grid-template-columns: 1fr 1fr; }
}

/* Listing: danh mục gọn + lọc sổ + card khung */
.sf-archive-head h1 { font-size: 22px; font-weight: 800; }
.sf-archive-grid {
    grid-template-columns: 268px minmax(0, 1fr);
    gap: 22px;
}
.sf-archive .sf-aside { position: sticky; top: 12px; }
.sf-cat-nav,
.sf-archive .sf-filters {
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-radius: 16px;
    box-shadow: none;
    overflow: hidden;
    margin: 0 0 14px;
}
.sf-cat-nav-h,
.sf-archive .sf-filters-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    padding: 14px 16px 12px;
    font-size: 14px;
    font-weight: 800;
    color: var(--orange);
    text-transform: none;
    letter-spacing: 0;
    background: #fff;
}
.sf-cat-nav-h::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--orange);
    margin-right: 8px;
    flex: none;
}
.sf-cat-nav-h {
    display: flex;
    align-items: center;
}
.sf-filters-clear {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-decoration: underline;
}
.sf-cat-nav ul { list-style: none; margin: 0; padding: 4px 8px 10px; }
.sf-cat-nav-i > a,
.sf-cat-nav-kids a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.sf-cat-nav-i > a::after {
    content: "";
    width: 7px;
    height: 7px;
    border-right: 2px solid #c5c9d1;
    border-top: 2px solid #c5c9d1;
    transform: rotate(45deg);
    flex: none;
    margin-left: 4px;
}
.sf-cat-nav-i.is-on > a {
    color: var(--orange);
    background: #fff7ed;
}
.sf-cat-nav-i.is-on > a::after {
    transform: rotate(135deg);
    border-color: var(--orange);
}
.sf-cat-nav em {
    font-style: normal;
    font-size: 11px;
    font-weight: 700;
    color: #9ca3af;
    background: #f3f4f6;
    border-radius: 999px;
    min-width: 1.4rem;
    padding: 1px 6px;
    text-align: center;
    margin-left: auto;
}
.sf-cat-nav-i.is-on em { background: #ffedd5; color: var(--orange); }
.sf-cat-nav-kids { padding: 0 0 6px 10px; }
.sf-cat-nav-kids a { font-weight: 500; font-size: 12px; padding: 7px 10px; }
.sf-cat-nav-kids .is-on a { color: var(--orange); font-weight: 700; }
.sf-archive .sf-filters { padding: 0 14px 14px; }
.sf-archive .sf-filters-h { padding: 14px 2px 8px; }
.sf-filter-dd {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.sf-filter-dd select {
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: #111;
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 9px 10px;
    background: #fafafa;
}
.sf-archive .sf-filter-row > span {
    text-transform: uppercase;
    letter-spacing: .03em;
    font-size: 12px;
}
.sf-archive-tools {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto auto;
    align-items: center;
    gap: 12px 16px;
    background: var(--paper);
    border: 1px solid #d8d8d8;
    border-radius: 999px;
    padding: 8px 10px 8px 16px;
    margin: 0 0 18px;
    box-shadow: none;
}
.sf-archive-q { margin: 0; min-width: 0; }
.sf-archive-q input[type="search"] {
    width: 100%;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    outline: none;
    padding: 6px 0;
}
.sf-archive-count { font-size: 13px; color: #6b7280; white-space: nowrap; }
.sf-archive-sort { margin: 0; }
.sf-archive-sort label { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #6b7280; }
.sf-archive-sort select {
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #fff;
    padding: 8px 12px;
}
.sf-archive .grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.sf-archive .card {
    position: relative;
    border-radius: var(--card-radius);
    border: 1px solid transparent;
    box-shadow: var(--shadow-style);
    overflow: hidden;
}
.sf-archive .card:hover {
    transform: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
    border-color: #e0a86a;
    background: #fafafa;
}
.sf-archive .card-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    color: inherit;
    min-height: 0;
}
.sf-archive .card .thumb {
    aspect-ratio: var(--thumb-ratio);
    background: #f3f4f6;
    border-radius: 0;
}
.sf-archive .card .thumb:empty { display: none; }
.sf-archive .card .body { padding: 14px 16px 8px; gap: 8px; }
.sf-archive .sf-card-kind {
    color: var(--orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
}
.sf-archive .card h3 {
    font-size: 15px;
    font-weight: 800;
    min-height: 2.6em;
    color: #111;
}
.sf-archive .sf-card-meta { font-size: 12px; }
.sf-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: auto;
    padding: 0 14px 12px;
}
.sf-card-foot .price {
    margin: 0;
    min-width: 0;
    flex: 1;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}
.sf-archive .price { font-size: 16px; font-weight: 800; color: var(--orange); }
.sf-card-cart {
    position: static;
    flex: none;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--orange);
    border-radius: 999px;
    background: #fff;
    color: var(--orange);
    cursor: pointer;
    display: grid;
    place-items: center;
    box-shadow: none;
}
.sf-card-cart:hover { background: var(--orange); color: #fff; }
.sf-archive .sf-subcats { margin: 18px 0 0; }
.sf-archive .sf-subcats .sec { font-size: 16px; }
.sf-archive .grid > .sf-tool-jump {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 13px;
}
.sf-archive .sf-tool-jump a { color: var(--orange); font-weight: 700; }
.sf-tool { max-width: 720px; }
.sf-tool-form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
    margin: 14px 0 18px;
    align-items: end;
}
.sf-tool-form label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.sf-tool-form select, .sf-tool-form button {
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    font: inherit;
}
.sf-tool-form button {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    font-weight: 800;
    cursor: pointer;
}
.sf-tool-bom { width: 100%; border-collapse: collapse; font-size: 14px; }
.sf-tool-bom th, .sf-tool-bom td { border-bottom: 1px solid #eee; padding: 8px 6px; text-align: left; vertical-align: middle; }
.sf-tool-bom td small { display: block; color: #6b7280; font-size: 12px; }
.sf-tool-bom .sf-card-cart { width: 32px; height: 32px; }
.sf-tool-total { font-size: 16px; margin: 12px 0; }
.sf-tool-cta { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.sf-tool-cta .js-quote-add-all {
    background: var(--orange);
    color: #fff;
    border: 0;
    border-radius: 10px;
    padding: 10px 14px;
    font-weight: 800;
    cursor: pointer;
}
.sf-archive .cat-intro {
    margin: 18px 0 0;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #4b5563;
}

@media (max-width: 860px) {
    .sf-archive .sf-aside { position: static; }
    .sf-archive-tools {
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 12px 14px;
    }
    .sf-archive-count { order: -1; }
}

/* Rà soát mobile/tablet — rule này đứng cuối để thắng cascade phía trên */
html { overflow-x: clip; }
.sf-pillar-thumb:empty,
.sf-pillar-thumb:not(:has(img)) { display: none; }

@media (max-width: 1100px) {
    .pdp-sum-split { grid-template-columns: 1fr; }
    .pdp-trust {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 12px;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid #eee;
    }
}

@media (max-width: 860px) {
    .wrap { padding: 14px 12px 28px; }
    /* 1 hàng: menu | logo (hoặc ô tìm) | icon tìm | báo giá */
    .sf-head {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "toggle brand search-btn actions";
        gap: 8px 10px;
        padding: 8px 12px;
        justify-items: stretch;
        align-items: center;
    }
    .sf-head.is-search-open {
        grid-template-columns: auto minmax(0, 1fr) auto auto;
        grid-template-areas: "toggle search search-btn actions";
    }
    .sf-nav-toggle { grid-area: toggle; display: flex; width: 40px; height: 40px; padding: 0; }
    .sf-head > .sf-brand {
        display: flex;
        grid-area: brand;
        min-width: 0;
        gap: 8px;
        align-self: center;
        justify-content: center;
    }
    .sf-head.is-search-open > .sf-brand { display: none; }
    .sf-head > .sf-brand .sf-brand-name { display: none; }
    .sf-head > .sf-brand .sf-logo {
        height: 40px;
        max-height: 40px;
        max-width: min(180px, 48vw);
    }
    .sf-head > .sf-brand .mark {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
    }
    .sf-search-toggle {
        display: flex;
        grid-area: search-btn;
    }
    .sf-head-search {
        display: none;
        grid-area: search;
        grid-column: auto;
        max-width: none;
        margin: 0;
        width: 100%;
        min-width: 0;
    }
    .sf-head.is-search-open .sf-head-search { display: flex; }
    .sf-head-search input[type="search"],
    .sf-head-search button { min-height: 40px; }
    .sf-head-phones { grid-area: actions; gap: 6px; }
    .sf-nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, .45);
        z-index: 95;
    }
    .sf-nav-overlay.is-on { display: block; }
    .sf-nav-panel {
        display: flex;
        flex-direction: column;
        min-height: 100%;
    }
    .sf-nav-panel-h {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 14px 12px 12px;
        padding-top: calc(12px + env(safe-area-inset-top, 0px));
        border-bottom: 1px solid #eee;
        background: #fff;
    }
    .sf-nav-panel-h .sf-brand {
        flex: 1;
        min-width: 0;
        gap: 10px;
    }
    .sf-nav-panel-h .sf-logo {
        height: 44px;
        max-width: min(200px, 58vw);
        max-height: 44px;
    }
    .sf-nav-panel-h .has-logo .sf-brand-name { display: none; }
    .sf-nav-panel-h .sf-brand-name {
        font-size: 14px;
        font-weight: 800;
        line-height: 1.25;
        white-space: normal;
    }
    .sf-nav-panel-foot {
        display: grid;
        gap: 8px;
        padding: 14px 16px calc(16px + env(safe-area-inset-bottom, 0px));
        margin-top: auto;
        border-top: 1px solid #eee;
        background: #fff;
    }
    .sf-nav-bar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(82vw, 320px);
        height: 100%;
        min-height: 100%;
        z-index: 100;
        background: #fff;
        overflow: auto;
        -webkit-overflow-scrolling: touch;
        transform: translateX(-110%);
        transition: transform .22s ease;
        box-shadow: 8px 0 24px rgba(0, 0, 0, .12);
    }
    .sf-nav-bar:not(.is-open) { height: 100%; overflow: auto; }
    .sf-nav-bar.is-open { transform: translateX(0); height: auto; overflow: auto; }
    .sf-nav-bar .sf-nav {
        display: flex;
        flex-direction: column;
        justify-content: stretch;
        max-width: none;
        margin: 0;
    }
    .sf-nav-bar .sf-nav a {
        color: #222;
        text-transform: none;
        letter-spacing: 0;
        font-size: 15px;
        font-weight: 700;
        padding: 14px 18px;
        border-bottom: 1px solid #f0f0f0;
    }
    .sf-nav-bar .sf-nav a:hover,
    .sf-nav-bar .sf-nav a.is-on,
    .sf-nav-bar .sf-nav-drop.is-on > a {
        background: #fff7ed;
        color: var(--orange);
    }
    .sf-nav-bar.is-open .sf-nav-sub {
        display: flex;
        position: static;
        box-shadow: none;
        border: 0;
    }
    body.sf-nav-open { overflow: hidden; }
    .hero-copy { padding: 20px 16px 18px; }
    .hero-copy h1 { font-size: clamp(22px, 6.5vw, 30px); }
    .hero-cta .btn { min-height: 44px; padding: 10px 14px; }
    .sf-archive-grid { grid-template-columns: 1fr; }
    .grid,
    .sf-archive .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card h3,
    .sf-archive .card h3 { font-size: 13px; min-height: 0; }
    .sf-archive .card .body { padding: 10px 10px 6px; }
    .sf-card-foot { padding: 0 10px 10px; }
    .sf-card-foot .price { font-size: 14px; }
    .sf-card-cart { width: 32px; height: 32px; }
    .pdp-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }
    .pdp-tab { flex: none; }
    .pdp-cta-row .btn,
    .btn-cart { min-height: 44px; }
    .sf-dock { padding-bottom: env(safe-area-inset-bottom, 0px); }
    body.sf-has-dock { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    body.sf-pdp-sticky-on { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
    body.sf-pdp-sticky-on .sf-dock { display: none; }
    body.sf-pdp-sticky-on .sf-pdp-sticky {
        display: flex;
        align-items: center;
        gap: 10px;
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 46;
        background: #fff;
        border-top: 1px solid var(--line);
        box-shadow: 0 -8px 20px rgba(16, 48, 22, .1);
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    }
    .sf-pdp-sticky-info { min-width: 0; flex: 1; }
    .sf-pdp-sticky-info .price {
        display: block;
        font-size: 15px;
        font-weight: 800;
        color: var(--orange);
        line-height: 1.2;
    }
    .sf-pdp-sticky-info .price.ask { color: var(--green); font-size: 14px; }
    .sf-pdp-sticky-info b {
        display: block;
        font-size: 12px;
        font-weight: 600;
        color: #555;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .sf-pdp-sticky-cta { display: flex; gap: 6px; flex: none; align-items: stretch; }
    .sf-pdp-sticky-cta .btn {
        width: auto;
        min-height: 40px;
        padding: 0 12px;
        font-size: 13px;
        border-radius: 999px;
    }
    .sf-pdp-sticky-cta .btn-cart { flex: none; }
    .sf-aside-fold {
        background: var(--paper);
        border: 1px solid #d8d8d8;
        border-radius: 16px;
        overflow: hidden;
        margin: 0 0 14px;
    }
    .sf-aside-fold > summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 12px 14px;
        font-weight: 800;
        font-size: 14px;
        cursor: pointer;
        list-style: none;
    }
    .sf-aside-fold > summary::-webkit-details-marker { display: none; }
    .sf-aside-fold > summary::after { content: "▾"; color: var(--muted); font-weight: 700; }
    .sf-aside-fold[open] > summary::after { content: "▴"; }
    .sf-aside-fold .sf-cat-nav,
    .sf-aside-fold .sf-filters { border: 0; border-radius: 0; margin: 0; }

    /* Gọn mobile: bớt thanh trùng, hero thấp, dock không đè card */
    .sf-top { display: none; }
    .sf-staging { font-size: 11px; padding: 4px 10px; }
    .sf-staging-extra { display: none; }
    .sf-quote-btn .lab { display: none; }
    .sf-quote-btn { padding: 8px 10px; }
    .sf-head { padding: 6px 10px; gap: 6px 8px; }
    .sf-sticky-chrome { box-shadow: 0 6px 16px rgba(16, 48, 22, .08); }
    .sf-head-search button { padding: 10px 12px; }
    .wrap { padding: 10px 12px 20px; }
    .hero { margin-bottom: 12px; min-height: 0; border-radius: 16px; }
    .hero-copy { padding: 16px 14px 14px; }
    .hero-copy h1 { font-size: clamp(20px, 6vw, 26px); margin-bottom: 6px; }
    .hero-copy .lead {
        margin-bottom: 12px;
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hero-cta { gap: 8px; }
    .hero-cta .btn { min-height: 40px; padding: 8px 12px; font-size: 14px; }
    .trust { gap: 8px; margin: 0 0 14px; }
    .trust div { padding: 10px 10px; font-size: 12px; border-radius: 12px; }
    .trust b { font-size: 13px; }
    .sf-home-block { padding: 14px 12px 16px; margin-bottom: 16px; border-radius: 16px; }
    .sf-pillar-body span { display: none; }
    .sf-card-kind { display: none; }
    .sf-archive .sf-card-kind { display: none; }
    .sf-dock a { min-height: 48px; padding: 6px 6px 8px; }
    .sf-dock a span { display: none; }
    .sf-dock a b { font-size: 12px; }
    body.sf-has-dock,
    body.sf-pdp-sticky-on { padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px)); }
}

@media (min-width: 861px) {
    .sf-aside-fold > summary { display: none; }
}

/* KSSG archive grid desktop override 2026-09-21 */
@media (min-width: 900px) {
  .sf-archive .grid,
  html[data-layout="catalog"] .sf-archive .grid,
  html.sf-layout-catalog .sf-archive .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 16px;
  }
}
@media (min-width: 1200px) {
  .sf-archive .grid,
  html[data-layout="catalog"] .sf-archive .grid,
  html.sf-layout-catalog .sf-archive .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
