/* ================= Trang danh mục sản phẩm (nvt-theme) ================= */
.sh h1 { margin: 0; font-family: var(--f-disp); font-weight: 800; font-size: var(--h2); line-height: 1.32; letter-spacing: -.005em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.cp { background: var(--bg); }
.cp-head { padding: 22px 0 6px; }
.cp-bc { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13px; color: var(--muted); }
.cp-bc a { color: var(--muted); }
.cp-bc a:hover { color: var(--brand); }
.cp-bc svg { opacity: .6; }
.cp-bc b { font-weight: 600; color: var(--ink); }
.cp-title { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; }
.cp-title .cnt { padding: 3px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font: 700 12.5px/1.6 var(--f-body); white-space: nowrap; }
.cp-sub { margin: 10px 0 0; max-width: 78ch; font-size: 14.5px; line-height: 1.65; color: var(--text); }
.cp-sub b { color: var(--ink); }

/* lối tắt danh mục con */
.cp-tiles { display: flex; gap: 10px; margin: 20px 0 0; padding: 4px; margin-inline: -4px; overflow-x: auto; scrollbar-width: none; }
.cp-tiles::-webkit-scrollbar { display: none; }
.cp-tile { flex: none; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: 700 13.5px/1.25 var(--f-body); color: var(--ink); transition: box-shadow .2s, transform .2s, color .2s; white-space: nowrap; }
.cp-tile i { flex: none; width: 36px; height: 36px; border-radius: 9px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font-style: normal; transition: background .2s, color .2s; }
.cp-tile small { display: block; margin-top: 1px; font: 500 11.5px/1.2 var(--f-body); color: var(--muted); }
.cp-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--brand), 0 8px 18px rgba(13,27,42,.1); color: var(--brand); }
.cp-tile:hover i, .cp-tile.on i { background: var(--brand); color: #fff; }
.cp-tile.on { box-shadow: 0 0 0 1.5px var(--brand); color: var(--brand-ink); }

/* khung 2 cột: bộ lọc + sản phẩm */
.cp-body { padding: 22px 0 8px; }
.cp-grid { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 24px; align-items: start; }
.cp-side { position: sticky; top: 16px; display: grid; gap: 12px; max-height: calc(100vh - 32px); overflow-y: auto; scrollbar-width: thin; padding: 2px; margin: -2px; }
.cp-fh { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cp-fh b { display: flex; align-items: center; gap: 8px; font: 800 14px var(--f-disp); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.cp-fh b svg { color: var(--brand); }
.cp-fh button, .cp-fh a.cp-reset { border: 0; background: none; font: 700 12.5px var(--f-body); color: var(--brand); padding: 4px 0; }
.cp-fh button:hover, .cp-fh a.cp-reset:hover { text-decoration: underline; }
.cp-x { display: none; }
.fg { border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; }
.fg > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; cursor: pointer; font: 700 13.5px var(--f-body); color: var(--ink); user-select: none; }
.fg > summary::-webkit-details-marker { display: none; }
.fg > summary svg { color: var(--muted); transition: transform .2s; }
.fg[open] > summary svg { transform: rotate(180deg); }
.fg-b { padding: 0 16px 14px; }
.fl { display: grid; gap: 2px; }
.fo { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 4px 6px; margin-inline: -6px; border-radius: 8px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.fo:hover { background: var(--soft); }
.fo input { position: absolute; opacity: 0; width: 0; height: 0; }
.fo .bx { flex: none; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #c4cfda; background: var(--surface); display: grid; place-items: center; color: #fff; transition: background .15s, box-shadow .15s; }
.fo .bx svg { width: 12px; height: 12px; opacity: 0; stroke-width: 3.2; }
.fo input:checked + .bx { background: var(--brand); box-shadow: none; }
.fo input:checked + .bx svg { opacity: 1; }
.fo input:focus-visible + .bx { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; }
.fo .t { flex: 1; min-width: 0; }
.fo .n { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.fo input:checked ~ .t { color: var(--ink); font-weight: 600; }
.fmore { margin-top: 4px; border: 0; background: none; font: 700 12.5px var(--f-body); color: var(--brand); padding: 4px 0; }
/* khoảng giá */
.pr-box { display: grid; gap: 14px; }
.pr-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.pr-in label { position: relative; }
.pr-in input { width: 100%; min-width: 0; height: 40px; padding: 0 22px 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); font: 600 13px var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-in input:focus { outline: 0; border-color: var(--brand); background: var(--surface); }
.pr-in em { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); font: 600 12px var(--f-body); font-style: normal; color: var(--muted); pointer-events: none; }
.pr-in span { color: var(--muted); }
.pr-rg { position: relative; height: 22px; }
.pr-rg::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 4px; border-radius: 3px; background: #e3eaf1; }
.pr-fill { position: absolute; top: 9px; height: 4px; border-radius: 3px; background: var(--brand); left: var(--a, 0%); right: calc(100% - var(--b, 100%)); }
.pr-rg input { position: absolute; left: 0; width: 100%; top: 0; height: 22px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.pr-rg input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 6px rgba(13,27,42,.25); cursor: grab; }
.pr-rg input::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 6px rgba(13,27,42,.25); cursor: grab; }
.pr-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-chips button { padding: 6px 11px; border: 0; border-radius: 8px; background: var(--soft); box-shadow: 0 0 0 1px var(--line); font: 600 12.5px var(--f-body); color: var(--text); transition: all .15s; }
.pr-chips button:hover { box-shadow: 0 0 0 1px var(--brand); color: var(--brand); }
.pr-chips button.on { background: var(--brand); color: #fff; box-shadow: none; }
.cp-apply { display: none; }

/* thanh công cụ */
.cp-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cp-res { font-size: 13.5px; color: var(--text); }
.cp-res b { color: var(--ink); }
.cp-ctl { display: flex; align-items: center; gap: 10px; }
.cp-fb { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font: 700 13.5px var(--f-body); }
.cp-fb i { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--brand); color: #fff; font: 700 11px/18px var(--f-body); font-style: normal; text-align: center; }
.cp-sort { position: relative; }
.cp-sort select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--soft); font: 600 13.5px var(--f-body); color: var(--ink); cursor: pointer; max-width: 100%; }
.cp-sort select:focus { outline: 0; border-color: var(--brand); background: var(--surface); }
.cp-sort svg { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); }
.cp-act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; min-height: 0; }
.cp-act:empty { display: none; }
.cp-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-ink); font: 600 12.5px var(--f-body); }
.cp-tag button, .cp-tag a { width: 20px; height: 20px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(0,110,181,.14); color: var(--brand-ink); padding: 0; }
.cp-tag button:hover, .cp-tag a:hover { background: var(--brand); color: #fff; }
.cp-clear { border: 0; background: none; font: 700 12.5px var(--f-body); color: var(--muted); padding: 5px 4px; }
.cp-clear:hover { color: var(--sale); }

/* lưới sản phẩm */
.cp-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 16px; margin-top: 16px; }
.cp-list .at { height: 100%; }
.cp-list .at-tx { display: flex; flex-direction: column; flex: 1; }
.cp-list .at-tx .addb { margin-top: auto; }
}
.cp-list .pp { margin-bottom: 4px; }
.at-meta { display: flex; flex-wrap: wrap; gap: 4px; margin: -2px 0 6px; }
.at-meta span { padding: 1px 7px; border-radius: 5px; background: var(--soft); box-shadow: inset 0 0 0 1px var(--line); font: 600 11px/1.6 var(--f-body); color: var(--muted); }

