:root {
  --ian-navy: #163052;
  --ian-navy-hover: #0f233d;
  --ian-sky: #0369a1;
  --ian-rose: #e11d48;
  --ian-rose-soft: #fff1f2;
  --ian-bg: #f8fafc;
  --ian-surface: #ffffff;
  --ian-border: #e2e8f0;
  --ian-ink: #0f172a;
  --ian-muted: #64748b;
  --ian-radius: 14px;
  --ian-container: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--ian-bg, #f8fafc);
  color: var(--ian-ink, #0f172a);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font-family: inherit; }
[data-ian-shift-item][hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.tabular-nums { font-variant-numeric: tabular-nums; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background-color: #f8fafc; border-radius: 6px; box-shadow: 0 0 2px 2px rgba(15, 23, 42, 0.25); clip: auto !important; clip-path: none; color: #0f172a; display: block; font-size: 14px; font-weight: 700; height: auto; left: 8px; line-height: normal; padding: 12px 18px; text-decoration: none; top: 8px; width: auto; z-index: 100000; }
.ian-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.ian-main { padding: 28px 0 64px; }

/* Header */
.ian-header { background: #fff; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 40; }
body.admin-bar .ian-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .ian-header { top: 46px; } }
.ian-header__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 68px; }
.ian-brand { display: flex; align-items: center; flex-shrink: 0; min-width: 0; }
.ian-brand .custom-logo-link { display: inline-flex; align-items: center; line-height: 0; }
.ian-brand .custom-logo { max-height: var(--ian-logo-max-h, 44px); width: auto; height: auto; max-width: 220px; object-fit: contain; display: block; }
.ian-brand__link { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; line-height: 1.15; text-decoration: none; }
.ian-brand__title { display: inline-block; font-size: 20px; font-weight: 800; letter-spacing: -0.025em; white-space: nowrap; color: var(--ian-brand-c1, #163052); }
.ian-brand__title.is-gradient { background-image: linear-gradient(var(--ian-brand-angle, 90deg), var(--ian-brand-c1, #163052), var(--ian-brand-c2, #e11d48)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ian-brand__desc { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--ian-brand-desc-color, #64748b); white-space: nowrap; }
.ian-nav { position: static; }
.ian-nav__list { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; font-size: 14px; font-weight: 500; color: #475569; position: static; }
.ian-nav__list > li { position: relative; list-style: none; margin: 0; padding: 0; }
.ian-nav__list > li.ian-has-mega { position: static; }
.ian-nav__list > li > a,
.ian-nav-mega-btn { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 8px 0; font: inherit; font-weight: 500; color: #475569; cursor: pointer; white-space: nowrap; transition: color .15s ease; }
.ian-nav__list > li > a:hover,
.ian-nav-mega-btn:hover { color: #0f172a; }
.ian-nav-mega-btn.is-open,
.ian-nav-mega-btn[aria-expanded="true"] { color: #e11d48; font-weight: 600; }
.ian-chevron { transition: transform .15s ease; flex-shrink: 0; }
.ian-nav-mega-btn.is-open .ian-chevron,
.ian-nav-mega-btn[aria-expanded="true"] .ian-chevron { transform: rotate(180deg); }

/* Dropdown thường cho các mục có menu con khác */
.ian-nav__list ul.sub-menu { display: none; list-style: none; position: absolute; top: calc(100% + 4px); left: 0; min-width: 230px; margin: 0; padding: 8px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 18px 40px -12px rgba(15,23,42,.15); z-index: 55; }
.ian-nav__list > li:hover > ul.sub-menu,
.ian-nav__list > li:focus-within > ul.sub-menu { display: flex; flex-direction: column; gap: 2px; }
.ian-nav__list ul.sub-menu li { list-style: none; margin: 0; padding: 0; }
.ian-nav__list ul.sub-menu a { display: block; padding: 9px 12px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: #334155; white-space: nowrap; }
.ian-nav__list ul.sub-menu a:hover { background: #fff1f2; color: #e11d48; }

/* Mega Menu dạng bảng (khi bấm vào Sản phẩm) */
.ian-mega-panel { position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: min(880px, calc(100vw - 32px)); background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; box-shadow: 0 24px 60px -12px rgba(15,23,42,.18); padding: 22px 24px 18px; z-index: 60; }
.ian-mega-panel[hidden] { display: none; }
.ian-mega-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.ian-mega-panel__brand { display: flex; align-items: center; gap: 12px; }
.ian-mega-panel__badge { width: 40px; height: 40px; border-radius: 12px; background: #fff1f2; color: #e11d48; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ian-mega-panel__title { display: block; font-size: 13px; font-weight: 800; letter-spacing: 0.03em; color: #0f172a; }
.ian-mega-panel__sub { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.ian-mega-panel__all { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: #e11d48; white-space: nowrap; flex-shrink: 0; }
.ian-mega-panel__all:hover { color: #be123c; }
.ian-mega-panel__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0; }
.ian-mega-panel__item { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; transition: all .15s ease; min-width: 0; }
.ian-mega-panel__item:hover { border-color: #fda4af; background: #fff1f2; color: #be123c; }
.ian-mega-panel__item-icon { width: 30px; height: 30px; border-radius: 8px; background: #f8fafc; border: 1px solid #f1f5f9; color: #64748b; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ian-mega-panel__item:hover .ian-mega-panel__item-icon { background: #ffe4e6; border-color: #fecdd3; color: #e11d48; }
.ian-mega-panel__item-name { font-size: 13px; font-weight: 600; color: #0f172a; line-height: 1.3; }
.ian-mega-panel__item:hover .ian-mega-panel__item-name { color: #be123c; }
.ian-mega-panel__empty { margin: 16px 0; font-size: 13px; color: #64748b; }
.ian-mega-panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; border-top: 1px solid #f1f5f9; font-size: 12.5px; color: #64748b; }
.ian-mega-panel__note { display: inline-flex; align-items: center; gap: 6px; }
.ian-mega-panel__note-icon { color: #f59e0b; display: inline-flex; flex-shrink: 0; }
.ian-mega-panel__hotline { color: #334155; white-space: nowrap; }
.ian-mega-panel__hotline strong { color: #0f172a; }

.ian-header__actions { display: flex; align-items: center; gap: 12px; }
.ian-mobile-toggle { display: none; background: #f1f5f9; border: 0; border-radius: 10px; padding: 8px; cursor: pointer; }

/* Buttons */
.ian-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 19px; border-radius: 12px; font-size: 13.5px; font-weight: 600; transition: all .2s ease; cursor: pointer; white-space: nowrap; border: 1px solid transparent; }
.ian-btn--primary { background: #163052; color: #fff; }
.ian-btn--primary:hover { background: #0f233d; transform: translateY(-1px); }
.ian-btn--rose { background: #e11d48; color: #fff; box-shadow: 0 10px 24px -8px rgba(225,29,72,.55); }
.ian-btn--rose:hover { background: #be123c; transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(225,29,72,.6); }
.ian-btn--zalo { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.ian-btn--zalo:hover { background: #d1fae5; border-color: #6ee7b7; transform: translateY(-1px); }
.ian-btn--outline { background: #fff; color: #0f172a; border-color: #cbd5e1; }
.ian-btn--outline:hover { border-color: #0f172a; background: #f8fafc; transform: translateY(-1px); }
.ian-btn--full { width: 100%; }

/* Cards & Archive 2-column */
.ian-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; }
.ian-archive-layout { display: grid; grid-template-columns: 310px minmax(0, 1fr); gap: 28px; align-items: start; }
.ian-archive-head h1 { margin: 6px 0 8px; font-size: 28px; line-height: 1.25; }
.ian-archive-head__desc { color: #475569; max-width: 70ch; }
.ian-toolbar { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 20px; font-size: 13px; color: #64748b; }

/* Sidebar Khám phá ấn phẩm (giống mẫu) */
.ian-archive-sidebar { position: sticky; top: 88px; }
.ian-explore-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 18px; box-shadow: 0 4px 20px -8px rgba(15,23,42,.06); }
.ian-explore-card__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.ian-explore-card__title { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.ian-explore-card__brand-icon { color: #e11d48; display: inline-flex; }
.ian-explore-card__count { font-size: 12px; color: #64748b; }
.ian-explore-all { display: flex; align-items: center; justify-content: space-between; padding: 14px 10px 8px; font-size: 13px; font-weight: 600; color: #0f172a; }
.ian-explore-list { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.ian-explore-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; color: #334155; transition: background .15s ease; }
.ian-explore-item:hover { background: #f8fafc; }
.ian-explore-item.is-active { background: #fff1f2; color: #e11d48; font-weight: 600; }
.ian-explore-item__left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ian-explore-item__icon { color: #94a3b8; display: inline-flex; flex-shrink: 0; }
.ian-explore-item.is-active .ian-explore-item__icon { color: #e11d48; }
.ian-explore-item__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ian-explore-item__qty { font-size: 12px; color: #94a3b8; white-space: nowrap; }
.ian-explore-item.is-active .ian-explore-item__qty { color: #e11d48; }

/* Product Grid & Cards */
.ian-product-grid { display: grid; gap: 20px; }
.ian-product-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ian-product-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ian-product-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ian-product-card:hover { transform: translateY(-4px); border-color: #cbd5e1; box-shadow: 0 16px 32px -12px rgba(15,23,42,.14); }
.ian-product-card__media { position: relative; aspect-ratio: 1 / 1; background: #f1f5f9; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ian-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.ian-product-card:hover .ian-product-card__media img { transform: scale(1.05); }
.ian-discount-badge { position: absolute; top: 10px; left: 10px; background: #e11d48; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px; z-index: 2; }
.ian-img-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #64748b; padding: 20px; gap: 8px; width: 100%; height: 100%; background: #f1f5f9; }
.ian-product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.ian-product-card__cat { font-size: 11px; font-weight: 700; color: #0369a1; letter-spacing: 0.03em; }
.ian-product-card__title { margin: 4px 0 12px; font-size: 14.5px; font-weight: 600; line-height: 1.4; }
.ian-product-card__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #f1f5f9; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ian-product-card__price { font-size: 16.5px; font-weight: 800; color: #e11d48; letter-spacing: -0.02em; display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 6px; line-height: 1.2; }
.ian-product-card__price del { font-size: 12px; color: #64748b; font-weight: 500; }
.ian-product-card__price ins { text-decoration: none; color: #e11d48; font-weight: 800; }
.ian-product-card__link { font-size: 12.5px; font-weight: 700; color: #0369a1; background: #f0f9ff; padding: 5px 10px; border-radius: 8px; white-space: nowrap; transition: transform .15s ease, background .15s ease; }
.ian-product-card:hover .ian-product-card__link { transform: translateX(2px); background: #e0f2fe; }

/* Single Product 5-Section Layout */
.ian-pdp-hero { display: grid; grid-template-columns: 42% 1fr; gap: 36px; padding: 28px; margin-bottom: 20px; align-items: start; }
.ian-pdp-hero__media { width: 100%; }
@media (min-width: 1025px) {
  .ian-pdp-hero__media { position: sticky; top: 88px; }
}
.ian-pdp-gallery { width: 100%; }
.ian-pdp-gallery__main { position: relative; aspect-ratio: 1 / 1; width: 100%; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.ian-pdp-gallery__main img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform .35s ease; }
.ian-pdp-gallery__main:hover img { transform: scale(1.03); }
.ian-pdp-gallery__zoom { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 10px; border: 1px solid #e2e8f0; background: rgba(255,255,255,.92); backdrop-filter: blur(6px); color: #0f172a; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px -4px rgba(15,23,42,.15); transition: all .15s ease; }
.ian-pdp-gallery__zoom:hover { background: #163052; border-color: #163052; color: #fff; }
.ian-pdp-gallery__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ian-pdp-thumb { aspect-ratio: 1 / 1; width: 100%; border-radius: 12px; border: 2px solid #e2e8f0; background: #f8fafc; padding: 0; overflow: hidden; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; display: flex; align-items: center; justify-content: center; }
.ian-pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ian-pdp-thumb:hover { border-color: #fda4af; transform: translateY(-2px); }
.ian-pdp-thumb.is-active { border-color: #e11d48; box-shadow: 0 6px 14px -6px rgba(225,29,72,.45); }
.ian-pdp-thumb--add { border-style: dashed; border-width: 1.5px; border-color: #cbd5e1; background: #f8fafc; color: #64748b; font-size: 11px; font-weight: 600; text-align: center; padding: 6px; }
.ian-pdp-thumb--add:hover { border-color: #e11d48; color: #e11d48; background: #fff1f2; }
.ian-lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(15,23,42,.88); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 24px; }
.ian-lightbox[hidden] { display: none; }
.ian-lightbox img { max-width: min(92vw, 960px); max-height: 88vh; width: auto; height: auto; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.45); }
.ian-lightbox__close { position: absolute; top: 18px; right: 22px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(15,23,42,.7); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ian-lightbox__close:hover { background: #e11d48; border-color: #e11d48; }
.ian-pdp-kicker { font-size: 11px; font-weight: 700; color: #94a3b8; letter-spacing: 0.05em; margin: 0 0 6px; }
.ian-pdp-title { font-size: 28px; margin: 8px 0 12px; line-height: 1.25; }
.ian-price-pill { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 10px; background: #fff1f2; border: 1px solid #fecdd3; padding: 10px 20px; border-radius: 14px; font-size: 24px; font-weight: 800; color: #e11d48; letter-spacing: -0.02em; margin-bottom: 16px; }
.ian-price-pill del { font-size: 14px; color: #94a3b8; font-weight: 500; }
.ian-price-pill ins { text-decoration: none; color: #e11d48; font-weight: 800; }
.ian-zalo-cta { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #163052; color: #fff; padding: 16px 20px; border-radius: 12px; font-weight: 600; margin: 18px 0 12px; }
.ian-zalo-cta:hover { background: #0f233d; }
.ian-quick-anchors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ian-anchor-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px; border: 1px solid #e2e8f0; border-radius: 10px; font-size: 13px; font-weight: 600; color: #334155; }

.ian-section-box { padding: 24px 28px; margin-bottom: 20px; }
.ian-eyebrow { display: block; font-size: 11px; font-weight: 700; color: #475569; letter-spacing: 0.06em; margin-bottom: 6px; }
.ian-steps-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 16px; }
.ian-step-item { position: relative; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px; background: #fff; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; overflow: hidden; }
.ian-step-item::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #163052, #e11d48); opacity: 0; transition: opacity .2s ease; }
.ian-step-item:hover { transform: translateY(-3px); border-color: #cbd5e1; box-shadow: 0 12px 24px -10px rgba(15,23,42,.1); }
.ian-step-item:hover::before { opacity: 1; }
.ian-step-item span { display: inline-flex; align-items: center; justify-content: center; padding: 2px 9px; border-radius: 999px; background: #fff1f2; color: #e11d48; font-size: 11px; font-weight: 800; }
.ian-step-item strong { display: block; margin: 10px 0 4px; font-size: 14.5px; color: #0f172a; }
.ian-step-item p { margin: 0; font-size: 12.5px; color: #64748b; }

.ian-reasons-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.ian-reason-card { border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; transition: transform .2s ease, box-shadow .2s ease; }
.ian-reason-card:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(15,23,42,.1); }
.ian-badge-soft { display: inline-flex; padding: 4px 10px; border-radius: 8px; font-size: 12px; font-weight: 700; }
.ian-badge-soft.is-sky { background: #e0f2fe; color: #0369a1; }
.ian-badge-soft.is-amber { background: #fef3c7; color: #b45309; }
.ian-badge-soft.is-emerald { background: #d1fae5; color: #047857; }

/* Tabs & TOC (Cách 2: Mục lục đầu bài full khung | Cách 1: Cột trái Sticky chạy theo) */
.ian-tabs-box { overflow: visible; margin-bottom: 28px; }
.ian-tabs-nav { display: flex; gap: 24px; padding: 0 28px; border-bottom: 1px solid #e2e8f0; border-radius: 18px 18px 0 0; }
.ian-tab-btn { background: none; border: 0; padding: 16px 0; font-size: 14px; font-weight: 600; color: #64748b; cursor: pointer; border-bottom: 2px solid transparent; }
.ian-tab-btn.is-active { color: #0f172a; border-bottom-color: #163052; }
.ian-tab-panel { display: none; padding: 28px; }
.ian-tab-panel.is-active { display: block; }
.ian-toc-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.ian-toc-layout.is-top { display: block; }
.ian-toc-sidebar { position: sticky; top: 88px; align-self: start; }
body.admin-bar .ian-toc-sidebar { top: 112px; }
.ian-toc-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px; max-height: calc(100vh - 126px); overflow-y: auto; }
.ian-toc-box__title { font-size: 11px; font-weight: 700; color: #64748b; letter-spacing: 0.05em; display: block; padding-bottom: 10px; border-bottom: 1px solid #e2e8f0; }
.ian-toc-top { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 14px 18px; margin-bottom: 26px; }
.ian-toc-top__summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; user-select: none; }
.ian-toc-top__summary::-webkit-details-marker { display: none; }
.ian-toc-top__title-wrap { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ian-toc-top__summary .ian-toc-box__title { padding-bottom: 0; border-bottom: 0; color: #0f172a; font-size: 12px; }
.ian-toc-top__count { font-size: 11.5px; font-weight: 600; color: #0369a1; background: #e0f2fe; padding: 2px 9px; border-radius: 99px; }
.ian-toc-top__right { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; color: #475569; }
.ian-toc-top__hotline strong { color: #0284c7; }
.ian-toc-top__toggle { width: 26px; height: 26px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; color: #475569; transition: transform .18s ease; }
.ian-toc-top[open] .ian-toc-top__toggle { transform: rotate(180deg); }
.ian-toc-list { list-style: none; padding: 0; margin: 12px 0; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; }
.ian-toc-list.is-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; margin: 14px 0 4px; padding-top: 12px; border-top: 1px solid #e2e8f0; }
.ian-toc-list a { display: flex; align-items: flex-start; gap: 8px; color: #334155; line-height: 1.45; }
.ian-toc-list a:hover { color: #0284c7; }
.ian-toc-list span { color: #94a3b8; font-weight: 600; flex-shrink: 0; }
.ian-toc-hotline { padding-top: 14px; margin-top: 14px; border-top: 1px solid #e2e8f0; }
.ian-toc-kd-strip { margin-top: 14px; padding-top: 12px; border-top: 1px solid #e2e8f0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ian-toc-kd-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #64748b; }
.ian-toc-hotline .ian-toc-kd-label { margin-bottom: 10px; }
.ian-toc-kd-list { display: flex; gap: 8px; }
.ian-toc-kd-list.is-stack { flex-direction: column; }
.ian-toc-kd-list.is-row { flex-direction: row; flex-wrap: wrap; align-items: center; }
.ian-toc-kd-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: #ffffff; border: 1px solid #bae6fd; color: #0369a1; font-size: 13px; font-weight: 700; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.ian-toc-kd-btn:hover { border-color: #0284c7; background: #f0f9ff; color: #0c4a6e; transform: translateY(-1px); }
.ian-toc-kd-list.is-stack .ian-toc-kd-btn { width: 100%; }
.ian-toc-kd-btn__left { display: inline-flex; align-items: center; gap: 8px; }
.ian-toc-kd-dot { width: 7px; height: 7px; border-radius: 50%; background: #10b981; flex-shrink: 0; }
.ian-toc-kd-num { font-size: 13.5px; font-weight: 700; letter-spacing: -0.01em; }
.ian-toc-kd-cta { font-size: 11px; font-weight: 700; color: #0284c7; flex-shrink: 0; }
.ian-prose { max-width: 100%; font-size: 15.5px; line-height: 1.75; color: #1e293b; }
.ian-prose.is-wide { max-width: 100%; }
.ian-prose h2, .ian-prose h3 { color: #0284c7; margin-top: 24px; margin-bottom: 10px; scroll-margin-top: 96px; }
.ian-prose > h2:first-child, .ian-prose > h3:first-child { margin-top: 0; }
.ian-prose img { border-radius: 12px; margin: 16px auto; }
.ian-prose table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 14px; }
.ian-prose th, .ian-prose td { border: 1px solid #e2e8f0; padding: 10px 12px; text-align: left; }
.ian-prose th { background: #f8fafc; font-weight: 700; color: #0f172a; }
@media (max-width: 768px) {
  .ian-toc-list.is-cols { grid-template-columns: 1fr; }
  .ian-toc-top__hotline { display: none; }
}

/* Homepage Hero Studio & Effects */
@keyframes ianPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(1.25); }
}
.ian-home-hero {
  position: relative;
  background-color: #fff;
  background-image:
    radial-gradient(circle at 12% 18%, rgba(225,29,72,.07), transparent 42%),
    radial-gradient(circle at 82% 80%, rgba(2,132,199,.06), transparent 45%),
    linear-gradient(to right, rgba(226,232,240,.32) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226,232,240,.32) 1px, transparent 1px);
  background-size: auto, auto, 32px 32px, 32px 32px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 42px;
  box-shadow: 0 20px 48px -22px rgba(15,23,42,.12);
}
.ian-home-hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; align-items: stretch; }
.ian-home-hero__copy { padding: 48px 42px; display: flex; flex-direction: column; justify-content: center; }
.ian-hero-pill { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #fecdd3; font-size: 11px; font-weight: 800; letter-spacing: 0.05em; color: #be123c; box-shadow: 0 4px 12px -4px rgba(225,29,72,.18); }
.ian-hero-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: #e11d48; animation: ianPulse 1.8s infinite; }
.ian-home-hero h1 { font-size: clamp(30px, 3.8vw, 44px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.13; margin: 16px 0 14px; color: #163052; }
.ian-hero-accent { color: #e11d48; }
.ian-home-hero p { color: #475569; margin: 0 0 24px; font-size: 15.5px; line-height: 1.65; max-width: 52ch; }
.ian-home-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ian-home-hero__metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #e2e8f0; }
.ian-home-hero__metrics strong { display: block; font-size: 20px; font-weight: 800; color: #163052; }
.ian-home-hero__metrics span { font-size: 12px; color: #64748b; }
.ian-home-hero__visual { position: relative; background: #0f172a; min-height: 410px; overflow: hidden; }
.ian-hero-slider__track { position: relative; width: 100%; height: 100%; min-height: 410px; }
.ian-hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .55s ease, visibility .55s ease; }
.ian-hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.ian-hero-slide__link { display: block; width: 100%; height: 100%; }
.ian-hero-slide img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ian-hero-slider:hover .ian-hero-slide.is-active img { transform: scale(1.03); }
.ian-hero-float-card { position: absolute; left: 20px; right: 20px; bottom: 44px; background: rgba(15,23,42,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.16); border-radius: 16px; padding: 13px 16px; color: #fff; z-index: 2; }
.ian-hero-float-card__kicker { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; color: #fda4af; margin-bottom: 3px; }
.ian-hero-float-card__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ian-hero-float-card strong { display: block; font-size: 14px; font-weight: 600; }
.ian-hero-float-card__cta { font-size: 12px; font-weight: 700; color: #fff; background: rgba(225,29,72,.92); padding: 4px 10px; border-radius: 8px; white-space: nowrap; flex-shrink: 0; }
.ian-slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(15,23,42,.55); backdrop-filter: blur(6px); color: #fff; font-size: 22px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 4; opacity: 0; transition: opacity .2s ease, background .2s ease; }
.ian-hero-slider:hover .ian-slider-arrow,
.ian-slider-arrow:focus-visible { opacity: 1; }
.ian-slider-arrow:hover { background: rgba(225,29,72,.9); }
.ian-slider-arrow--prev { left: 14px; }
.ian-slider-arrow--next { right: 14px; }
.ian-slider-dots { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: flex; align-items: center; gap: 6px; z-index: 4; padding: 5px 10px; border-radius: 999px; background: rgba(15,23,42,.45); backdrop-filter: blur(6px); }
.ian-slider-dot { position: relative; width: 7px; height: 7px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .2s ease, background .2s ease; }
.ian-slider-dot::after { content: ''; position: absolute; inset: -8px -4px; }
.ian-slider-dot.is-active { width: 22px; background: #fff; }
@media (max-width: 1024px) {
  .ian-home-hero__visual, .ian-hero-slider__track { min-height: 320px; }
  .ian-slider-arrow { opacity: 1; }
}

.ian-admin-notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 14px 18px; border-radius: 14px; font-size: 13px; margin-bottom: 28px; }
.ian-section-block { margin-bottom: 46px; }
.ian-section-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.ian-section-title { margin: 0; font-size: 24px; letter-spacing: -0.02em; }
.ian-link-all { font-size: 13.5px; font-weight: 600; color: #0369a1; white-space: nowrap; }
.ian-blog-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 20px; }
.ian-blog-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.ian-blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -12px rgba(15,23,42,.12); }
.ian-blog-card__img { aspect-ratio: 4 / 3; background: #f1f5f9; overflow: hidden; display: block; }
.ian-blog-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.ian-blog-card:hover .ian-blog-card__img img { transform: scale(1.04); }
.ian-blog-card__body { padding: 18px; }
.ian-blog-card__meta { font-size: 12px; color: #0369a1; font-weight: 600; }
.ian-blog-card__body h2, .ian-blog-card__body h3 { margin: 8px 0; font-size: 16px; line-height: 1.4; }
.ian-blog-card__body p { margin: 0; font-size: 13.5px; color: #64748b; }

/* Subcat grid */
.ian-subcat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 16px 0 28px; }
.ian-subcat-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 16px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.ian-subcat-card:hover { transform: translateY(-3px); border-color: #fda4af; background: #fffafb; box-shadow: 0 12px 26px -10px rgba(225,29,72,.16); }
.ian-subcat-card__icon { width: 42px; height: 42px; border-radius: 12px; background: #fff1f2; color: #e11d48; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; line-height: 0; transition: all .2s ease; }
.ian-subcat-card:hover .ian-subcat-card__icon { background: #e11d48; color: #fff; transform: scale(1.06); }
.ian-subcat-card__icon svg,
.ian-mega-panel__badge svg,
.ian-mega-panel__item-icon svg,
.ian-explore-item__icon svg,
.ian-explore-item__icon svg { display: block; flex-shrink: 0; }
.ian-subcat-card__meta { min-width: 0; flex: 1; }
.ian-subcat-card__meta strong { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 14.5px; color: #0f172a; line-height: 1.3; word-break: break-word; }
.ian-subcat-card__meta > span { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.ian-subcat-card__arrow { display: inline-flex; align-items: center; color: #cbd5e1; font-weight: 700; flex-shrink: 0; transition: transform .2s ease, color .2s ease; }
.ian-subcat-card:hover .ian-subcat-card__arrow { color: #e11d48; transform: translateX(3px); }
.ian-subcat-card.has-tet-badge { border-color: #fecdd3; background: linear-gradient(180deg, #ffffff 0%, #fffafb 100%); }
.ian-mega-panel__item-name { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }
.ian-mobile-cat-label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 5px; }

/* Nhãn năm Tết / nổi bật nhấp nháy (2027, 2028, HOT...) */
@keyframes ianTetBlink {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(225,29,72,.5), 0 2px 8px rgba(225,29,72,.35); }
  50% { opacity: .62; transform: scale(1.06); box-shadow: 0 0 0 5px rgba(249,115,22,0), 0 3px 12px rgba(249,115,22,.48); }
}
.ian-blink-badge { display: inline-flex; align-items: center; justify-content: center; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1; letter-spacing: 0.03em; font-variant-numeric: tabular-nums; padding: 3px 7px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, #e11d48 0%, #f97316 100%); border: 1px solid rgba(255,255,255,.45); white-space: nowrap; flex-shrink: 0; animation: ianTetBlink 1.15s ease-in-out infinite; }
.ian-blink-badge--sm { font-size: 9.5px; padding: 2px 6px; }

/* Scroll Reveal nhẹ mượt */
.ian-reveal { opacity: 1; transform: translateY(0); transition: opacity .45s ease, transform .45s ease; }
.ian-reveal.is-pending { opacity: 0; transform: translateY(16px); }
.ian-reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .ian-reveal, .ian-reveal.is-pending { opacity: 1; transform: none; transition: none; }
  .ian-hero-pill__dot, .ian-blink-badge { animation: none; }
}

/* Trợ lý Hỗ Trợ In Ấn (bảng 2 cột + Robot chuyển động + tự đồng bộ giá WooCommerce) */
@keyframes ianRoboFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes ianRoboWiggle {
  0% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-10deg) scale(1.06); }
  40% { transform: rotate(10deg) scale(1.08); }
  60% { transform: rotate(-7deg) scale(1.06); }
  80% { transform: rotate(5deg) scale(1.04); }
  100% { transform: rotate(0deg) scale(1.05); }
}
.ian-asst { position: fixed; bottom: 22px; z-index: 65; display: flex; flex-direction: column; gap: 10px; }
.ian-asst.is-right { right: 20px; align-items: flex-end; }
.ian-asst.is-left { left: 20px; align-items: flex-start; }
.ian-asst.is-left .ian-asst__launcher { flex-direction: row-reverse; }
.ian-asst__launcher { display: flex; align-items: center; gap: 10px; }
.ian-asst__bubble { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 9px 14px; box-shadow: 0 12px 28px -8px rgba(15,23,42,.18); text-align: left; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease; }
.ian-asst__bubble:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(15,23,42,.22); }
.ian-asst__bubble strong { display: block; font-size: 13px; font-weight: 800; color: #e11d48; line-height: 1.25; }
.ian-asst__bubble span { display: block; font-size: 11px; color: #64748b; margin-top: 2px; }
.ian-asst__trigger { position: relative; width: 58px; height: 58px; border-radius: 50%; border: 2px solid #fff; background: linear-gradient(135deg, #163052 0%, #0f172a 100%); color: #fda4af; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 14px 30px -8px rgba(15,23,42,.38); overflow: visible; transition: transform .2s ease, background .2s ease; padding: 0; animation: ianRoboFloat 3s ease-in-out infinite; }
.ian-asst__trigger:hover { background: #0f233d; }
.ian-asst__robo { display: block; transition: transform .2s ease; }
.ian-asst__launcher:hover .ian-asst__robo,
.ian-asst__launcher:hover .ian-asst__trigger img { animation: ianRoboWiggle .65s ease-in-out; transform: scale(1.06); }
.ian-asst__trigger img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.ian-asst__badge { position: absolute; top: 0; right: 0; width: 13px; height: 13px; border-radius: 50%; background: #e11d48; border: 2px solid #fff; animation: ianPulse 1.8s infinite; }
@media (prefers-reduced-motion: reduce) {
  .ian-asst__trigger, .ian-asst__launcher:hover .ian-asst__robo, .ian-asst__badge { animation: none; }
}
.ian-asst__box { width: min(390px, calc(100vw - 24px)); background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: 0 24px 60px -12px rgba(15,23,42,.28); overflow: hidden; display: flex; flex-direction: column; }
.ian-asst__box[hidden] { display: none; }
.ian-asst__head { background: #163052; color: #fff; padding: 13px 16px; border-bottom: 3px solid #e11d48; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ian-asst__brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ian-asst__avatar { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.16); color: #fda4af; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.ian-asst__avatar img { width: 100%; height: 100%; object-fit: cover; }
.ian-asst__titles { min-width: 0; }
.ian-asst__titles strong { display: block; font-size: 14px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.ian-asst__titles span { display: flex; align-items: center; gap: 6px; font-size: 11px; color: #cbd5e1; margin-top: 2px; }
.ian-asst__dot { width: 7px; height: 7px; border-radius: 50%; background: #fb7185; display: inline-block; }
.ian-asst__head-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ian-asst__icon-btn { width: 30px; height: 30px; border-radius: 8px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 16px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ian-asst__icon-btn:hover { background: rgba(255,255,255,.22); }
.ian-asst__icon-btn.is-close:hover { background: #e11d48; }
.ian-asst__body { padding: 14px; background: #f8fafc; max-height: 390px; overflow-y: auto; }
.ian-asst__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.ian-asst__tile { display: flex; align-items: flex-start; gap: 9px; padding: 10px 11px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease; }
.ian-asst__tile:hover { border-color: #fda4af; background: #fffafb; }
.ian-asst__tile-ico { width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.ian-asst__tile strong { display: block; font-size: 12.5px; font-weight: 700; color: #0f172a; line-height: 1.25; }
.ian-asst__tile span { display: block; font-size: 11px; color: #64748b; line-height: 1.3; margin-top: 2px; }
.ian-asst__back { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 0 0 10px; font-size: 12px; font-weight: 700; color: #475569; cursor: pointer; }
.ian-asst__back:hover { color: #e11d48; }
.ian-asst__panel { background: #fff; border: 1px solid #e2e8f0; border-radius: 13px; padding: 14px; }
.ian-asst__panel h4 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: #0f172a; }
.ian-asst__panel p { margin: 0 0 10px; font-size: 12.5px; color: #475569; line-height: 1.5; }
.ian-asst__cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ian-asst__cat-btn { padding: 9px 10px; border: 1px solid #e2e8f0; border-radius: 10px; background: #fff; text-align: left; cursor: pointer; }
.ian-asst__cat-btn:hover { border-color: #fda4af; background: #fff1f2; }
.ian-asst__cat-btn strong { display: block; font-size: 12px; color: #0f172a; line-height: 1.3; word-break: break-word; }
.ian-asst__cat-btn span { display: block; font-size: 11px; font-weight: 600; color: #e11d48; margin-top: 2px; }
.ian-asst__price-list { display: flex; flex-direction: column; }
.ian-asst__price-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f1f5f9; }
.ian-asst__price-row:last-child { border-bottom: 0; }
.ian-asst__price-name { font-size: 12.5px; font-weight: 600; color: #0f172a; min-width: 0; }
.ian-asst__price-name:hover { color: #e11d48; }
.ian-asst__price-val { text-align: right; flex-shrink: 0; }
.ian-asst__price-val del { display: block; font-size: 10.5px; color: #94a3b8; }
.ian-asst__price-val strong { font-size: 12.5px; font-weight: 800; color: #e11d48; }
.ian-asst__pl-title { font-size: 12.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #163052 0%, #1e3a5f 100%); padding: 8px 11px; border-radius: 9px; margin: 4px 0 8px; line-height: 1.4; }
.ian-asst__pl-group { font-size: 12.5px; font-weight: 700; padding: 7px 10px; border-radius: 9px; border-left: 4px solid #2563eb; background: #eff6ff; color: #1d4ed8; margin: 10px 0 4px; line-height: 1.4; }
.ian-asst__pl-group.is-rose { background: #fff1f2; border-left-color: #e11d48; color: #be123c; }
.ian-asst__pl-group.is-emerald { background: #ecfdf5; border-left-color: #10b981; color: #047857; }
.ian-asst__pl-group.is-amber { background: #fffbeb; border-left-color: #f59e0b; color: #b45309; }
.ian-asst__pl-group.is-violet { background: #f5f3ff; border-left-color: #7c3aed; color: #6d28d9; }
.ian-asst__pl-note { font-size: 11.5px; color: #475569; padding: 4px 2px 6px; line-height: 1.45; border-bottom: 1px dashed #e2e8f0; }
.ian-asst__pl-note.is-blue { color: #1d4ed8; font-weight: 600; }
.ian-asst__pl-note.is-rose { color: #be123c; font-weight: 600; }
.ian-asst__pl-note.is-emerald { color: #047857; font-weight: 600; }
.ian-asst__pl-note.is-amber { color: #b45309; font-weight: 600; }
.ian-asst__pl-note.is-violet { color: #6d28d9; font-weight: 600; }
.ian-asst__price-name.is-blue { color: #1d4ed8; }
.ian-asst__price-name.is-rose { color: #be123c; }
.ian-asst__price-name.is-emerald { color: #047857; }
.ian-asst__price-name.is-amber { color: #b45309; }
.ian-asst__price-name.is-violet { color: #6d28d9; }
.ian-asst__spec-box { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; color: #334155; line-height: 1.55; margin-bottom: 10px; }
.ian-asst__subhead { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #64748b; margin: 12px 0 4px; }
.ian-asst__vars { margin-top: 6px; padding-left: 8px; border-left: 2px solid #ffe4e6; display: flex; flex-direction: column; gap: 3px; }
.ian-asst__var-row { display: flex; justify-content: space-between; gap: 8px; font-size: 11.5px; color: #475569; }
.ian-asst__var-row b { color: #e11d48; font-weight: 700; white-space: nowrap; }
.ian-asst__cta { display: block; width: 100%; text-align: center; padding: 9px 12px; border-radius: 10px; background: #163052; color: #fff; font-size: 12.5px; font-weight: 700; margin-top: 10px; }
.ian-asst__cta:hover { background: #0f233d; }
.ian-asst__cta.is-rose { background: #e11d48; }
.ian-asst__cta.is-rose:hover { background: #be123c; }
.ian-asst__step { display: flex; align-items: flex-start; gap: 8px; padding: 8px; background: #f8fafc; border-radius: 9px; margin-bottom: 6px; }
.ian-asst__step b { padding: 2px 7px; border-radius: 999px; background: #ffe4e6; color: #be123c; font-size: 10.5px; flex-shrink: 0; }
.ian-asst__step strong { display: block; font-size: 12px; color: #0f172a; }
.ian-asst__step small { font-size: 11px; color: #64748b; }
.ian-asst__field { margin-bottom: 9px; }
.ian-asst__field label { display: block; font-size: 11px; font-weight: 600; color: #475569; margin-bottom: 4px; }
.ian-asst__field input, .ian-asst__field select { width: 100%; padding: 7px 10px; font-size: 12.5px; border: 1px solid #cbd5e1; border-radius: 8px; font-family: inherit; }
.ian-asst__foot { padding: 10px 12px 12px; background: #fff; border-top: 1px solid #e2e8f0; }
.ian-asst__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.ian-asst__chip { padding: 4px 10px; border-radius: 999px; border: 1px solid #cbd5e1; background: #fff; font-size: 11px; font-weight: 600; color: #334155; cursor: pointer; }
.ian-asst__chip:hover { border-color: #e11d48; color: #e11d48; }
.ian-asst__form { display: flex; align-items: center; gap: 8px; }
.ian-asst__form input { flex: 1; min-width: 0; padding: 8px 13px; border: 1px solid #cbd5e1; border-radius: 999px; font-size: 12.5px; font-family: inherit; }
.ian-asst__form input:focus { outline: none; border-color: #163052; }
.ian-asst__form button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #e11d48; color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ian-asst__form button:hover { background: #be123c; }

/* Hội thoại Hỏi - Đáp từng bước & Tổng hợp quy cách + Danh sách Kinh doanh */
.ian-asst__chat { display: flex; flex-direction: column; gap: 10px; }
.ian-asst__msg { max-width: 92%; font-size: 12.5px; line-height: 1.5; border-radius: 14px; padding: 10px 12px; word-break: break-word; }
.ian-asst__msg.is-bot { align-self: flex-start; background: #fff; border: 1px solid #e2e8f0; color: #1e293b; border-top-left-radius: 4px; box-shadow: 0 1px 2px rgba(15,23,42,.04); }
.ian-asst__msg.is-user { align-self: flex-end; background: #163052; color: #fff; border-top-right-radius: 4px; font-weight: 600; }
.ian-asst__link-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 9px 11px; border-radius: 10px; background: #fff7ed; border: 1px solid #fdba74; color: #c2410c !important; font-size: 12px; font-weight: 700; text-decoration: none !important; transition: background .15s ease, border-color .15s ease; }
.ian-asst__link-card:hover { background: #ffedd5; border-color: #fb923c; }
.ian-asst__link-card small { display: block; font-size: 10.5px; font-weight: 500; color: #9a3412; margin-top: 1px; }
.ian-asst__opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.ian-asst__opt-btn { padding: 7px 11px; border-radius: 10px; border: 1px solid #cbd5e1; background: #f8fafc; color: #0f172a; font-size: 12px; font-weight: 600; cursor: pointer; font-family: inherit; transition: all .15s ease; text-align: left; }
.ian-asst__opt-btn:hover { border-color: #e11d48; background: #fff1f2; color: #be123c; }
.ian-asst__opt-btn.is-ghost { border-style: dashed; color: #64748b; background: transparent; font-size: 11px; padding: 5px 9px; }
.ian-asst__summary { background: #fff; border: 1.5px solid #fb7185; border-radius: 14px; padding: 13px; box-shadow: 0 4px 12px rgba(225,29,72,.08); }
.ian-asst__summary-title { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: #0f172a; margin: 0 0 8px; }
.ian-asst__summary-list { margin: 0 0 11px; padding-left: 17px; font-size: 12.5px; color: #334155; line-height: 1.65; }
.ian-asst__summary-list li { margin-bottom: 2px; }
.ian-asst__copy-btn { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: #f97316; color: #fff; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s ease; }
.ian-asst__copy-btn:hover { background: #ea580c; }
.ian-asst__copy-btn.is-copied { background: #10b981; }
.ian-asst__sales-list { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.ian-asst__sales-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; }
.ian-asst__sales-info { min-width: 0; }
.ian-asst__sales-info strong { display: block; font-size: 12.5px; font-weight: 700; color: #0f172a; line-height: 1.3; }
.ian-asst__sales-info span { display: block; font-size: 11.5px; color: #64748b; margin-top: 2px; font-variant-numeric: tabular-nums; }
.ian-asst__sales-btns { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ian-asst__sales-zalo { padding: 6px 12px; border-radius: 8px; background: #0068ff; color: #fff !important; font-size: 11.5px; font-weight: 700; text-decoration: none !important; }
.ian-asst__sales-zalo:hover { background: #0052cc; }
.ian-asst__sales-call { padding: 6px 11px; border-radius: 8px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #047857 !important; font-size: 11.5px; font-weight: 700; text-decoration: none !important; }
.ian-asst__sales-call:hover { background: #d1fae5; }
@media (max-width: 640px) {
  .ian-asst__bubble { display: none; }
}

/* Footer Studio 3 tầng (4 tông màu: Navy sáng mặc định, Slate dịu, Nền sáng, Tối Studio) */
.ian-footer {
  --ft-bg: #163052;
  --ft-card: #1d3c66;
  --ft-card-hover: #244a7d;
  --ft-company-bg: #1b3860;
  --ft-border: rgba(226,232,240,.16);
  --ft-border-hover: rgba(125,211,252,.68);
  --ft-divider: rgba(226,232,240,.15);
  --ft-title: #ffffff;
  --ft-body: #e2e8f0;
  --ft-muted: #b8cbe0;
  --ft-accent: #7dd3fc;
  --ft-policy: #f1f5f9;
  --ft-policy-hover: #ffffff;
  --ft-bottom: #9db6d1;
  background: var(--ft-bg);
  color: var(--ft-body);
  border-top: 1px solid var(--ft-border);
  padding: 52px 0 32px;
  margin-top: 28px;
}
.ian-footer.is-theme-slate {
  --ft-bg: #23395b;
  --ft-card: #2c4770;
  --ft-card-hover: #355484;
  --ft-company-bg: #2a4369;
  --ft-border: rgba(226,232,240,.2);
  --ft-border-hover: rgba(125,211,252,.72);
  --ft-divider: rgba(226,232,240,.17);
  --ft-body: #f1f5f9;
  --ft-muted: #cbd5e1;
  --ft-bottom: #b8cbe0;
}
.ian-footer.is-theme-light {
  --ft-bg: #f1f5f9;
  --ft-card: #ffffff;
  --ft-card-hover: #f8fafc;
  --ft-company-bg: #ffffff;
  --ft-border: #dce4ee;
  --ft-border-hover: #0284c7;
  --ft-divider: #dce4ee;
  --ft-title: #0f172a;
  --ft-body: #334155;
  --ft-muted: #64748b;
  --ft-accent: #0284c7;
  --ft-policy: #334155;
  --ft-policy-hover: #0369a1;
  --ft-bottom: #64748b;
}
.ian-footer.is-theme-dark {
  --ft-bg: #0a1428;
  --ft-card: #101d36;
  --ft-card-hover: #132342;
  --ft-company-bg: #0f1b33;
  --ft-border: rgba(148,163,184,.18);
  --ft-border-hover: rgba(56,189,248,.55);
  --ft-divider: rgba(148,163,184,.14);
  --ft-body: #cbd5e1;
  --ft-muted: #94a3b8;
  --ft-accent: #38bdf8;
  --ft-policy: #e2e8f0;
  --ft-bottom: #64748b;
}
.ian-ft-top-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.ian-ft-heading { margin: 0; font-size: 18px; font-weight: 700; color: var(--ft-title); letter-spacing: -0.015em; }
.ian-ft-subheading { margin: 0 0 16px; font-size: 16px; font-weight: 700; color: var(--ft-title); letter-spacing: -0.01em; }
.ian-ft-hours { font-size: 13px; color: var(--ft-muted); }
.ian-ft-zalo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.ian-ft-zalo-card { display: block; background: var(--ft-card); border: 1px solid var(--ft-border); border-radius: 14px; padding: 18px 20px; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.ian-ft-zalo-card:hover { border-color: var(--ft-border-hover); background: var(--ft-card-hover); transform: translateY(-2px); }
.ian-ft-zalo-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ft-muted); }
.ian-ft-zalo-num { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 20px; font-weight: 800; color: var(--ft-title); letter-spacing: -0.01em; }
.ian-ft-arrow { color: var(--ft-accent); font-size: 14px; font-weight: 700; transition: transform .18s ease; }
.ian-ft-zalo-card:hover .ian-ft-arrow, .ian-ft-service-card:hover .ian-ft-arrow { transform: translate(2px, -2px); }
.ian-ft-divider { border: 0; border-top: 1px solid var(--ft-divider); margin: 32px 0; }
.ian-ft-mid-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: stretch; }
.ian-ft-company-card { background: var(--ft-company-bg); border: 1px solid var(--ft-border); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; }
.ian-ft-brand-lockup { display: flex; align-items: center; gap: 14px; }
.ian-ft-logo-img { max-height: 48px; width: auto; display: block; object-fit: contain; flex-shrink: 0; }
.ian-ft-brand-cmyk { width: 44px; height: 44px; display: block; flex-shrink: 0; }
.ian-ft-brand-name { font-size: 22px; font-weight: 900; color: #00b4f0; letter-spacing: -0.015em; line-height: 1.1; }
.ian-ft-brand-sub { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--ft-body); margin-top: 5px; text-transform: uppercase; }
.ian-ft-company-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 22px; font-size: 13.5px; line-height: 1.6; color: var(--ft-body); }
.ian-ft-company-legal { display: block; color: var(--ft-title); font-weight: 600; margin-bottom: 12px; }
.ian-ft-company-meta a { display: block; color: var(--ft-body); margin-bottom: 4px; word-break: break-word; }
.ian-ft-company-meta a:hover { color: var(--ft-accent); }
.ian-ft-company-addr { color: var(--ft-body); }
.ian-ft-tax { margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--ft-divider); font-size: 12.5px; color: var(--ft-muted); }
.ian-ft-services-col { display: flex; flex-direction: column; }
.ian-ft-services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; flex: 1; }
.ian-ft-service-card { background: var(--ft-card); border: 1px solid var(--ft-border); border-radius: 14px; padding: 18px 20px; min-height: 108px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.ian-ft-service-card:hover { border-color: var(--ft-border-hover); background: var(--ft-card-hover); transform: translateY(-2px); }
.ian-ft-service-ico { color: var(--ft-muted); display: inline-flex; transition: color .18s ease; }
.ian-ft-service-card:hover .ian-ft-service-ico { color: var(--ft-accent); }
.ian-ft-service-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ft-title); }
.ian-ft-service-foot .ian-ft-arrow { color: var(--ft-muted); }
.ian-ft-service-card:hover .ian-ft-service-foot .ian-ft-arrow { color: var(--ft-accent); }
.ian-ft-policies { display: flex; flex-wrap: wrap; gap: 10px; }
.ian-ft-policy-btn { display: inline-flex; align-items: center; padding: 10px 16px; border-radius: 11px; background: var(--ft-card); border: 1px solid var(--ft-border); font-size: 13.5px; font-weight: 500; color: var(--ft-policy); white-space: nowrap; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.ian-ft-policy-btn:hover { border-color: var(--ft-border-hover); background: var(--ft-card-hover); color: var(--ft-policy-hover); }
.ian-footer__bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--ft-divider); font-size: 12.5px; color: var(--ft-bottom); }
@media (max-width: 1024px) {
  .ian-ft-zalo-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
  .ian-ft-mid-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .ian-ft-zalo-grid { grid-template-columns: 1fr; }
  .ian-ft-company-cols { grid-template-columns: 1fr; }
  .ian-ft-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.ian-mobile-cat-toggle { display: none; margin-bottom: 14px; }
.ian-mobile-drawer { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 100; display: flex; justify-content: flex-end; }
.ian-mobile-drawer[hidden] { display: none; }
.ian-mobile-drawer__panel { width: 340px; max-width: 90vw; background: #fff; height: 100%; padding: 18px 14px 32px; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; }
.ian-mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #e2e8f0; }
.ian-mobile-drawer__head button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }
.ian-mobile-nav, .ian-mobile-nav ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; font-weight: 500; }
.ian-mobile-nav > li > a,
.ian-mobile-acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #0f172a; background: transparent; border: 0; text-align: left; cursor: pointer; font-family: inherit; transition: background .15s ease, color .15s ease; }
.ian-mobile-nav > li > a:hover,
.ian-mobile-acc-btn:hover { background: #f8fafc; color: #e11d48; }
.ian-mobile-acc-btn.is-open { background: #fff1f2; color: #be123c; }
.ian-mobile-acc-meta { display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ian-mobile-acc-btn .ian-chevron,
.ian-mobile-subtoggle .ian-chevron { transition: transform .18s ease; flex-shrink: 0; }
.ian-mobile-acc-btn.is-open .ian-chevron,
.ian-mobile-subtoggle.is-open .ian-chevron { transform: rotate(180deg); }
.ian-mobile-row-split { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ian-mobile-row-split a { flex: 1; padding: 10px; font-size: 15px; font-weight: 600; color: #0f172a; border-radius: 10px; }
.ian-mobile-subtoggle { width: 34px; height: 34px; border-radius: 9px; border: 1px solid #e2e8f0; background: #f8fafc; color: #475569; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.ian-mobile-subpanel { margin: 6px 0 8px; padding: 8px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; display: flex; flex-direction: column; gap: 6px; }
.ian-mobile-subpanel[hidden] { display: none; }
.ian-mobile-nav ul.sub-menu { margin: 4px 0 6px 8px; padding: 6px 0 4px 12px; border-left: 2px solid #f1f5f9; font-size: 13.5px; color: #475569; gap: 6px; background: transparent; border-top: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
.ian-mobile-cat-all { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; background: #fff1f2; border: 1px solid #fecdd3; color: #be123c; font-size: 12.5px; font-weight: 700; }
.ian-mobile-cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.ian-mobile-cat-link { display: flex; align-items: center; gap: 6px; padding: 7px 8px; border-radius: 8px; background: #fff; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #1e293b; line-height: 1.25; min-width: 0; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.ian-mobile-cat-link span:last-child { word-break: break-word; }
.ian-mobile-cat-link:hover { border-color: #fda4af; background: #fff1f2; color: #be123c; }
.ian-mobile-cat-ico { width: 22px; height: 22px; border-radius: 6px; background: #fff1f2; color: #e11d48; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ian-mobile-cat-ico svg { width: 12px; height: 12px; display: block; }
.ian-mobile-cat-empty { font-size: 12.5px; color: #64748b; padding: 6px 8px; }

/* Nút Giỏ hàng trên Header & Ngăn kéo Mini Cart WooCommerce */
.ian-cart-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 13px; font-weight: 600; transition: border-color .15s ease, background .15s ease; flex-shrink: 0; }
.ian-cart-btn:hover { border-color: #cbd5e1; background: #f8fafc; }
.ian-cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #f1f5f9; color: #334155; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.ian-cart-count.has-items { background: #e11d48; color: #fff; }
.ian-mobile-cart-link { justify-content: space-between !important; }
.ian-mobile-cart-badge { min-width: 22px; height: 22px; padding: 0 7px; border-radius: 999px; background: #e11d48; color: #fff; font-size: 11.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

.ian-cart-drawer { position: fixed; inset: 0; background: rgba(15,23,42,.5); z-index: 105; display: flex; justify-content: flex-end; }
.ian-cart-drawer[hidden] { display: none; }
.ian-cart-drawer__panel { width: 370px; max-width: 92vw; background: #fff; height: 100%; display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(15,23,42,.18); }
.ian-cart-drawer__head { padding: 16px 18px; border-bottom: 1px solid #e2e8f0; display: flex; align-items: center; justify-content: space-between; font-size: 15.5px; color: #0f172a; }
.ian-cart-drawer__head button { width: 32px; height: 32px; border-radius: 8px; border: 1px solid #e2e8f0; background: #f8fafc; color: #334155; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; }
.ian-cart-drawer__body { flex: 1; overflow-y: auto; padding: 16px 18px 28px; }
.ian-cart-drawer .woocommerce-mini-cart { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.ian-cart-drawer .woocommerce-mini-cart-item { position: relative; display: block; min-height: 54px; padding: 0 28px 12px 64px; border-bottom: 1px solid #f1f5f9; font-size: 13px; color: #334155; }
.ian-cart-drawer .woocommerce-mini-cart-item a:not(.remove) { font-weight: 600; color: #0f172a; line-height: 1.35; display: block; }
.ian-cart-drawer .woocommerce-mini-cart-item img { position: absolute; left: 0; top: 2px; width: 52px; height: 52px; object-fit: cover; border-radius: 8px; border: 1px solid #e2e8f0; margin: 0; }
.ian-cart-drawer .woocommerce-mini-cart-item a.remove { position: absolute; right: 0; top: 0; width: 22px; height: 22px; border-radius: 6px; background: #fff1f2; color: #e11d48; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; line-height: 1; }
.ian-cart-drawer .woocommerce-mini-cart-item .quantity { display: block; font-size: 12px; color: #64748b; margin-top: 3px; }
.ian-cart-drawer .woocommerce-mini-cart__total { display: flex; align-items: center; justify-content: space-between; margin: 16px 0 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 14.5px; color: #0f172a; }
.ian-cart-drawer .woocommerce-mini-cart__total .woocommerce-Price-amount { font-weight: 800; color: #e11d48; }
.ian-cart-drawer .woocommerce-mini-cart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.ian-cart-drawer .woocommerce-mini-cart__buttons .button { display: inline-flex; align-items: center; justify-content: center; padding: 10px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; text-align: center; background: #f1f5f9; color: #0f172a; border: 1px solid #e2e8f0; }
.ian-cart-drawer .woocommerce-mini-cart__buttons .button.checkout { background: #163052; color: #fff; border-color: #163052; }
.ian-cart-drawer .woocommerce-mini-cart__empty-message { text-align: center; color: #64748b; font-size: 13.5px; padding: 36px 12px; margin: 0; }

/* Nút Thêm vào giỏ hàng trên trang chi tiết sản phẩm */
.ian-pdp-wc-cart { margin: 14px 0 16px; }
.ian-pdp-wc-cart form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ian-pdp-wc-cart .quantity input.qty { width: 72px; height: 42px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 14px; font-weight: 600; text-align: center; color: #0f172a; }
.ian-pdp-wc-cart .single_add_to_cart_button { height: 42px; padding: 0 20px; border-radius: 10px; border: 0; background: #163052; color: #fff; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.ian-pdp-wc-cart .single_add_to_cart_button:hover { background: #0f233d; }

@media (max-width: 1024px) {
  .ian-archive-layout, .ian-home-hero__grid { grid-template-columns: 1fr; }
  .ian-archive-sidebar { display: none; position: static; }
  .ian-archive-sidebar.is-open { display: block; margin-bottom: 20px; }
  .ian-mobile-cat-toggle { display: block; }
  .ian-pdp-hero { grid-template-columns: 1fr; }
  .ian-steps-5 { grid-template-columns: repeat(2, 1fr); }
  .ian-reasons-3 { grid-template-columns: 1fr; }
  .ian-toc-layout { grid-template-columns: 1fr; }
  .ian-toc-sidebar { position: static; }
  .ian-product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .ian-subcat-grid, .ian-blog-grid, .ian-mega-panel__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .ian-brand .custom-logo { max-width: 165px; max-height: min(var(--ian-logo-max-h, 44px), 38px); }
  .ian-brand__title { font-size: 17px; }
  .ian-brand__desc { font-size: 10.5px; max-width: 195px; overflow: hidden; text-overflow: ellipsis; }
  .ian-nav, .ian-header__actions .ian-btn { display: none; }
  .ian-mobile-toggle { display: inline-flex; }
  .ian-home-hero__copy { padding: 28px 20px; }
  .ian-hero-showcase__grid { grid-template-columns: 1fr; }
  .ian-subcat-grid { gap: 10px; }
  .ian-subcat-card { padding: 11px 10px; gap: 9px; border-radius: 13px; }
  .ian-subcat-card__icon { width: 34px; height: 34px; border-radius: 10px; }
  .ian-subcat-card__icon svg { width: 16px; height: 16px; }
  .ian-subcat-card__meta strong { font-size: 13px; line-height: 1.3; gap: 4px; }
  .ian-subcat-card__meta > span { font-size: 11px; margin-top: 2px; white-space: nowrap; }
  .ian-blink-badge { font-size: 9.5px; padding: 2px 5px; }
  .ian-subcat-card__arrow { display: none; }
  .ian-product-grid--3, .ian-product-grid--4, .ian-blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .ian-steps-5, .ian-quick-anchors { grid-template-columns: 1fr; }
  .ian-footer__grid { grid-template-columns: 1fr; }
}

/* Hiệu ứng Gia công 3D Xoay 360° (Trang chủ) */
@keyframes ianFinishSpin360 {
  0% { transform: rotateX(4deg) rotateY(0deg); }
  50% { transform: rotateX(-3deg) rotateY(180deg); }
  100% { transform: rotateX(4deg) rotateY(360deg); }
}
@keyframes ianFinishSheen {
  0% { transform: translateX(-140%) skewX(-24deg); opacity: 0; }
  30% { opacity: .55; }
  70% { opacity: .45; }
  100% { transform: translateX(220%) skewX(-24deg); opacity: 0; }
}
.ian-finish-section { margin: 12px 0 44px; padding: 48px 36px; border-radius: 26px; border: 1px solid #e2e8f0; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #eef2f7 100%); }
.ian-finish-head { text-align: center; max-width: 680px; margin: 0 auto; }
.ian-finish-kicker { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0369a1; }
.ian-finish-title { margin: 8px 0 0; font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; color: #163052; letter-spacing: -0.025em; line-height: 1.18; text-wrap: balance; }
.ian-finish-sub { margin: 10px 0 0; font-size: 15px; color: #475569; }
.ian-finish-tabs { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 26px 0 36px; }
.ian-finish-tab { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: 12px; border: 1px solid #e2e8f0; background: #fff; color: #334155; font-family: inherit; font-size: 14px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: all .18s ease; }
.ian-finish-tab:hover { border-color: #cbd5e1; color: #163052; }
.ian-finish-tab__check { display: none; color: #7dd3fc; }
.ian-finish-tab.is-active { background: #163052; border-color: #163052; color: #fff; box-shadow: 0 10px 24px -8px rgba(22,48,82,.42); }
.ian-finish-tab.is-active .ian-finish-tab__check { display: inline-block; }
.ian-finish-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 38px; align-items: center; }
.ian-finish-stage-col { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 12px 0; }
.ian-finish-stage { width: 100%; max-width: 480px; perspective: 1200px; cursor: pointer; user-select: none; outline: none; display: flex; justify-content: center; }
.ian-finish-card3d { position: relative; display: inline-block; max-width: 100%; transform-style: preserve-3d; animation: ianFinishSpin360 5.6s linear infinite; animation-play-state: paused; will-change: transform; }
.ian-finish-card3d.is-spinning { animation-play-state: running; }
.ian-finish-face { border-radius: 18px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 24px 48px -18px rgba(15,23,42,.34), 0 4px 12px -2px rgba(15,23,42,.14), inset 0 0 0 1px rgba(255,255,255,.25); }
.ian-finish-face--front { position: relative; transform: rotateY(0deg) translateZ(1px); background: transparent; }
.ian-finish-face--front img { display: block; width: auto; height: auto; max-width: 100%; max-height: 330px; object-fit: contain; }
.ian-finish-back-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.ian-finish-back-img[hidden], .ian-finish-back-brand[hidden] { display: none; }
.ian-finish-face--back { position: absolute; inset: 0; transform: rotateY(180deg) translateZ(1px); display: flex; align-items: center; justify-content: center; }
.ian-finish-face--back.is-navy { background: linear-gradient(135deg, #102440 0%, #1a365d 100%); color: #fcd34d; }
.ian-finish-face--back.is-cream { background: linear-gradient(135deg, #f4efe6 0%, #e7dfd1 100%); color: #163052; }
.ian-finish-face--back.is-pearl { background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); color: #1e293b; }
.ian-finish-face--back.is-dark { background: linear-gradient(135deg, #18181b 0%, #27272a 100%); color: #f8fafc; }
.ian-finish-back-brand { width: 86%; height: 82%; border-radius: 12px; border: 1px solid rgba(148,163,184,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; box-sizing: border-box; }
.ian-finish-back-brand__kicker { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; opacity: .75; }
.ian-finish-back-brand strong { font-size: 24px; font-weight: 800; margin-top: 8px; letter-spacing: -0.02em; }
.ian-finish-back-brand small { font-size: 12px; opacity: .82; margin-top: 6px; }
.ian-finish-sheen { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.ian-finish-sheen::after { content: ''; position: absolute; top: -20%; left: 0; width: 48%; height: 140%; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.42) 50%, rgba(255,255,255,0) 100%); transform: translateX(-140%) skewX(-24deg); animation: ianFinishSheen 2.8s ease-in-out infinite; animation-play-state: paused; }
.ian-finish-card3d.is-spinning .ian-finish-sheen::after { animation-play-state: running; }
.ian-finish-shadow { width: 72%; max-width: 310px; height: 18px; margin-top: 24px; border-radius: 999px; background: rgba(15,23,42,.18); filter: blur(14px); transition: transform .3s ease, opacity .3s ease; }
.ian-finish-shadow.is-spinning { transform: scaleX(.88); opacity: .72; }
.ian-finish-hint { margin: 14px 0 0; display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: #64748b; text-align: center; }
.ian-finish-hint svg { color: #f59e0b; flex-shrink: 0; }
.ian-finish-spec { background: #fff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px 30px; box-shadow: 0 18px 40px -24px rgba(15,23,42,.14); }
.ian-finish-spec__kicker { display: block; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: #0369a1; }
.ian-finish-spec__title { margin: 6px 0 0; font-size: 26px; font-weight: 800; color: #163052; letter-spacing: -0.02em; }
.ian-finish-spec__sub { margin: 4px 0 0; font-size: 13.5px; font-weight: 500; color: #64748b; }
.ian-finish-spec__desc { margin: 18px 0 0; font-size: 14.5px; color: #334155; line-height: 1.65; }
.ian-finish-note-box { margin: 18px 0 0; padding: 15px 16px; border-radius: 13px; background: #f8fafc; border: 1px solid #e2e8f0; }
.ian-finish-note-box__tech { display: flex; align-items: flex-start; gap: 9px; font-size: 13px; color: #475569; line-height: 1.55; }
.ian-finish-note-box__tech svg { color: #0284c7; flex-shrink: 0; margin-top: 2px; }
.ian-finish-note-box__fit { margin-top: 12px; padding-top: 12px; border-top: 1px solid #e2e8f0; font-size: 13px; color: #334155; line-height: 1.55; }
.ian-finish-note-box__fit strong { color: #0f172a; }
.ian-finish-cta { margin-top: 20px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 18px; border-radius: 12px; background: #163052; color: #fff; font-size: 14px; font-weight: 700; transition: background .15s ease; }
.ian-finish-cta:hover { background: #0f233d; color: #fff; }

@media (max-width: 1024px) {
  .ian-finish-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .ian-finish-section { padding: 30px 16px; border-radius: 20px; margin: 8px 0 32px; }
  .ian-finish-tabs { gap: 8px; margin: 20px 0 26px; }
  .ian-finish-tab { padding: 8px 14px; font-size: 13px; }
  .ian-finish-spec { padding: 20px 18px; }
  .ian-finish-spec__title { font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .ian-finish-card3d, .ian-finish-sheen::after { animation: none; }
}

/* Bảng Giá Tập Trung (Shortcode [ian_bang_gia id="..."]) */
.ian-pt-wrap { margin: 26px 0; }
.ian-prose .ian-pt-wrap .ian-pt-heading,
.ian-pt-wrap .ian-pt-heading { margin: 0 0 14px; font-size: 20px; font-weight: 700; line-height: 1.35; color: #e11d48; scroll-margin-top: 96px; }
.ian-pt-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1.5px solid #e11d48; background: #ffffff; box-shadow: 0 8px 24px -16px rgba(15, 23, 42, 0.16); }
.ian-prose .ian-pt-wrap .ian-pt-table,
.ian-pt-wrap .ian-pt-table { width: 100%; border-collapse: collapse; margin: 0; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.ian-prose .ian-pt-wrap .ian-pt-table thead th,
.ian-pt-wrap .ian-pt-table thead th { background-color: #e11d48; color: #ffffff; font-weight: 800; font-size: 14px; line-height: 1.55; letter-spacing: 0.01em; padding: 15px 14px; text-align: center; vertical-align: middle; border: 0; border-right: 1px solid rgba(255, 255, 255, 0.22); border-bottom: 2.5px solid #f59e0b; }
.ian-prose .ian-pt-wrap .ian-pt-table thead th:last-child,
.ian-pt-wrap .ian-pt-table thead th:last-child { border-right: 0; }
.ian-pt-wrap .ian-pt-table .ian-pt-sm { font-size: 0.84em; font-weight: 500; opacity: 0.96; }
.ian-pt-wrap .ian-pt-table .ian-pt-lg { font-size: 1.15em; font-weight: 800; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td,
.ian-pt-wrap .ian-pt-table tbody td { padding: 14px 16px; font-size: 14.5px; color: #0f172a; border: 0; border-top: 1px solid #e2e8f0; border-right: 1px solid #e2e8f0; vertical-align: middle; line-height: 1.5; background: #ffffff; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td:last-child,
.ian-pt-wrap .ian-pt-table tbody td:last-child { border-right: 0; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody tr:first-child td,
.ian-pt-wrap .ian-pt-table tbody tr:first-child td { border-top: 0; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody tr:nth-child(even) td,
.ian-pt-wrap .ian-pt-table tbody tr:nth-child(even) td { background: #f8fafc; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody tr.is-highlight td,
.ian-pt-wrap .ian-pt-table tbody tr.is-highlight td { background: #fefce8; font-weight: 600; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td.is-rowspan,
.ian-pt-wrap .ian-pt-table tbody td.is-rowspan { background: #ffffff !important; vertical-align: middle; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody tr.is-section-row td,
.ian-pt-wrap .ian-pt-table tbody tr.is-section-row td { background: #fff1f2 !important; color: #e11d48; font-weight: 800; font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.03em; text-align: left !important; padding: 11px 16px; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td.is-bold,
.ian-pt-wrap .ian-pt-table tbody td.is-bold { font-weight: 700; color: #0f172a; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td.align-left,
.ian-pt-wrap .ian-pt-table tbody td.align-left { text-align: left; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td.align-center,
.ian-pt-wrap .ian-pt-table tbody td.align-center { text-align: center; }
.ian-prose .ian-pt-wrap .ian-pt-table tbody td.align-right,
.ian-pt-wrap .ian-pt-table tbody td.align-right { text-align: right; }
.ian-pt-note { margin-top: 14px; padding: 16px 20px; border-radius: 12px; background: #fffbeb; border: 1px solid #fde68a; border-left: 4px solid #e11d48; font-size: 14px; line-height: 1.7; color: #334155; }
.ian-pt-note p { margin: 0 0 8px; }
.ian-pt-note p:last-child { margin-bottom: 0; }
.ian-pt-note ul, .ian-pt-note ol { margin: 6px 0; padding-left: 20px; }
@media (max-width: 640px) {
  .ian-prose .ian-pt-wrap .ian-pt-heading,
  .ian-pt-wrap .ian-pt-heading { font-size: 17.5px; }
  .ian-prose .ian-pt-wrap .ian-pt-table thead th,
  .ian-pt-wrap .ian-pt-table thead th { padding: 12px 10px; font-size: 12px; }
  .ian-prose .ian-pt-wrap .ian-pt-table tbody td,
  .ian-pt-wrap .ian-pt-table tbody td { padding: 11px 10px; font-size: 13.5px; }
  .ian-pt-note { padding: 13px 15px; font-size: 13.5px; }
}

/* Shortcode Hộp Liên Hệ KD trong bài viết & sản phẩm [ian_lien_he_kd] */
.ian-kd-box { margin: 24px 0; padding: 18px 20px; border-radius: 16px; background: #ffffff; border: 1.5px solid #e2e8f0; box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.18); }
.ian-kd-box__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-bottom: 13px; margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; }
.ian-kd-box__title-wrap { display: inline-flex; align-items: center; gap: 8px; }
.ian-kd-box__icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #fff1f2; color: #e11d48; font-size: 15px; flex-shrink: 0; }
.ian-kd-box__title { font-size: 15.5px; font-weight: 800; color: #b91c1c; text-transform: uppercase; letter-spacing: 0.02em; line-height: 1.3; }
.ian-kd-box__status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #047857; background: #ecfdf5; border: 1px solid #a7f3d0; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ian-kd-box__pulse { width: 8px; height: 8px; border-radius: 999px; background: #10b981; box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.22); }
.ian-kd-box__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 12px; }
.ian-kd-card { display: flex; flex-direction: column; justify-content: space-between; gap: 10px; padding: 13px 15px; border-radius: 12px; background: #f8fafc; border: 1px solid #e2e8f0; transition: border-color .15s ease, box-shadow .15s ease; }
.ian-kd-card:hover { border-color: #93c5fd; box-shadow: 0 6px 16px -10px rgba(3, 105, 161, 0.25); }
.ian-kd-card__info { display: flex; flex-direction: column; gap: 3px; }
.ian-kd-card__tag { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #64748b; }
.ian-prose .ian-kd-card__phone,
.ian-kd-card__phone { font-size: 18px; font-weight: 800; color: #0f172a; text-decoration: none; letter-spacing: -0.01em; line-height: 1.25; }
.ian-kd-card__phone:hover { color: #e11d48; }
.ian-kd-card__actions { display: grid; grid-template-columns: 1.2fr 1fr; gap: 8px; }
.ian-prose .ian-kd-card__btn,
.ian-kd-card__btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 10px; border-radius: 9px; font-size: 13px; font-weight: 700; text-decoration: none; transition: all .15s ease; white-space: nowrap; }
.ian-prose .ian-kd-card__btn.is-zalo,
.ian-kd-card__btn.is-zalo { background: #0068ff; color: #ffffff; border: 1px solid #0068ff; }
.ian-prose .ian-kd-card__btn.is-zalo:hover,
.ian-kd-card__btn.is-zalo:hover { background: #0054cc; border-color: #0054cc; color: #ffffff; }
.ian-prose .ian-kd-card__btn.is-call,
.ian-kd-card__btn.is-call { background: #ffffff; color: #163052; border: 1px solid #cbd5e1; }
.ian-prose .ian-kd-card__btn.is-call:hover,
.ian-kd-card__btn.is-call:hover { border-color: #e11d48; color: #e11d48; background: #fff1f2; }
.ian-kd-box__foot { margin-top: 12px; padding-top: 10px; border-top: 1px dashed #e2e8f0; font-size: 12.5px; color: #64748b; }
.ian-kd-box__foot strong { color: #334155; }
@media (max-width: 640px) {
  .ian-kd-box { padding: 15px 14px; }
  .ian-kd-box__title { font-size: 14px; }
  .ian-kd-box__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   KHO MẪU THÔNG MINH ([ian_kho_mau id="..."])
   ========================================================= */
.ian-km-wrap { margin: 24px 0; }
.ian-km-toolbar { display: flex; flex-direction: column; gap: 12px; margin-bottom: 14px; }
.ian-km-tabs { display: flex; flex-wrap: wrap; gap: 7px; }
.ian-km-tab { appearance: none; border: 1px solid #cbd5e1; background: #ffffff; color: #334155; padding: 7px 13px; border-radius: 999px; font-size: 13px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .15s ease; line-height: 1.2; }
.ian-km-tab:hover { border-color: #94a3b8; color: #0f172a; background: #f8fafc; }
.ian-km-tab.is-active { background: #163052; border-color: #163052; color: #ffffff; }
.ian-km-tab__cnt { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: rgba(15, 23, 42, 0.08); color: #475569; }
.ian-km-tab.is-active .ian-km-tab__cnt { background: rgba(255, 255, 255, 0.22); color: #ffffff; }

.ian-km-search-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ian-km-search-box { position: relative; flex: 1 1 260px; max-width: 420px; }
.ian-km-search-input { width: 100%; height: 40px; padding: 0 36px 0 36px; border: 1.5px solid #cbd5e1; border-radius: 10px; background: #ffffff; color: #0f172a; font-size: 14px; outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.ian-km-search-input:focus { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.14); }
.ian-km-search-ico { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: #64748b; font-size: 14px; pointer-events: none; }
.ian-km-search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border: none; border-radius: 999px; background: #e2e8f0; color: #334155; font-size: 14px; font-weight: 700; cursor: pointer; display: none; align-items: center; justify-content: center; line-height: 1; }
.ian-km-search-clear.is-show { display: inline-flex; }
.ian-km-search-clear:hover { background: #cbd5e1; color: #0f172a; }

.ian-km-status { font-size: 13px; color: #64748b; margin-bottom: 10px; min-height: 0; }
.ian-km-status:empty { display: none; }
.ian-km-status strong { color: #0f172a; }

.ian-km-grid { display: grid; gap: 14px; }
.ian-km-grid.is-cols-1 { grid-template-columns: 1fr; }
.ian-km-grid.is-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ian-km-grid.is-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ian-km-grid.is-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ian-prose .ian-km-card,
.ian-km-card { margin: 0; padding: 0; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; overflow: hidden; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; display: flex; flex-direction: column; }
.ian-km-card:hover { transform: translateY(-2px); border-color: #93c5fd; box-shadow: 0 12px 24px -16px rgba(15, 23, 42, 0.28); }
.ian-km-card__imgwrap { position: relative; background: #f8fafc; overflow: hidden; }
.ian-prose .ian-km-card__imgwrap img,
.ian-km-card__imgwrap img { width: 100%; height: auto; display: block; margin: 0; border-radius: 0; transition: transform .25s ease; }
.ian-km-card:hover .ian-km-card__imgwrap img { transform: scale(1.02); }
.ian-km-card__zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 23, 42, 0.78); color: #ffffff; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; opacity: 0; transform: translateY(4px); transition: opacity .16s ease, transform .16s ease; pointer-events: none; }
.ian-km-card:hover .ian-km-card__zoom { opacity: 1; transform: translateY(0); }

.ian-km-card__cap { padding: 9px 12px; background: #ffffff; border-top: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 4px; }
.ian-km-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ian-km-code { font-size: 13px; font-weight: 800; color: #b91c1c; background: #fff1f2; border: 1px solid #fecdd3; padding: 2px 8px; border-radius: 6px; line-height: 1.3; }
.ian-km-cat { font-size: 11.5px; font-weight: 700; color: #475569; background: #f1f5f9; padding: 2px 8px; border-radius: 6px; }
.ian-km-note { font-size: 12.5px; color: #475569; line-height: 1.4; }

.ian-km-empty { grid-column: 1 / -1; text-align: center; padding: 28px 16px; border: 1.5px dashed #cbd5e1; border-radius: 12px; color: #64748b; background: #f8fafc; font-size: 14px; }
.ian-km-empty button { margin-top: 10px; }

.ian-km-foot { margin-top: 16px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ian-km-more-btn { appearance: none; border: 1.5px solid #163052; background: #ffffff; color: #163052; padding: 10px 22px; border-radius: 10px; font-size: 14px; font-weight: 800; cursor: pointer; transition: all .15s ease; }
.ian-km-more-btn:hover { background: #163052; color: #ffffff; }
.ian-km-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px; }
.ian-km-page-btn { appearance: none; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #cbd5e1; border-radius: 8px; background: #ffffff; color: #334155; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: all .15s ease; }
.ian-km-page-btn:hover:not(:disabled) { border-color: #163052; color: #163052; background: #f8fafc; }
.ian-km-page-btn.is-active { background: #163052; border-color: #163052; color: #ffffff; }
.ian-km-page-btn:disabled { opacity: 0.42; cursor: not-allowed; }
.ian-km-page-dots { padding: 0 4px; color: #94a3b8; font-weight: 700; }
.ian-prose .ian-km-full-btn,
.ian-km-full-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 22px; border-radius: 10px; background: #e11d48; color: #ffffff; font-size: 14px; font-weight: 800; text-decoration: none; box-shadow: 0 10px 20px -12px rgba(225, 29, 72, 0.55); transition: background .15s ease, transform .15s ease; }
.ian-prose .ian-km-full-btn:hover,
.ian-km-full-btn:hover { background: #be123c; color: #ffffff; transform: translateY(-1px); }

/* Lightbox phóng to mẫu */
.ian-km-lb { position: fixed; inset: 0; z-index: 99999; background: rgba(15, 23, 42, 0.92); backdrop-filter: blur(4px); display: none; flex-direction: column; align-items: center; justify-content: center; padding: 16px; }
.ian-km-lb.is-open { display: flex; }
.ian-km-lb__inner { position: relative; width: 100%; max-width: 1120px; max-height: 92vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ian-km-lb__top { width: 100%; display: flex; align-items: center; justify-content: space-between; color: #e2e8f0; font-size: 13px; font-weight: 700; }
.ian-km-lb__close { appearance: none; width: 38px; height: 38px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.12); color: #ffffff; font-size: 22px; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.ian-km-lb__close:hover { background: rgba(255,255,255,0.25); }
.ian-km-lb__stage { position: relative; width: 100%; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 220px; }
.ian-km-lb__img { max-width: 100%; max-height: 70vh; width: auto; height: auto; border-radius: 10px; box-shadow: 0 24px 50px rgba(0,0,0,0.45); background: #0f172a; object-fit: contain; }
.ian-km-lb__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.24); background: rgba(15,23,42,0.72); color: #ffffff; font-size: 22px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .15s ease; }
.ian-km-lb__nav:hover { background: rgba(2,132,199,0.9); }
.ian-km-lb__nav.is-prev { left: 8px; }
.ian-km-lb__nav.is-next { right: 8px; }
.ian-km-lb__bar { width: 100%; background: rgba(255,255,255,0.98); color: #0f172a; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ian-km-lb__info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ian-km-lb__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ian-km-lb__copy { appearance: none; border: 1px solid #cbd5e1; background: #f8fafc; color: #0f172a; padding: 8px 13px; border-radius: 9px; font-size: 13px; font-weight: 700; cursor: pointer; }
.ian-km-lb__copy:hover { border-color: #163052; background: #e2e8f0; }
.ian-km-lb__zalo { display: inline-flex; align-items: center; gap: 6px; padding: 8px 15px; border-radius: 9px; background: #0068ff; color: #ffffff; font-size: 13.5px; font-weight: 800; text-decoration: none; }
.ian-km-lb__zalo:hover { background: #0054cc; color: #ffffff; }

@media (max-width: 900px) {
  .ian-km-grid.is-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ian-km-grid.is-cols-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .ian-km-grid.is-cols-2,
  .ian-km-grid.is-cols-3 { grid-template-columns: 1fr; }
  .ian-km-card__zoom { opacity: 1; transform: none; }
  .ian-km-lb { padding: 10px; }
  .ian-km-lb__img { max-height: 62vh; }
  .ian-km-lb__nav { width: 36px; height: 36px; font-size: 18px; }
  .ian-km-lb__bar { flex-direction: column; align-items: stretch; }
  .ian-km-lb__actions { justify-content: space-between; }
  .ian-km-lb__zalo { flex: 1; justify-content: center; }
}
