/* ==========================================================================
   TLP Solution — giao diện website (bộ nhận diện Hexagon Core: trắng + teal đậm)
   ========================================================================== */
:root {
  --deep: #001e22;
  --deep-2: #002a30;
  --brand: #004953;
  --brand-600: #006070;
  --brand-500: #007a8a;
  --accent: #00b4cc;
  --accent-soft: #c8ecf0;
  --tint: #f0f8f8;
  --line: #d6e6e8;
  --line-2: #e7f0f1;
  --ink: #0d2427;
  --ink-2: #3c5559;
  --muted: #6a8286;
  --bg: #ffffff;
  --shop-bg: #eef3f4;
  --sale: #d92d20;
  --sale-2: #b42318;
  --ok: #067647;
  --warn: #b54708;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 1px 2px rgba(0, 30, 34, .06), 0 4px 16px rgba(0, 30, 34, .06);
  --shadow-lg: 0 10px 40px rgba(0, 30, 34, .14);
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Oxanium', var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 15px; }
body.page-shop { background: var(--shop-bg); }
img { max-width: 100%; display: block; }
a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
small, .small { font-size: 13px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.right { text-align: right; }
.nowrap { white-space: nowrap; }
.hp { position: absolute; left: -9999px; }

.ico { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -.2em; }
.ico.rot90 { transform: rotate(90deg); width: .9em; height: .9em; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 920px; }
.section { padding: 80px 0; }
.section-sm { padding: 28px 0 56px; }
.section--tint { background: var(--tint); }
.section--shop { background: var(--shop-bg); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 44px; }
.section__head h2 { font-size: clamp(26px, 3.4vw, 36px); }
.section__head--row { display: flex; justify-content: space-between; align-items: end; text-align: left; max-width: none; gap: 16px; flex-wrap: wrap; }

.eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-500); margin-bottom: 10px; }
.eyebrow--light { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 18px; border-radius: var(--radius-sm); border: 1px solid transparent;
  background: var(--brand); color: #fff; font: 600 14px/1.2 var(--font); cursor: pointer; transition: background .15s, transform .1s, border-color .15s; text-align: center; }
.btn:hover { background: var(--brand-600); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { padding: 7px 12px; font-size: 13px; }
.btn--lg { padding: 13px 24px; font-size: 15px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--deep); }
.btn--accent:hover { background: #2ccbe0; color: var(--deep); }
.btn--ghost { background: #fff; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { background: var(--tint); color: var(--brand); border-color: var(--brand-500); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline-light:hover { background: rgba(255,255,255,.08); color: #fff; border-color: #fff; }
.btn--sale { background: var(--sale); color: #fff; flex-direction: column; gap: 2px; }
.btn--sale:hover { background: var(--sale-2); }
.btn--sale small { font-weight: 400; font-size: 12px; opacity: .9; }
.btn--danger { background: #fff; color: var(--sale); border-color: #f4c7c3; }
.btn--danger:hover { background: #fef3f2; color: var(--sale-2); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-row.center { justify-content: center; }
.link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: #fff; color: var(--ink-2); cursor: pointer; }
.icon-btn:hover { border-color: var(--brand-500); color: var(--brand); }
.icon-btn--danger:hover { border-color: #f4c7c3; color: var(--sale); background: #fef3f2; }

/* ---------- Alerts / pills ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: 16px 0; border: 1px solid; font-size: 14px; }
.alert--success { background: #ecfdf3; border-color: #abefc6; color: var(--ok); }
.alert--error { background: #fef3f2; border-color: #fecdca; color: var(--sale-2); }
.alert--warn { background: #fffaeb; border-color: #fedf89; color: var(--warn); }
.alert--info { background: var(--tint); border-color: var(--accent-soft); color: var(--brand); text-align: left; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 42px; }
.logo__word { display: flex; flex-direction: column; gap: 3px; }
.logo__tlp { font: 800 24px/0.9 var(--font-brand); letter-spacing: .08em; }
.logo__sub { font: 300 9px/1 var(--font-brand); letter-spacing: .45em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; }
.logo__sub i { width: 12px; height: 1px; background: currentColor; opacity: .5; }
.logo--dark { color: var(--brand); }
.logo--dark .logo__sub { color: var(--brand-500); }
.logo--dark .lg-outer { stroke: rgba(0,73,83,.3); }
.logo--dark .lg-mid { fill: rgba(0,73,83,.08); stroke: var(--brand); }
.logo--dark .lg-inner { fill: var(--brand); }
.logo--dark .lg-t { fill: #fff; }
.logo--dark .lg-dot { fill: var(--brand); }
.logo--light { color: #fff; }
.logo--light .logo__sub { color: rgba(255,255,255,.65); }
.logo--light .lg-outer { stroke: rgba(255,255,255,.25); }
.logo--light .lg-mid { fill: rgba(0,30,34,.5); stroke: rgba(255,255,255,.6); }
.logo--light .lg-inner { fill: #fff; }
.logo--light .lg-t { fill: var(--brand); }
.logo--light .lg-dot { fill: #fff; }

/* ---------- Header ---------- */
.topbar { background: var(--deep); color: rgba(255,255,255,.7); font-size: 12.5px; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar__in > span { display: inline-flex; align-items: center; gap: 6px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
.topbar__right { gap: 20px !important; flex-shrink: 0; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent); }
.header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.header__brand { flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav > a, .nav__drop > a { padding: 8px 12px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 500; font-size: 14.5px; display: inline-flex; align-items: center; gap: 4px; }
.nav > a:hover, .nav__drop > a:hover, .nav a.is-active { color: var(--brand); background: var(--tint); }
.nav__drop { position: relative; }
.nav__menu { position: absolute; top: calc(100% + 8px); left: -12px; width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; }
.nav__menu::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav__drop:hover .nav__menu, .nav__drop:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu a { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14px; font-weight: 500; align-items: flex-start; }
.nav__menu a:hover { background: var(--tint); color: var(--brand); }
.nav__menu .ico { width: 20px; height: 20px; color: var(--brand-500); margin-top: 1px; }
.nav__menu small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.hsearch { flex: 1; display: flex; max-width: 360px; margin-left: auto; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--tint); }
.hsearch input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 9px 16px; font: 14px var(--font); outline: none; color: var(--ink); }
.hsearch button { border: 0; background: var(--brand); color: #fff; padding: 0 16px; cursor: pointer; }
.hsearch:focus-within { border-color: var(--brand-500); background: #fff; }
.hcart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--brand); background: var(--tint); }
.hcart .ico { width: 22px; height: 22px; }
.hcart__n { position: absolute; top: -2px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sale); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; border: 0; background: none; color: var(--brand); padding: 8px; cursor: pointer; }
.nav-toggle .ico { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--deep); color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 85% 30%, rgba(0,180,204,.22), transparent 60%),
    radial-gradient(ellipse 50% 60% at 10% 100%, rgba(0,96,112,.45), transparent 60%),
    linear-gradient(180deg, var(--deep), #00262b);
}
.hero__bg::after { content: ''; position: absolute; inset: 0; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath d='M28 66 0 50V17L28 1l28 16v33L28 66zm0 32V66' fill='none' stroke='%23fff' stroke-width='1'/%3E%3C/svg%3E");
  mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 20px; }
.hero .lead { font-size: 17px; color: rgba(255,255,255,.75); max-width: 620px; margin-bottom: 32px; }
.hero__facts { list-style: none; display: flex; gap: 40px; margin: 48px 0 0; padding: 28px 0 0; border-top: 1px solid rgba(255,255,255,.12); }
.hero__facts b { display: block; font: 700 30px/1 var(--font-brand); color: var(--accent); }
.hero__facts span { font-size: 13px; color: rgba(255,255,255,.6); }
.hexart { width: 100%; max-width: 420px; margin-left: auto; overflow: visible; }
.hexart__ring { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1.5; }
.hexart__ring--2 { fill: rgba(0,73,83,.45); stroke: rgba(255,255,255,.5); }
.hexart__core { fill: #fff; }
.hexart__lines path { stroke: rgba(255,255,255,.3); stroke-width: 1.5; }
.hexart__nodes circle { fill: var(--accent); animation: pulse 3s ease-in-out infinite; }
.hexart__nodes circle:nth-child(2n) { animation-delay: 1.5s; fill: #fff; }
.hexart { animation: float 8s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hexart, .hexart__nodes circle { animation: none; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about h2 { font-size: clamp(26px, 3.2vw, 36px); }
.lead-dark { font-size: 16px; color: var(--ink-2); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.checks .ico { color: #fff; background: var(--brand-500); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.legal { background: var(--brand); color: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.legal__head { padding: 28px 28px 20px; background: linear-gradient(135deg, var(--deep), var(--brand)); }
.legal dl { margin: 0; padding: 8px 28px 24px; display: grid; grid-template-columns: 140px 1fr; }
.legal dt, .legal dd { padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); margin: 0; font-size: 14px; }
.legal dt { color: rgba(255,255,255,.6); }
.legal dd { font-weight: 500; }
.legal dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 28px; color: var(--ink); transition: .2s; overflow: hidden; }
.svc:hover { border-color: var(--brand-500); transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--ink); }
.svc__num { position: absolute; top: 18px; right: 22px; font: 700 40px/1 var(--font-brand); color: var(--line-2); }
.svc__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px; background: var(--brand); color: #fff; margin-bottom: 18px; flex-shrink: 0; }
.svc__ico .ico { width: 26px; height: 26px; }
.svc h3 { font-size: 18px; }
.svc p { color: var(--ink-2); font-size: 14px; }
.svc ul { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; font-size: 13.5px; color: var(--ink-2); }
.svc li::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 8px; background: var(--accent); transform: rotate(45deg); vertical-align: 2px; }
.svc__more { margin-top: auto; font-weight: 600; color: var(--brand-600); display: inline-flex; gap: 6px; align-items: center; }
.svc:hover .svc__more { color: var(--accent); }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why > div { padding: 28px 24px; border-radius: 14px; background: var(--tint); }
.why .ico { width: 34px; height: 34px; color: var(--brand-500); margin-bottom: 14px; }
.why h3 { font-size: 17px; }
.why p { font-size: 14px; color: var(--ink-2); margin: 0; }

.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brands__in { display: flex; flex-wrap: wrap; justify-content: space-around; gap: 16px 40px; padding-top: 28px; padding-bottom: 28px; }
.brands span { font: 700 20px var(--font-brand); color: #9db3b6; letter-spacing: .04em; }

.cta { background: linear-gradient(120deg, var(--deep), var(--brand)); color: #fff; }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(22px, 2.8vw, 30px); margin-bottom: 6px; }
.cta p { color: rgba(255,255,255,.7); margin: 0; }

/* ---------- Page head / breadcrumbs ---------- */
.pagehead { background: linear-gradient(120deg, var(--deep), var(--brand)); color: #fff; padding: 40px 0 48px; }
.pagehead h1 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 8px; }
.pagehead p { color: rgba(255,255,255,.75); max-width: 720px; margin: 0; }
.crumbs { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 13px; margin-bottom: 20px; color: rgba(255,255,255,.6); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs .ico { width: 14px; height: 14px; }
.crumbs--dark { color: var(--muted); margin: 16px 0; }
.crumbs--dark a { color: var(--ink-2); }
.crumbs--dark span { color: var(--ink); }

.svc-block { padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-block:first-child { padding-top: 0; }
.svc-block:last-child { border-bottom: 0; }
.svc-block__head { display: flex; gap: 20px; margin-bottom: 24px; }
.svc-block__head h2 { font-size: 26px; }
.svc-block__head h2 a { color: var(--ink); }
.svc-block__head h2 a:hover { color: var(--brand-500); }
.svc-items { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.svc-items--1 { grid-template-columns: 1fr; }
.svc-item { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; display: flex; flex-direction: column; }
.svc-item h3 { font-size: 16px; }
.svc-item p { font-size: 14px; color: var(--ink-2); flex: 1; }
.svc-item--lg { flex-direction: row; gap: 24px; padding: 28px; }
.svc-item--lg h2 { font-size: 20px; }
.svc-item--lg p { font-size: 15px; }
.svc-item__n { font: 700 34px/1 var(--font-brand); color: var(--accent); flex-shrink: 0; }
.svc-detail { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.svc-side { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; background: #fff; }
.svc-side h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); padding: 8px 10px 4px; margin: 0; }
.svc-side > a { display: flex; gap: 10px; align-items: center; padding: 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14px; font-weight: 500; }
.svc-side > a:hover, .svc-side > a.is-active { background: var(--tint); color: var(--brand); }
.svc-side > a.is-active { box-shadow: inset 3px 0 var(--brand); }
.svc-side__cta { margin-top: 12px; padding: 16px; border-radius: var(--radius-sm); background: var(--deep); color: #fff; }
.svc-side__cta p { margin-bottom: 10px; font-weight: 600; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.table th, .table td { padding: 12px 14px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.table th { background: var(--tint); font-weight: 600; color: var(--ink-2); font-size: 13px; }
.section--tint .table { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.section--tint .table td:first-child { font-weight: 600; color: var(--brand); width: 30%; }

/* ---------- Forms ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }
.form { display: grid; gap: 14px; }
.form h2 { font-size: 22px; margin: 0; }
label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
input, select, textarea { width: 100%; font: 14.5px var(--font); color: var(--ink); padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(0,180,204,.18); }
textarea { resize: vertical; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label.check, label.radio { display: flex; align-items: center; gap: 8px; font-weight: 500; cursor: pointer; }
label.check input, label.radio input { width: auto; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.contact__info h2 { font-size: 22px; }
.info-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 16px; }
.info-list li { display: flex; gap: 14px; }
.info-list .ico { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--tint); color: var(--brand); }
.info-list b { display: block; font-size: 13px; color: var(--muted); font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: rgba(255,255,255,.7); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-top: 56px; padding-bottom: 40px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer a { color: rgba(255,255,255,.75); }
.footer a:hover { color: var(--accent); }
.footer__name { color: #fff; font-weight: 700; margin: 18px 0 0; }
.footer__info, .footer__links { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.footer__links { margin: 0 0 20px; }
.footer__info li { display: flex; gap: 10px; }
.footer__info .ico { color: var(--accent); margin-top: 3px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; color: rgba(255,255,255,.5); }

/* ==========================================================================
   CỬA HÀNG (phong cách sàn TMĐT công nghệ)
   ========================================================================== */
.shop-top { padding: 16px 0 0; }
.shop-top__grid { display: grid; grid-template-columns: 240px 1fr 280px; gap: 12px; }
.catnav { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 6px 0; }
.catnav a { display: flex; align-items: center; gap: 10px; padding: 9px 16px; color: var(--ink); font-size: 14px; font-weight: 500; }
.catnav a span { flex: 1; }
.catnav a .ico { color: var(--brand-500); }
.catnav a:hover { background: var(--tint); color: var(--brand); }
.catnav__chev { width: 14px !important; height: 14px !important; color: var(--muted) !important; }
.slider { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow); }
.slide { position: absolute; inset: 0; padding: 40px 44px; color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  opacity: 0; transition: opacity .6s; pointer-events: none; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide h2 { font-size: clamp(22px, 2.6vw, 32px); max-width: 70%; font-weight: 800; }
.slide p { max-width: 60%; color: rgba(255,255,255,.8); }
.slide--1 { background: linear-gradient(120deg, var(--deep) 30%, var(--brand)); }
.slide--2 { background: linear-gradient(120deg, #00262b 20%, #00707f); }
.slide--3 { background: linear-gradient(120deg, #0b2a3a 20%, var(--brand-600)); }
.slide__art { position: absolute; right: 6%; top: 50%; transform: translateY(-50%); color: rgba(0,180,204,.25); }
.slide__art .ico { width: 200px; height: 200px; stroke-width: 1; }
.slider__dots { position: absolute; bottom: 16px; left: 44px; display: flex; gap: 8px; z-index: 2; }
.slider__dots button { width: 10px; height: 10px; border-radius: 5px; border: 0; background: rgba(255,255,255,.35); cursor: pointer; padding: 0; transition: width .2s; }
.slider__dots button.is-active { width: 28px; background: var(--accent); }
.side-banners { display: grid; gap: 12px; }
.sb { border-radius: var(--radius); padding: 22px; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow); min-height: 150px; position: relative; overflow: hidden; }
.sb::after { content: ''; position: absolute; width: 140px; height: 160px; right: -30px; top: -30px; background: rgba(255,255,255,.08); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sb b { font-size: 18px; }
.sb span { font-size: 13px; opacity: .8; }
.sb:hover { color: #fff; filter: brightness(1.1); }
.sb--a { background: linear-gradient(135deg, var(--brand-600), var(--accent)); }
.sb--b { background: linear-gradient(135deg, var(--deep), var(--brand-500)); }
.policy { list-style: none; margin: 12px 0 0; padding: 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.policy li { display: flex; gap: 12px; align-items: center; }
.policy .ico { width: 34px; height: 34px; color: var(--brand-500); }
.policy b { display: block; font-size: 14px; }
.policy span { font-size: 12.5px; color: var(--muted); }

.shop-sec { margin-top: 20px; }
.shop-sec:last-of-type { margin-bottom: 48px; }
.shop-sec__head, .deal__head { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 14px 18px; border-radius: var(--radius) var(--radius) 0 0; border-bottom: 1px solid var(--line-2); }
.shop-sec__head h2, .deal__head h2 { font-size: 19px; margin: 0; display: flex; gap: 10px; align-items: center; }
.shop-sec__head h2 .ico { color: var(--brand-500); }
.shop-sec__head a, .deal__head a { font-size: 14px; font-weight: 500; display: inline-flex; align-items: center; gap: 2px; }
.shop-sec > .prow { background: #fff; border-radius: 0 0 var(--radius) var(--radius); padding: 14px; box-shadow: var(--shadow); }
.deal { background: linear-gradient(135deg, var(--sale), #f04438 50%, #fb6514); border-radius: var(--radius); padding: 0 14px 14px; box-shadow: var(--shadow); }
.deal__head { background: transparent; border-color: rgba(255,255,255,.2); padding: 16px 4px; }
.deal__head h2, .deal__head a { color: #fff; text-transform: uppercase; }
.deal__head h2 .ico { color: #fde272; }
.deal .prow { padding-top: 14px; }

.prow { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 12px) / 5); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.prow > * { scroll-snap-align: start; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pgrid--4 { grid-template-columns: repeat(4, 1fr); gap: 16px; }

.pcard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-lg); border-color: var(--line); }
.pcard__img { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: #fff; padding: 12px; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; transition: transform .3s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.ph { width: 100%; height: 100%; border-radius: var(--radius-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: radial-gradient(circle at 30% 20%, #fff, var(--tint) 70%); color: var(--brand-500); }
.ph .ico { width: 42%; height: 42%; stroke-width: 1.1; }
.ph b { font: 700 14px var(--font-brand); letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.ph--lg b { font-size: 20px; }
.badge { position: absolute; top: 10px; left: 10px; padding: 3px 8px; border-radius: 4px; font-size: 12px; font-weight: 700; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--out { left: auto; right: 10px; background: var(--ink); color: #fff; }
.badge--inline { position: static; }
.pcard__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.pcard__name { font-size: 14px; font-weight: 600; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.pcard__name a { color: var(--ink); }
.pcard__name a:hover { color: var(--brand-500); }
.pcard__price { margin-top: auto; padding-top: 4px; }
.pcard__price s { display: block; color: var(--muted); font-size: 13px; }
.pcard__price strong { color: var(--sale); font-size: 17px; }
.pcard form { margin: 4px 0 0; }

/* Danh sách / lọc */
.shop-list { display: grid; grid-template-columns: 250px 1fr; gap: 16px; align-items: start; padding-bottom: 56px; }
.filters { display: grid; gap: 12px; position: sticky; top: 88px; }
.filters__box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px; }
.filters__box h4 { font-size: 14px; margin-bottom: 10px; }
.filters__box > a { display: block; padding: 7px 10px; border-radius: var(--radius-sm); color: var(--ink); font-size: 14px; }
.filters__box > a:hover, .filters__box > a.is-active { background: var(--tint); color: var(--brand); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--ink-2); background: #fff; }
.chip:hover { border-color: var(--brand-500); color: var(--brand); }
.chip.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
.list-bar { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; margin-bottom: 12px; }
.list-bar h1 { font-size: 20px; margin-bottom: 10px; }
.list-bar h1 small { color: var(--muted); font-weight: 400; }
.sorts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }

/* Chi tiết sản phẩm */
.pdetail { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 28px; }
.pdetail__img { position: relative; aspect-ratio: 1; border: 1px solid var(--line-2); border-radius: var(--radius); display: grid; place-items: center; padding: 20px; }
.pdetail__img img { width: 100%; height: 100%; object-fit: contain; }
.pdetail__info h1 { font-size: 26px; margin: 6px 0 10px; }
.pdetail__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 16px 0 8px; padding: 14px 16px; background: var(--tint); border-radius: var(--radius-sm); }
.pdetail__price strong { font-size: 30px; color: var(--sale); }
.pdetail__price s { color: var(--muted); }
.stock { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--warn); }
.buy { display: grid; grid-template-columns: auto 1fr 1fr; gap: 10px; margin: 20px 0; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; height: 48px; background: #fff; }
.cart .qty { height: 38px; }
.qty button { width: 38px; border: 0; background: var(--tint); font-size: 18px; cursor: pointer; color: var(--brand); }
.qty input { width: 52px; border: 0; text-align: center; padding: 0; border-radius: 0; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty input:focus { box-shadow: none; }
.perks { list-style: none; padding: 16px; margin: 0; border: 1px dashed var(--line); border-radius: var(--radius); display: grid; gap: 10px; font-size: 14px; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks .ico { color: var(--brand-500); }
.pdetail-more { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.pdetail-more h2 { font-size: 19px; }
.prose p { color: var(--ink-2); white-space: pre-line; }
.specs { width: 100%; border-collapse: collapse; font-size: 14px; }
.specs th, .specs td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line-2); vertical-align: top; }
.specs tr:nth-child(odd) { background: var(--tint); }
.specs th { width: 40%; font-weight: 600; color: var(--ink-2); }

/* Giỏ hàng / thanh toán */
.page-title { font-size: 24px; }
.cart { padding: 8px 20px; }
.cart__row { display: grid; grid-template-columns: 72px 1fr auto 130px 34px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cart__img { width: 72px; height: 72px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; }
.cart__img img { width: 100%; height: 100%; object-fit: contain; }
.cart__img .ph .ico { width: 50%; height: 50%; }
.cart__name a { color: var(--ink); font-weight: 600; }
.cart__name small { display: block; color: var(--muted); }
.cart__line { color: var(--sale); text-align: right; }
.cart__foot { display: flex; justify-content: space-between; align-items: center; padding: 16px 0 8px; }
.cart-sum { margin-top: 16px; }
.cart-sum__row, .order-sum__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.price-lg { font-size: 24px; color: var(--sale); }
.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 16px; align-items: start; }
.order-sum { position: sticky; top: 88px; }
.order-sum h2 { font-size: 18px; }
.order-sum__row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.order-sum__row strong { white-space: nowrap; }
.order-sum__total { margin: 16px 0 0; }
.vat { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; }
.vat summary { cursor: pointer; font-weight: 600; font-size: 14px; color: var(--brand); }
.vat[open] summary { margin-bottom: 12px; }
.pay { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; display: grid; gap: 10px; margin: 0; }
.pay legend { font-weight: 600; font-size: 14px; padding: 0 6px; }
.success { text-align: center; padding: 40px 32px; }
.success__ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #ecfdf3; color: var(--ok); margin-bottom: 12px; }
.success__ico .ico { width: 36px; height: 36px; }
.success .specs { margin: 20px 0; text-align: left; }
.code { font: 700 20px var(--font-brand); color: var(--brand); letter-spacing: .05em; }

.empty { text-align: center; padding: 56px 24px; }
.empty > .ico, .empty__code .ico { width: 56px; height: 56px; color: var(--brand-500); margin: 0 auto 16px; display: block; }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); background: var(--deep); color: #fff; padding: 12px 20px; border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg); opacity: 0; transition: .25s; z-index: 100; font-size: 14px; display: flex; gap: 10px; align-items: center; max-width: calc(100% - 32px); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.toast a { color: var(--accent); font-weight: 600; white-space: nowrap; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .hsearch { display: none; }
  .nav { margin-left: auto; }
  .shop-top__grid { grid-template-columns: 220px 1fr; }
  .side-banners { display: none; }
  .prow { grid-auto-columns: calc((100% - 3 * 12px) / 4); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar__in > span:first-child { display: none; }
  .topbar__in { justify-content: center; }
  .header__in { height: 64px; gap: 12px; }
  .nav-toggle { display: block; }
  .hcart { margin-left: auto; }
  .nav { position: fixed; top: 64px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 16px; gap: 4px; overflow-y: auto;
    transform: translateX(100%); transition: transform .25s; margin: 0; }
  body.nav-open .nav { transform: none; }
  body.nav-open { overflow: hidden; }
  .nav > a, .nav__drop > a { padding: 12px; font-size: 16px; }
  .nav__menu { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .hero__in, .about, .contact, .svc-detail, .pdetail, .pdetail-more, .checkout, .shop-list { grid-template-columns: 1fr; }
  .hero__in { padding-top: 56px; padding-bottom: 56px; }
  .hero__art { display: none; }
  .hero__facts { gap: 24px; }
  .section { padding: 56px 0; }
  .shop-top__grid { grid-template-columns: 1fr; }
  .catnav { display: flex; overflow-x: auto; padding: 6px; gap: 4px; }
  .catnav a { flex-direction: column; text-align: center; padding: 10px; min-width: 96px; font-size: 12.5px; gap: 6px; }
  .catnav a .ico { width: 26px; height: 26px; }
  .catnav__chev { display: none; }
  .slide { padding: 28px; }
  .slide h2, .slide p { max-width: 100%; }
  .slide__art { display: none; }
  .slider { min-height: 280px; }
  .slider__dots { left: 28px; }
  .policy { grid-template-columns: 1fr 1fr; }
  .pgrid, .pgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .prow { grid-auto-columns: calc((100% - 12px) / 2.2); }
  .filters { position: static; }
  .svc-side, .order-sum { position: static; }
  .buy { grid-template-columns: 1fr 1fr; }
  .buy .qty { grid-column: 1 / -1; justify-self: start; }
  .cart__row { grid-template-columns: 60px 1fr 34px; grid-template-areas: "img name del" "img qty line"; gap: 8px 12px; }
  .cart__img { grid-area: img; width: 60px; height: 60px; }
  .cart__name { grid-area: name; }
  .cart__row .qty { grid-area: qty; }
  .cart__line { grid-area: line; }
  .cart__row .icon-btn { grid-area: del; }
}
@media (max-width: 560px) {
  .topbar__right a:last-child { display: none; }
  .logo__mark { width: 34px; height: 36px; }
  .logo__tlp { font-size: 20px; }
  .svc-grid, .why, .footer__grid, .grid-2 { grid-template-columns: 1fr; }
  .svc-item--lg { flex-direction: column; gap: 8px; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dt { padding-bottom: 0; border: 0; }
  .policy { grid-template-columns: 1fr; }
  .pdetail { padding: 16px; gap: 20px; }
  .pdetail__info h1 { font-size: 21px; }
  .card { padding: 18px; }
  .cta__in .btn-row, .hero .btn-row { width: 100%; }
  .cta__in .btn, .hero .btn-row .btn { flex: 1 1 100%; }
}

/* Chống tràn ngang: cho phép phần tử con của grid co lại */
.shop-top__grid > *, .shop-list > *, .pdetail > *, .pdetail-more > *, .checkout > *, .contact > *, .svc-detail > *, .about > *, .hero__in > * { min-width: 0; }
.container.card { width: calc(100% - 32px); max-width: 1208px; }

/* ---------- Tinh chỉnh mobile ---------- */
@media (max-width: 860px) {
  /* Bộ lọc thành dải cuộn ngang gọn gàng */
  .filters { gap: 8px; }
  .filters__box { display: flex; align-items: center; gap: 6px; padding: 10px 12px; overflow-x: auto; scrollbar-width: none; }
  .filters__box::-webkit-scrollbar { display: none; }
  .filters__box h4 { margin: 0 4px 0 0; flex-shrink: 0; font-size: 13px; color: var(--muted); }
  .filters__box > a { flex-shrink: 0; white-space: nowrap; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .filters__box > a.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
  .filters .chips { flex-wrap: nowrap; }
  .filters .chip { flex-shrink: 0; white-space: nowrap; }
  .sorts { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .sorts .chip, .sorts span { flex-shrink: 0; white-space: nowrap; }
  .list-bar h1 { font-size: 18px; }

  /* Thẻ sản phẩm */
  .pcard__body { padding: 10px; }
  .pcard__price strong { font-size: 15.5px; }
  .pcard .btn--sm { padding: 8px 6px; font-size: 12.5px; white-space: nowrap; gap: 5px; }

  /* Nút mua ở trang chi tiết */
  .btn--sale small { display: none; }
  .buy .btn--lg { padding: 12px; white-space: nowrap; }
  .pdetail__price strong { font-size: 26px; }
}
@media (max-width: 380px) {
  .pcard .btn--sm .ico { display: none; }
}
@media (max-width: 860px) {
  /* Menu mobile bám ngay dưới header (header là sticky nên làm mốc định vị) */
  .nav { position: absolute; top: 100%; height: calc(100vh - 64px); height: calc(100dvh - 64px); border-top: 1px solid var(--line); }
  .nav-toggle .ico-close { display: none; }
  body.nav-open .nav-toggle .ico-open { display: none; }
  body.nav-open .nav-toggle .ico-close { display: inline-block; }
}

/* ==========================================================================
   Tin tức
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.catnav__news { border-top: 1px solid var(--line-2); margin-top: 4px; color: var(--brand) !important; font-weight: 600 !important; }
.shop-sec__body { background: #fff; border-radius: 0 0 var(--radius) var(--radius); padding: 14px; box-shadow: var(--shadow); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.news-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 12px; }
.ncard { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.ncard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ncard__img { position: relative; aspect-ratio: 16/9; background: var(--tint); display: block; overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.ncard:hover .ncard__img img { transform: scale(1.04); }
.ncard__img .ph { border-radius: 0; }
.ncard__img .ph .ico { width: 30%; height: 30%; }
.ncard__src { position: absolute; left: 10px; bottom: 10px; background: rgba(0,30,34,.82); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 9px; border-radius: 4px; backdrop-filter: blur(4px); }
.ncard__src--own { background: var(--accent); color: var(--deep); }
.ncard__src--inline { position: static; display: inline-block; margin-bottom: 10px; }
.ncard__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ncard__body h3 { font-size: 15.5px; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__body h3 a { color: var(--ink); }
.ncard__body h3 a:hover { color: var(--brand-500); }
.ncard__body p { font-size: 13.5px; color: var(--ink-2); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ncard__body time { margin-top: auto; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.news-grid--4 .ncard__body p { display: none; }

.news-page { padding-bottom: 56px; }
.news-page__lead { margin: -4px 0 12px; }
.nhero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; padding: 0; overflow: hidden; margin-bottom: 16px; }
.nhero__img { aspect-ratio: 16/9; background: var(--tint); display: block; }
.nhero__img img { width: 100%; height: 100%; object-fit: cover; }
.nhero__body { padding: 28px 28px 28px 0; display: flex; flex-direction: column; justify-content: center; }
.nhero h2 { font-size: clamp(20px, 2.4vw, 28px); }
.nhero h2 a { color: var(--ink); }
.nhero h2 a:hover { color: var(--brand-500); }
.nhero p { color: var(--ink-2); }
.nhero time { display: flex; gap: 6px; align-items: center; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 500; }
.pager a:hover { border-color: var(--brand-500); color: var(--brand); }
.pager span { background: var(--brand); border-color: var(--brand); color: #fff; }

.news-detail { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; padding-bottom: 56px; }
.article { padding: 32px 40px; }
.article h1 { font-size: clamp(24px, 3vw, 34px); line-height: 1.3; }
.article__meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.article__cover { margin: 20px 0; border-radius: var(--radius); overflow: hidden; background: var(--tint); }
.article__cover img { width: 100%; height: auto; }
.article__lead { font-size: 18px; font-weight: 500; color: var(--ink); line-height: 1.65; }
.article__body { font-size: 16.5px; line-height: 1.8; }
.article__body h2 { font-size: 23px; margin: 1.6em 0 .6em; }
.article__body h3 { font-size: 19px; margin: 1.4em 0 .5em; }
.article__body ul { padding-left: 22px; color: var(--ink-2); }
.article__body li { margin-bottom: 6px; }
.article__body img { border-radius: var(--radius-sm); margin: 8px auto; height: auto; }
.article__body figure { margin: 20px 0; }
.article__body a { text-decoration: underline; text-underline-offset: 3px; }
.article__body p { white-space: normal; }
.article__source { margin: 24px 0; padding: 20px; border-radius: var(--radius); background: var(--tint); border: 1px dashed var(--accent-soft); text-align: center; }
.article__source p { color: var(--ink-2); font-size: 14px; }
.article__cta { margin-top: 28px; padding: 20px 24px; border-radius: var(--radius); background: linear-gradient(120deg, var(--deep), var(--brand)); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.article__cta b { display: block; font-size: 16px; }
.article__cta span { font-size: 13.5px; color: rgba(255,255,255,.75); }
.news-side { display: grid; gap: 16px; position: sticky; top: 88px; }
.news-side h2 { font-size: 16px; margin-bottom: 12px; }
.mini-prod { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mini-prod:last-child { border-bottom: 0; }
.mini-prod__img { width: 56px; height: 56px; border-radius: var(--radius-sm); background: var(--tint); display: grid; place-items: center; color: var(--brand-500); flex-shrink: 0; overflow: hidden; }
.mini-prod__img img { width: 100%; height: 100%; object-fit: contain; }
.mini-prod b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.mini-prod em { font-style: normal; color: var(--sale); font-weight: 700; font-size: 14px; }
.mini-news { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mini-news:last-child { border-bottom: 0; }
.mini-news b { display: block; font-size: 14px; font-weight: 600; line-height: 1.4; }
.mini-news:hover b { color: var(--brand-500); }
.mini-news small { color: var(--muted); }

@media (max-width: 1100px) {
  .news-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .nhero { grid-template-columns: 1fr; gap: 0; }
  .nhero__body { padding: 18px; }
  .news-detail { grid-template-columns: 1fr; }
  .news-side { position: static; }
  .article { padding: 20px; }
  .article__lead { font-size: 16.5px; }
  .article__body { font-size: 16px; }
  .ncard__body p { display: none; }
  .ncard__body { padding: 10px 12px 12px; }
  .ncard__body h3 { font-size: 14px; }
}
@media (max-width: 480px) {
  .news-grid { grid-template-columns: 1fr; }
  .ncard { flex-direction: row; }
  .ncard__img { width: 120px; flex-shrink: 0; aspect-ratio: 1; }
  .ncard__src { left: 6px; bottom: 6px; font-size: 10px; padding: 2px 6px; max-width: calc(100% - 12px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
.ncard__src--inline { align-self: flex-start; }