/* phân trang */
.cp-pg { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin: 30px 0 8px; }
.cp-pg a, .cp-pg span { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); font: 700 14px var(--f-body); color: var(--ink); transition: all .15s; }
.cp-pg a:hover { box-shadow: 0 0 0 1px var(--brand); color: var(--brand); transform: translateY(-1px); }
.cp-pg .cur { background: var(--brand); color: #fff; box-shadow: none; }
.cp-pg .gap { background: none; box-shadow: none; min-width: 20px; padding: 0; color: var(--muted); }
.cp-pg .off { opacity: .45; pointer-events: none; }

/* nội dung SEO (thu gọn được) */
.cp-seo { padding: 30px 0 56px; }
.cp-seo-in { position: relative; padding: 30px 34px 30px; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.cp-seo .sh { margin-bottom: 14px; }
.cp-doc { position: relative; max-height: 270px; overflow: hidden; transition: max-height .5s ease; font-size: 15px; line-height: 1.75; color: var(--text); }
.cp-doc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 110px; background: linear-gradient(180deg, rgba(255,255,255,0), var(--surface) 82%); pointer-events: none; transition: opacity .3s; }
.cp-seo.open .cp-doc { max-height: 6000px; }
.cp-seo.open .cp-doc::after { opacity: 0; }
.cp-doc h2, .cp-doc h3 { margin: 22px 0 8px; font: 800 18px/1.35 var(--f-disp); color: var(--ink); }
.cp-doc h3 { font-size: 16px; }
.cp-doc p { margin: 0 0 12px; }
.cp-doc a { color: var(--brand); }
.cp-doc ul { padding-left: 1.2em; list-style: disc; margin: 0 0 12px; }
.cp-doc li { margin-bottom: 4px; }
.cp-more { display: flex; margin: 8px auto 0; align-items: center; gap: 8px; padding: 10px 22px; border: 0; border-radius: 999px; box-shadow: 0 0 0 1.5px var(--brand); background: var(--surface); color: var(--brand); font: 700 13.5px var(--f-body); position: relative; }
.cp-more:hover { background: var(--brand); color: #fff; }
.cp-more svg { transition: transform .25s; }
.cp-seo.open .cp-more svg { transform: rotate(180deg); }

/* ---- Máy tính bảng ---- */
@media (max-width: 1100px) {
  .cp-grid { grid-template-columns: minmax(0, 1fr); }
  .cp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cp-fb { display: inline-flex; }
  .cp-side { position: fixed; z-index: 9985; inset: 0 auto 0 0; width: min(90vw, 380px); max-height: none; margin: 0; padding: 0 14px 96px; gap: 10px; background: var(--bg); box-shadow: 10px 0 40px rgba(0,0,0,.25); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); visibility: hidden; align-content: start; }
  .cp-side.open { transform: none; visibility: visible; }
  .cp-fh { position: sticky; top: 0; z-index: 2; margin: 0 -14px 4px; border-radius: 0; box-shadow: 0 1px 0 var(--line); }
  .cp-x { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--ink); padding: 0; }
  .cp-apply { display: block; position: fixed; z-index: 9986; left: 0; bottom: 0; width: min(90vw, 380px); padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--surface); box-shadow: 0 -1px 0 var(--line), 0 -10px 24px rgba(13,27,42,.1); transform: translateX(-105%); transition: transform .3s cubic-bezier(.2,.8,.2,1); visibility: hidden; }
  .cp-side.open + .cp-apply, .cp-apply.open { transform: none; visibility: visible; }
  .cp-apply button { width: 100%; height: 46px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: 700 15px var(--f-body); }
  .cp-ov { position: fixed; inset: 0; z-index: 9984; background: rgba(8,20,32,.55); opacity: 0; visibility: hidden; transition: opacity .25s; }
  .cp-ov.open { opacity: 1; visibility: visible; }
}
/* ---- Điện thoại ---- */
@media (max-width: 700px) {
  .cp-head { padding: 14px 0 2px; }
  .cp-bc { margin-bottom: 12px; font-size: 12.5px; }
  .cp-title { gap: 8px 10px; }
  .cp-sub { font-size: 13.5px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .cp-tiles { margin: 16px -16px 0 -4px; padding: 4px 16px 4px 4px; }
  .cp-tile { padding: 6px 12px 6px 6px; font-size: 13px; }
  .cp-tile i { width: 32px; height: 32px; }
  .cp-body { padding-top: 14px; }
  .cp-bar { padding: 8px; gap: 8px; }
  .cp-res { display: none; }
  .cp-ctl { width: 100%; }
  .cp-ctl > * { flex: 1; min-width: 0; }
  .cp-fb { justify-content: center; }
  .cp-sort select { width: 100%; font-size: 16px; }
  .cp-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; }
  .cp-pg { gap: 6px; }
  .cp-pg a, .cp-pg span { min-width: 38px; height: 38px; font-size: 13.5px; }
  .cp-pg .hide-s { display: none; }
  .cp-seo { padding: 20px 0 40px; }
  .cp-seo-in { padding: 20px 16px; border-radius: 12px; }
  .cp-doc { max-height: 220px; font-size: 14px; line-height: 1.7; }
  .cp-doc h2 { font-size: 16px; } .cp-doc h3 { font-size: 15px; }
}

/* nền + chuẩn hoá cho khu vực danh mục (không phụ thuộc main.css) */
:where(.cp, .cp-ov) *, :where(.cp, .cp-ov) *::before, :where(.cp, .cp-ov) *::after { box-sizing: border-box; }
.cp a { color: inherit; text-decoration: none; }
.cp img { display: block; max-width: 100%; height: auto; }
.cp button, .cp select, .cp input { font: inherit; color: inherit; }
.cp button { cursor: pointer; }
.cp :is(ul, ol) { margin: 0; }
.cp .cp-doc :is(ul, ol) { list-style: revert; }
.cp :focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 55%, transparent); outline-offset: 2px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 15px/1.6 var(--f-body); }

.cp-form { display: contents; }
.cp-tag a { display: grid; place-items: center; text-decoration: none; line-height: 1; }
a.cp-clear { text-decoration: none; }
.cp-fh a.cp-reset { margin-left: auto; margin-right: 6px; font: 700 12.5px var(--f-body); text-decoration: none; }
.cp-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; border-radius: 14px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); color: var(--muted); }
.cp-empty b { color: var(--ink); font-size: 16px; }
.cp-empty a { color: var(--brand); font-weight: 600; }
.cp-doc img { max-width: 100%; height: auto; border-radius: 10px; }
.cp .pr-in { gap: 6px; }
.cp .pr-in input { padding: 0 18px 0 8px; font-size: 12.5px; letter-spacing: -.01em; box-shadow: none; margin: 0; }
.cp .pr-in em { right: 6px; font-size: 11px; }
.cp-pg .hide-s { min-width: 0; height: auto; padding: 0; border-radius: 0; background: none; box-shadow: none; display: inline; color: inherit; font: inherit; }
@media (max-width: 700px) {
  .cp-list .addb { white-space: nowrap; }
}

/* ================= Danh mục "Góc PC đẹp": lưới góc setup thực tế (không giá) ================= */
.sc-tiles { display: flex; gap: 10px; margin: 20px 0 0; padding: 4px; margin-inline: -4px; overflow-x: auto; scrollbar-width: none; }
.sc-tiles::-webkit-scrollbar { display: none; }
.sc-tile { position: relative; flex: none; display: flex; align-items: flex-end; width: 206px; height: 104px; overflow: hidden; border-radius: 12px; background: #0d1b2a; color: #fff; box-shadow: 0 0 0 1px var(--line); transition: transform .2s, box-shadow .2s; }
.sc-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sc-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 24, 44, .1) 10%, rgba(6, 24, 44, .92)); }
.sc-tile:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--brand), 0 8px 18px rgba(13, 27, 42, .14); }
.sc-tile:hover img { transform: scale(1.06); }
.sc-tile.on { box-shadow: 0 0 0 2.5px var(--brand), 0 8px 18px rgba(13, 27, 42, .14); }
.sc-tt { position: relative; z-index: 1; display: grid; gap: 1px; padding: 10px 12px; }
.sc-tt b { font: 700 13.5px/1.25 var(--f-body); }
.sc-tile .sc-tt b { color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.sc-tile .sc-tt small { text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.sc-tile.all .sc-tt b { color: var(--ink); text-shadow: none; } .sc-tile.all .sc-tt small { text-shadow: none; }
.sc-tt small { font: 500 11.5px/1.2 var(--f-body); color: rgba(255, 255, 255, .8); }
.sc-tile.all { background: var(--surface); color: var(--ink); align-items: center; }
.sc-tile.all::after { display: none; }
.sc-tile.all .sc-tt { grid-template-columns: auto; justify-items: start; gap: 4px; }
.sc-tile.all i { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 2px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); }
.sc-tile.all small { color: var(--muted); }
.sc-tile.all.on { background: var(--brand-soft); }

.sc-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sc-c { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s, transform .2s; }
.sc-c:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px var(--brand), 0 8px 18px rgba(13, 27, 42, .1); }
.sc-im { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--brand-soft); }
.sc-im img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; backface-visibility: hidden; }
.sc-c:hover .sc-im img { transform: scale(1.03); }
.sc-bd { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 999px; background: rgba(13, 27, 42, .72); backdrop-filter: blur(4px); color: #fff; font: 700 11px/1.6 var(--f-body); letter-spacing: .04em; text-transform: uppercase; }
.sc-tx { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 14px 16px 16px; }
.sc-k { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1.3 var(--f-body); color: var(--muted); font-variant-numeric: tabular-nums; } .sc-k .lu { color: var(--brand); }
.sc-c h3 { margin: 0; font: 700 17px/1.3 var(--f-body); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sc-c h3 a { color: inherit; } .sc-c:hover h3 a { color: var(--brand); }
.sc-sp { display: grid; align-content: start; gap: 6px; min-height: 92px; margin: 2px 0 6px; padding: 10px 0 0; list-style: none; border-top: 1px solid var(--line); }
.sc-sp li { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; color: var(--text); }
.sc-sp .lu { color: var(--brand); }
.sc-sp span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sc-go { display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; margin-top: auto; border-radius: 10px; background: var(--brand-soft); color: var(--brand-ink); font: 700 13.5px var(--f-body); transition: background .2s, color .2s; }
.sc-go .lu { transition: transform .2s; }
.sc-c:hover .sc-go { background: var(--brand); color: #fff; } .sc-c:hover .sc-go .lu { transform: translateX(4px); }
.sc-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 28px 0 8px; padding: 18px 24px; border-radius: 10px; color: #fff; background: radial-gradient(circle at 88% 8%, rgba(255, 255, 255, .26) 0, rgba(255, 255, 255, 0) 38%), radial-gradient(rgba(255, 255, 255, .2) 1.6px, transparent 1.8px) 0 0 / 22px 22px, linear-gradient(125deg, #0a68ad 0%, #1a86d0 55%, #3aa7ee 100%); }
.sc-cta b { display: block; font: 700 17px/1.35 var(--f-body); }
.sc-cta span { display: block; font-size: 13.5px; color: rgba(255, 255, 255, .9); }
.sc-cta-a { display: flex; flex-wrap: wrap; gap: 8px; }
.sc-cta-a a { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 10px; font: 700 14px var(--f-body); }
.sc-cta-a .p { background: #fff; color: var(--brand-ink); }
.sc-cta-a .s { box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); color: #fff; } .sc-cta-a .s:hover { background: #fff; color: var(--brand-ink); }
@media (max-width: 1100px) { .sc-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .sc-g { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sc-tx { padding: 11px 12px 13px; } .sc-c h3 { font-size: 14.5px; } .sc-sp li { font-size: 12px; } .sc-sp .lu { width: 14px; height: 14px; }
  .sc-tile { width: 176px; height: 92px; }
}
@media (max-width: 460px) { .sc-g { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .sc-c, .sc-c .sc-im img, .sc-tile, .sc-tile img, .sc-go, .sc-go .lu { transition: none; } }

.sc-cfg { min-height: 92px; margin: 2px 0 6px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sc .sh h1 { white-space: normal; }
@media (max-width: 700px) { .sc .sh { flex-wrap: wrap; gap: 8px 12px; } .sc .sh i { order: 3; flex-basis: 100%; } }
.sc .cp-bar { margin-bottom: 16px; }

/* ---------- Trang kết quả tìm kiếm ---------- */
.se .cp-title { gap: 8px 10px; }
.se .sh h1 em { font-style: normal; text-transform: none; color: var(--brand); overflow-wrap: anywhere; }
.se .cp-title:empty { display: none; }
.se-ptag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 10px; background: var(--soft); box-shadow: 0 0 0 1px var(--line); color: var(--text); font: 600 12.5px/1.6 var(--f-body); white-space: nowrap; }
.se-ptag:hover { color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.se-tiles { margin-top: 16px; }
.se .cp-body { padding-top: 14px; }
.se-form { margin: 0; }
.se-form .cp-ctl { flex-wrap: wrap; }
.se .cp-act { margin-bottom: 2px; }
.se-empty { margin-top: 4px; padding: 52px 20px; }
.se-empty > svg { width: 44px; height: 44px; padding: 10px; box-sizing: content-box; border-radius: 50%; background: var(--brand-soft); color: var(--brand); }
.se-empty span { max-width: 52ch; line-height: 1.6; }
.se-pop { margin-top: 26px; }
.se-h { margin: 0 0 10px; font: 700 15px var(--f-head, var(--f-body)); color: var(--ink); }
.se-blog { margin-top: 38px; }
.se-bh { display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 16px; }
.se-bh .sh { flex: 1; min-width: 0; margin: 0; }
.se-more { display: inline-flex; align-items: center; gap: 6px; font: 700 13.5px var(--f-body); color: var(--brand); white-space: nowrap; }
.se-more:hover { color: var(--brand-ink); }
.se-bg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .se-bg { grid-template-columns: repeat(2, minmax(0, 1fr)); } .se-bg > :nth-child(3) { display: none; } }
@media (max-width: 560px) {
  .se-bg { grid-template-columns: minmax(0, 1fr); } .se-bg > :nth-child(3) { display: block; }
  .se-form .cp-ctl { width: 100%; } .se-form .cp-sort { flex: 1 1 0; min-width: 0; } .se-form .cp-sort select { width: 100%; }
}

/* Sản phẩm chưa có giá */
.at-tx .pp b.pp-ct { font-size: 16px; font-weight: 700; letter-spacing: 0; color: var(--brand-ink); }

/* Mô tả danh mục nằm trong cột sản phẩm (cùng độ rộng với danh sách); bộ lọc bên trái chạy dọc suốt chiều cao trang */
.cp-main .cp-seo { padding: 28px 0 0; }
.cp-main .cp-seo-in { padding: 26px 28px; }
@media (max-width: 700px) { .cp-main .cp-seo { padding: 20px 0 0; } .cp-main .cp-seo-in { padding: 18px 16px; } }

/* Chống tràn ngang trên điện thoại: cột nội dung không bị mô tả danh mục (bảng/ảnh/chuỗi dài) kéo giãn */
.cp-grid > * { min-width: 0; }
.cp-main { min-width: 0; max-width: 100%; }
.cp-doc { overflow-wrap: anywhere; }
.cp-doc table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cp-doc img, .cp-doc iframe, .cp-doc video { max-width: 100%; height: auto; }
.cp-doc pre { max-width: 100%; overflow-x: auto; }
