/* ============================================================
   PDP Cartridge — Tất cả CSS cho trang mực in
   Load DUY NHẤT trên cartridge PDP, không dùng chung với máy in.
   ============================================================ */

/* ─── Grid layout ────────────────────────────────────────────── */
.ctg-pdp { padding: var(--s-6, 1.5rem) 0; }

.ctg-pdp__grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: var(--s-8, 2rem);
    align-items: start;
}

@media (max-width: 960px) {
    .ctg-pdp__grid { grid-template-columns: 1fr; }
}

/* ─── Gallery (dùng chung class với máy in, đã có CSS) ──────── */
/* gallery, gallery__main, gallery__thumbs — kế thừa từ pdp-hero.css */
/* Chỉ override nếu cần khác biệt */

/* ─── Info column ────────────────────────────────────────────── */
.ctg-info { display: flex; flex-direction: column; gap: var(--s-4, 1rem); }

/* ─── Badge trên ảnh (pa_muc-in, pa_loai-muc-in) ────────────── */
.ctg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    letter-spacing: 0.01em;
}

.ctg-badge--promo    { background: var(--color-brand-primary, #dd3333); }
.ctg-badge--greentech{ background: #16a34a; }
.ctg-badge--oem      { background: #2563eb; }
.ctg-badge--black    { background: #1f2937; }
.ctg-badge--laser    { background: #475569; }
.ctg-badge--cyan     { background: #0891b2; }
.ctg-badge--magenta  { background: #c026d3; }
.ctg-badge--yellow   { background: #ca8a04; }
.ctg-badge--inkjet   { background: #7c3aed; }
.ctg-badge--sublimation { background: #db2777; }
.ctg-badge--dotmatrix{ background: #64748b; }
.ctg-badge--default  { background: #1f2937; }
.ctg-badge--yield-std  { background: #fff; color: #1f2937; border: 1px solid #d1d5db; }
.ctg-badge--yield-high { background: #fbbf24; color: #1f2937; }

/* ─── Attr badges (dưới title: tương thích + số trang + chip) ── */
.ctg-attr-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s-2, 0.5rem);
}

.ctg-attr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--color-surface-sunken, #f2f4f7);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-text-body, #1f2937);
}

.ctg-attr-badge i[class*="fa-"] {
    color: var(--color-brand-primary, #dd3333);
    font-size: 0.875em;
}

/* chip badge — cùng màu với các badge khác, không override */

/* Rating sát callout hồng */
.info__rating { margin-bottom: 0; }
.ctg-distinctive { margin-top: -5px; }

/* ─── Distinctive callout — giống .why-buy máy in ───────────── */
.ctg-distinctive {
    position: relative;
    background: var(--color-brand-surface, #fef2f2);
    border: 1px solid #fecaca;
    border-radius: var(--radius-lg, 12px);
    padding: var(--s-4, 1rem);
    margin-bottom: var(--s-4, 1rem);
}
.ctg-distinctive::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 32px;
    width: 16px;
    height: 16px;
    background: var(--color-brand-surface, #fef2f2);
    border-left: 1px solid #fecaca;
    border-top: 1px solid #fecaca;
    transform: rotate(45deg);
}

.ctg-distinctive__text {
    font-size: var(--fs-sm, 0.875rem);
    color: var(--color-text-body, #1f2937);
    line-height: 1.6;
    margin: 0;
}

/* ─── Feature grid (copy structure từ .feature-icons / .feature-icon máy in) ── */
.ctg-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--s-4, 1rem) var(--s-2, 0.5rem);
    padding: var(--s-4, 1rem);
    background: var(--color-surface-base, #fff);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    margin-bottom: var(--s-4, 1rem);
}

@media (max-width: 480px) {
    .ctg-features { grid-template-columns: repeat(2, 1fr); }
}

.ctg-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--s-2, 0.5rem);
}

/* Vòng tròn icon — giống .feature-icon__circle máy in */
.ctg-feature__icon {
    width: 48px;
    height: 48px;
    background: var(--color-brand-surface, #fef2f2);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--color-brand-primary, #dd3333);
    flex-shrink: 0;
}

.ctg-feature__icon .mitn-icon,
.ctg-feature__icon svg { width: 22px; height: 22px; }
.ctg-feature__icon i[class*="fa-"] { font-size: 1.125rem; }

.ctg-feature__value {
    font-size: var(--fs-sm, 0.875rem);
    font-weight: 400;
    color: var(--color-text-primary, #111);
    line-height: 1.1;
}

.ctg-feature__value strong {
    font-weight: 800;
    display: block;
}

.ctg-feature__label {
    font-size: var(--fs-xs, 0.75rem);
    color: var(--color-text-muted, #6b7280);
    line-height: 1.3;
}

/* ─── CPP chip (đơn) ─────────────────────────────────────────── */
.ctg-cpp {
    display: inline-flex;
    align-items: baseline;
    gap: var(--s-2, 0.5rem);
    background: var(--color-surface-sunken, #f2f4f7);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: 8px;
    padding: 6px 14px;
}

.ctg-cpp__value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-brand-primary, #dd3333);
}

.ctg-cpp__value small { font-size: 0.75em; font-weight: 500; }

.ctg-cpp__label {
    font-size: 0.8125rem;
    color: var(--color-text-muted, #6b7280);
}

/* ─── Savings boxes ──────────────────────────────────────────── */
.ctg-savings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2, 0.5rem);
}

@media (max-width: 380px) {
    .ctg-savings { grid-template-columns: 1fr; }
}

.ctg-savings__box {
    border-radius: 10px;
    padding: var(--s-3, 0.75rem) var(--s-4, 1rem);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ctg-savings__box--cost {
    background: #1e293b;
    color: #fff;
}

.ctg-savings__box--save {
    background: #15803d;
    color: #fff;
}

.ctg-savings__title {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    line-height: 1.3;
}

.ctg-savings__main {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.ctg-savings__sub {
    font-size: 0.75rem;
    opacity: 0.75;
    line-height: 1.3;
}

/* ─── Trust badges ───────────────────────────────────────────── */
.ctg-trust {
    list-style: none;
    margin: 0;
    padding: var(--s-3, 0.75rem) var(--s-4, 1rem);
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: var(--color-surface-sunken, #f2f4f7);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
}

.ctg-trust li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--color-text-body, #1f2937);
    line-height: 1.5;
}

.ctg-trust i[class*="fa-"] {
    color: var(--color-brand-primary, #dd3333);
    margin-top: 2px;
    flex-shrink: 0;
    width: 14px;
    text-align: center;
}

/* Section + FAQ CSS — xem phần SHARED ở cuối file */

/* ─── Reviews collapse ───────────────────────────────────────── */
/* reviews-collapse — đã có trong pdp-body.css, không cần override */

/* ─── Responsive: info column ────────────────────────────────── */
@media (max-width: 640px) {
    .ctg-features { grid-template-columns: repeat(2, 1fr); gap: 6px; padding: var(--s-3, 0.75rem); }
    .ctg-savings__main { font-size: 1.25rem; }
}

/* ============================================================
   SHARED — Gallery, Price, CTA, Tabnav, FAQ, Reviews
   Copy từ pdp-hero.css + pdp-body.css — tách riêng để không
   phụ thuộc vào file CSS của máy in.
   ============================================================ */

html { scroll-behavior: smooth; }

/* ─── Gallery ────────────────────────────────────────────────── */
.gallery {
    display: block;
    position: sticky;
    top: calc(var(--header-height, 72px) + var(--s-4, 1rem));
    align-self: start;
}
@media (max-width: 980px) { .gallery { position: static; } }

.gallery__main {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f8fafc, var(--color-surface-base, #fff));
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    display: grid;
    place-items: center;
    position: relative;
    overflow: visible;
    margin-bottom: var(--s-3, 0.75rem);
    clip-path: inset(0 round var(--radius-lg, 12px));
}
.gallery__main svg { width: 55%; height: 55%; color: var(--color-text-subtle, #9ca3af); }
.gallery__main-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--s-4, 1rem);
    position: absolute;
    inset: 0;
    background: #fff;
}

.gallery__badges {
    position: absolute;
    top: var(--s-4, 1rem);
    left: var(--s-4, 1rem);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--s-2, 0.5rem);
    z-index: 1;
    width: max-content;
}

.gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--s-2, 0.5rem);
}
.gallery__thumb {
    aspect-ratio: 1;
    background: var(--color-surface-sunken, #f2f4f7);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    display: grid;
    place-items: center;
    color: var(--color-text-subtle, #9ca3af);
    cursor: pointer;
    padding: 0;
    transition: border-color 200ms;
    overflow: hidden;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.gallery__thumb.is-active { border-color: var(--color-brand-primary, #dd3333); border-width: 2px; }
.gallery__thumb:hover:not(.is-active) { border-color: var(--color-border-strong, #9ca3af); }

.gallery__thumb--video { background: #0f172a; color: #fff; padding: 0; }
.gallery__thumb--video:hover:not(.is-active) { border-color: #ef4444; }
.gallery__thumb--video.is-active { border-color: #ef4444; }
.gallery__play-icon {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%; background: #ef4444; color: #fff;
}
.gallery__play-label { font-size: 9px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #94a3b8; line-height: 1; }
.gallery__play-inner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 100%; height: 100%; color: inherit; text-decoration: none; }

/* ─── Info meta + title + rating ─────────────────────────────── */
.info__meta {
    display: flex;
    gap: var(--s-3, 0.75rem);
    align-items: center;
    flex-wrap: wrap;
    font-size: var(--fs-sm, 0.875rem);
    color: var(--color-text-muted, #4b5563);
    margin-bottom: var(--s-3, 0.75rem);
}
.info__meta strong { color: var(--color-text-body, #1f2937); }

.stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 10px;
    background: var(--color-status-success-bg, #dcfce7);
    color: var(--color-status-success-text, #166534);
    border-radius: var(--radius-pill, 999px);
    font-size: var(--fs-xs, 0.75rem);
    font-weight: 600;
}
.stock-pill svg { width: 12px; height: 12px; }
.stock-pill--out { background: #fee2e2; color: #991b1b; }

.info__title {
    font-size: var(--fs-2xl, 1.75rem);
    font-weight: 800;
    color: var(--color-text-primary, #111);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: var(--s-3, 0.75rem);
}
@media (max-width: 480px) { .info__title { font-size: var(--fs-xl, 1.5rem); } }

.info__rating {
    display: flex;
    align-items: center;
    gap: var(--s-2, 0.5rem);
    margin-bottom: var(--s-4, 1rem);
    font-size: var(--fs-sm, 0.875rem);
}

/* ─── Price block ────────────────────────────────────────────── */
.price-block {
    padding: var(--s-4, 1rem);
    background: var(--color-surface-base, #fff);
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    margin-bottom: var(--s-4, 1rem);
}
.price-block__row {
    display: flex;
    align-items: baseline;
    gap: var(--s-3, 0.75rem);
    flex-wrap: wrap;
    margin-bottom: var(--s-2, 0.5rem);
}
.price-block__price {
    font-size: var(--fs-2xl, 1.75rem);
    font-weight: 800;
    color: var(--color-brand-primary, #dd3333);
    letter-spacing: -0.02em;
    line-height: 1;
}
.price-block__original {
    font-size: var(--fs-md, 1.125rem);
    color: var(--color-text-subtle, #9ca3af);
    text-decoration: line-through;
}
.price-block__discount {
    background: var(--color-brand-primary, #dd3333);
    color: #fff;
    padding: 3px 8px;
    border-radius: var(--radius-sm, 4px);
    font-size: var(--fs-sm, 0.875rem);
    font-weight: 700;
}
.price-block__save { font-size: var(--fs-sm, 0.875rem); color: #16a34a; font-weight: 600; }
.price-block__vat { font-size: var(--fs-xs, 0.75rem); color: var(--color-text-subtle, #9ca3af); margin-top: var(--s-1, 0.25rem); }

/* ─── Highlights ─────────────────────────────────────────────── */
.highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--s-2, 0.5rem);
    margin-bottom: var(--s-4, 1rem);
    padding: 0;
}
.highlights li {
    display: flex;
    gap: var(--s-2, 0.5rem);
    font-size: var(--fs-sm, 0.875rem);
    color: var(--color-text-body, #1f2937);
    line-height: 1.5;
}
.highlights li > svg {
    width: 18px; height: 18px;
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── CTA row ────────────────────────────────────────────────── */
.cta-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--s-3, 0.75rem);
    margin-bottom: var(--s-4, 1rem);
}
.cta {
    height: 52px;
    border-radius: var(--radius-md, 8px);
    font-weight: 700;
    font-size: var(--fs-base, 1rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2, 0.5rem);
    text-decoration: none;
    transition: background 200ms;
}
.cta--primary {
    background: var(--color-brand-primary, #dd3333);
    color: #fff;
    box-shadow: 0 2px 12px rgba(221,51,51,.3);
}
.cta--primary:hover  { background: #c82b2b; color: #fff; text-decoration: none; }
.cta--zalo {
    background: var(--color-surface-base, #fff);
    color: var(--color-brand-primary, #dd3333);
    border: 2px solid var(--color-brand-primary, #dd3333);
}
.cta--zalo:hover { background: #fef1f1; text-decoration: none; }
.cta i[class*="fa-"], .cta .mitn-icon, .cta svg { width: 20px; height: 20px; flex-shrink: 0; font-size: 1rem; }

/* ─── Mobile sticky CTA ──────────────────────────────────────── */
.mobile-cta {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 80;
    background: var(--color-surface-base, #fff);
    border-top: 1px solid var(--color-border-subtle, #e5e7eb);
    box-shadow: 0 -4px 16px rgba(15,23,42,.08);
    padding: var(--s-2, 0.5rem) var(--s-3, 0.75rem);
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2, 0.5rem);
}
@media (max-width: 980px) {
    .mobile-cta { display: grid; }
    body { padding-bottom: 76px; }
}
.mobile-cta__btn {
    height: 48px;
    border-radius: var(--radius-md, 8px);
    font-weight: 700;
    font-size: var(--fs-sm, 0.875rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--s-2, 0.5rem);
    text-decoration: none;
}
.mobile-cta__btn--secondary {
    background: var(--color-surface-base, #fff);
    color: var(--color-brand-primary, #dd3333);
    border: 2px solid var(--color-brand-primary, #dd3333);
}
.mobile-cta__btn--primary { background: var(--color-brand-primary, #dd3333); color: #fff; }

/* ─── Tab Nav ────────────────────────────────────────────────── */
.tabnav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--color-surface-base, #fff);
    border-bottom: 1px solid var(--color-border-subtle, #e5e7eb);
    margin-top: var(--s-8, 2rem);
}
.admin-bar .tabnav { top: 32px; }
@media screen and (max-width: 600px) { .admin-bar .tabnav { top: 0; } }

.tabnav__list {
    display: flex;
    gap: var(--s-1, 0.25rem);
    list-style: none;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0;
    padding: 0;
}
.tabnav__list::-webkit-scrollbar { display: none; }

.tabnav__link {
    display: inline-flex;
    align-items: center;
    gap: var(--s-2, 0.5rem);
    padding: var(--s-4, 1rem);
    font-size: var(--fs-sm, 0.875rem);
    font-weight: 600;
    color: var(--color-text-muted, #4b5563);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
    transition: color 0.15s;
}
.tabnav__link:hover { color: var(--color-text-primary, #111); text-decoration: none; }
.tabnav__link.is-active { color: var(--color-brand-primary, #dd3333); border-bottom-color: var(--color-brand-primary, #dd3333); }
.tabnav__count {
    background: var(--color-surface-sunken, #f2f4f7);
    color: var(--color-text-subtle, #6b7280);
    font-size: var(--fs-xs, 0.75rem);
    padding: 1px 7px;
    border-radius: var(--radius-pill, 999px);
    font-weight: 700;
}

/* ─── Section layout (dùng .ctg-body thay .pdp-description) ─── */
.ctg-body .section {
    padding: var(--s-6, 1.5rem) 0;
    border-top: 1px solid var(--color-border-subtle, #e5e7eb);
}
.ctg-body .section:first-child { border-top: none; }
/* Section đầu tiên trong ctg-body thứ 2 trở đi vẫn cần border-top */
.ctg-body ~ .ctg-body .section:first-child { border-top: 1px solid var(--color-border-subtle, #e5e7eb); }
.ctg-body .section__title {
    font-size: var(--fs-xl, 1.5rem);
    font-weight: 800;
    color: var(--color-text-primary, #111);
    letter-spacing: -0.02em;
    margin-bottom: var(--s-2, 0.5rem);
}
.ctg-body .section__sub {
    color: var(--color-text-muted, #4b5563);
    font-size: var(--fs-sm, 0.875rem);
    margin-bottom: var(--s-5, 1.25rem);
    max-width: 680px;
    line-height: 1.6;
}
.ctg-body .ctg-content { line-height: 1.7; }
.ctg-body .ctg-content a { color: var(--color-brand-primary, #dd3333); }
.ctg-body .ctg-content a:hover { text-decoration: underline; }
.ctg-body .ctg-content img { border-radius: 12px !important; display: block; max-width: 100%; height: auto; }

/* ─── FAQ Accordion ──────────────────────────────────────────── */
.ctg-body .faq-list {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--s-2, 0.5rem);
    max-width: 820px;
}
.ctg-body .faq-item {
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-lg, 12px);
    overflow: hidden;
    margin: 0;
}
.ctg-body .faq-item__q {
    width: 100%;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: var(--s-3, 0.75rem);
    padding: 10px var(--s-4, 1rem) !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    cursor: pointer;
    text-align: left;
    font-size: var(--fs-sm, 0.875rem) !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
    min-height: unset !important;
    color: var(--color-text-primary, #111);
    font-family: inherit;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
}
.ctg-body .faq-item__q:hover { color: var(--color-brand-primary, #dd3333); }
.ctg-body .faq-item__icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: var(--color-brand-primary, #dd3333);
    transition: transform 0.2s ease;
}
.ctg-body .faq-item.is-open .faq-item__icon { transform: rotate(45deg); }
.ctg-body .faq-item__a {
    display: none;
    padding: 0 var(--s-4, 1rem) var(--s-4, 1rem);
    font-size: var(--fs-sm, 0.875rem);
    color: var(--color-text-muted, #4b5563);
    line-height: 1.7;
}
.ctg-body .faq-item.is-open .faq-item__a { display: block; }
.ctg-body .faq-item__a p:last-child { margin-bottom: 0; }

/* ─── Reviews Collapse ───────────────────────────────────────── */
.reviews-collapse {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.reviews-collapse__fade {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, var(--color-surface-base, #fff));
    pointer-events: none;
    transition: opacity 0.3s;
}
.reviews-collapse.is-expanded .reviews-collapse__fade { opacity: 0; }
.reviews-collapse__footer { display: flex; justify-content: center; margin-top: var(--s-4, 1rem); }
.reviews-collapse__toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 9px 22px !important;
    border: 1px solid var(--color-border-default, #d1d5db) !important;
    border-radius: var(--radius-pill, 999px) !important;
    background: var(--color-surface-base, #fff) !important;
    color: var(--color-text-muted, #4b5563) !important;
    font-size: var(--fs-sm, 0.875rem) !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    min-height: unset !important;
    line-height: 1 !important;
}
.reviews-collapse__toggle:hover { border-color: var(--color-brand-primary, #dd3333) !important; color: var(--color-brand-primary, #dd3333) !important; }
.reviews-collapse__icon { flex-shrink: 0; transition: transform 0.35s ease; }
.reviews-collapse__toggle[aria-expanded="true"] .reviews-collapse__icon { transform: rotate(180deg); }

/* ─── Collapsible groups + tables (copy từ specs-table.css) ─── */
.specs-groups {
    display: flex;
    flex-direction: column;
    gap: var(--s-3, 0.75rem);
}
.specs-group {
    border: 1px solid var(--color-border-subtle, #e5e7eb);
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
}
.specs-group__head {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--s-2, 0.5rem);
    padding: 10px var(--s-4, 1rem);
    background: var(--color-surface-sunken, #f2f4f7);
    border: none;
    cursor: pointer;
    font-size: var(--fs-sm, 0.875rem);
    font-weight: 700;
    color: var(--color-text-primary, #111);
    font-family: inherit;
    text-align: left;
}
.specs-group__head:hover { background: var(--color-surface-raised, #f0f2f5); }
.specs-group__head br { display: none; }
.specs-group__head svg.ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--color-brand-primary, #dd3333); fill: currentColor; }
.specs-group__head i[class*="fa-"] { width: 18px; text-align: center; flex-shrink: 0; color: var(--color-brand-primary, #dd3333); font-size: 0.95em; }
.specs-group__chevron { margin-left: auto; width: 18px; height: 18px; flex-shrink: 0; color: var(--color-text-muted, #4b5563); fill: currentColor; transition: transform 0.2s ease; }
.specs-group.is-collapsed .specs-group__chevron { transform: rotate(-90deg); }
.specs-group__body { padding: 0; }
.specs-group.is-collapsed .specs-group__body { display: none; }

.specs-group__body table { width: 100%; border-collapse: collapse; }
.specs-group__body td { padding: var(--s-3, 0.75rem) var(--s-4, 1rem); font-size: var(--fs-sm, 0.875rem); border-bottom: 1px solid var(--color-border-subtle, #e5e7eb); vertical-align: top; }
.specs-group__body tr:last-child td { border-bottom: none; }
.specs-group__body td:first-child { color: var(--color-text-muted, #4b5563); width: 45%; }
.specs-group__body td:last-child { color: var(--color-text-primary, #111); font-weight: 500; }
.specs-group__body strong { font-weight: 800; color: var(--color-brand-primary, #dd3333); }

/* Compatible list — 2 col (tên máy / dòng), không dùng style label-value */
.ctg-content .specs-group__body td:first-child { color: var(--color-text-body, #1f2937); width: auto; }
.ctg-content .specs-group__body td:last-child  { color: var(--color-text-muted, #4b5563); font-weight: 400; width: 40%; }

/* Ghi chú cuối nội dung */
.ctg-content .note-mute { font-size: var(--fs-sm, 0.875rem); color: var(--color-text-muted, #4b5563); margin-top: var(--s-3, 0.75rem); }
.ctg-content .note-mute a { color: var(--color-brand-primary, #dd3333); text-decoration: none; }
.ctg-content .note-mute a:hover { text-decoration: underline; }

/* ─── model-compare (dùng trong ctg-content: yield, compare) ─── */
.ctg-content .model-compare { overflow-x: auto; border: 1px solid var(--color-border-subtle, #e5e7eb); border-radius: var(--radius-lg, 12px); }
.ctg-content .model-compare table { width: 100%; border-collapse: collapse; min-width: 520px; }
.ctg-content .model-compare th,
.ctg-content .model-compare td { padding: var(--s-3, 0.75rem) var(--s-4, 1rem); text-align: left; font-size: var(--fs-sm, 0.875rem); border-bottom: 1px solid var(--color-border-subtle, #e5e7eb); }
.ctg-content .model-compare thead th { background: var(--color-surface-sunken, #f2f4f7); font-weight: 700; color: var(--color-text-primary, #111); vertical-align: top; }
.ctg-content .model-compare thead th.is-current { background: var(--color-brand-surface, #fef1f1); }
.ctg-content .model-compare__model { font-weight: 800; color: var(--color-text-primary, #111); font-size: var(--fs-base, 1rem); }
.ctg-content .model-compare__price { font-weight: 800; color: var(--color-brand-primary, #dd3333); margin-top: 2px; }
.ctg-content .model-compare__tag { display: inline-block; font-size: var(--fs-xs, 0.75rem); padding: 2px 8px; border-radius: var(--radius-sm, 4px); font-weight: 700; margin-top: var(--s-2, 0.5rem); }
.ctg-content .model-compare__tag--current { background: var(--color-brand-primary, #dd3333); color: #fff; }
.ctg-content .model-compare td.is-current { background: var(--color-brand-surface, #fef1f1); font-weight: 600; }
.ctg-content .model-compare__rowlabel { font-weight: 600; color: var(--color-text-muted, #4b5563); background: var(--color-surface-raised, #f9fafb); }
.ctg-content .model-compare__cta { display: inline-flex; align-items: center; gap: 4px; font-size: var(--fs-xs, 0.75rem); font-weight: 700; padding: 6px 12px; border: 1px solid var(--color-brand-primary, #dd3333); color: var(--color-brand-primary, #dd3333); border-radius: var(--radius-md, 8px); text-decoration: none; margin-top: var(--s-2, 0.5rem); }
.ctg-content .model-compare__cta:hover { background: var(--color-brand-surface, #fef1f1); text-decoration: none; }
.ctg-content .model-compare th { text-transform: none; }
.ctg-content .hot { color: var(--color-status-success, #16a34a); font-weight: 700; }

/* ─── feature-deep (dùng trong Mô tả chi tiết) ─── */
.ctg-content .feature-deep { display: flex; flex-direction: column; gap: var(--s-8, 2rem); }
.ctg-content .feature-block { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6, 1.5rem); align-items: center; }
.ctg-content .feature-block:nth-child(even) .feature-block__media { order: -1; }
@media (max-width: 880px) {
    .ctg-content .feature-block { grid-template-columns: 1fr; }
    .ctg-content .feature-block:nth-child(even) .feature-block__media { order: 0; }
}
.ctg-content .feature-block__num { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; background: var(--color-brand-primary, #dd3333); color: #fff; border-radius: 50%; font-weight: 800; font-size: var(--fs-sm, 0.875rem); margin-bottom: var(--s-3, 0.75rem); }
.ctg-content .feature-block__title { font-size: var(--fs-lg, 1.25rem); font-weight: 800; color: var(--color-text-primary, #111); margin-bottom: var(--s-3, 0.75rem); letter-spacing: -0.01em; }
.ctg-content .feature-block__text { color: var(--color-text-muted, #4b5563); font-size: var(--fs-sm, 0.875rem); line-height: 1.7; margin-bottom: var(--s-3, 0.75rem); }
.ctg-content .feature-block__list { list-style: none; display: flex; flex-direction: column; gap: var(--s-2, 0.5rem); padding: 0; margin: 0; }
.ctg-content .feature-block__list li { display: flex; gap: var(--s-2, 0.5rem); font-size: var(--fs-sm, 0.875rem); color: var(--color-text-body, #1f2937); }
.ctg-content .feature-block__list i[class*="fa-"] { color: var(--color-brand-primary, #dd3333); flex-shrink: 0; margin-top: 2px; width: 16px; text-align: center; }
.ctg-content .feature-block__media { aspect-ratio: 4 / 3; background: var(--color-surface-sunken, #f2f4f7); border: 1px dashed var(--color-border-default, #d1d5db); border-radius: var(--radius-lg, 12px); display: grid; place-items: center; text-align: center; color: var(--color-text-subtle, #6b7280); padding: var(--s-4, 1rem); }
.ctg-content .feature-block__media-label { font-size: var(--fs-xs, 0.75rem); line-height: 1.5; }
.ctg-content .feature-block__media img { width: 100%; height: 100%; object-fit: contain; display: block; font-size: 0; }
.ctg-content .feature-block__media:has(img) { border: none; padding: 0; background: transparent; overflow: hidden; border-radius: 12px; }

/* ─── ink-tblwrap + pick (dùng trong cartridge_yield_guide) ─── */
.ink-tblwrap { overflow-x: auto; border: 1px solid var(--color-border-subtle, #e5e7eb); border-radius: var(--radius-lg, 12px); margin-bottom: var(--s-4, 1rem); }
.ink-tblwrap table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm, 0.875rem); min-width: 520px; }
.ink-tblwrap th, .ink-tblwrap td { padding: var(--s-3, 0.75rem) var(--s-4, 1rem); text-align: left; border-bottom: 1px solid var(--color-border-subtle, #e5e7eb); }
.ink-tblwrap th { background: var(--color-surface-sunken, #f2f4f7); font-weight: 700; color: var(--color-text-primary, #111); }
.ink-tblwrap th:last-child { background: var(--color-brand-surface, #fef1f1); color: var(--color-brand-primary, #dd3333); border-top: 3px solid var(--color-brand-primary, #dd3333); }
.ink-tblwrap td:last-child { background: var(--color-brand-surface, #fef1f1); }
.ink-tblwrap tr:last-child td { border-bottom: none; }
.ink-tblwrap td:first-child { font-weight: 500; color: var(--color-text-muted, #4b5563); }

.pick { font-size: var(--fs-sm, 0.875rem); background: var(--color-surface-sunken, #f2f4f7); border-left: 3px solid var(--color-brand-primary, #dd3333); padding: var(--s-3, 0.75rem) var(--s-4, 1rem); border-radius: 0 var(--radius-md, 8px) var(--radius-md, 8px) 0; line-height: 1.6; color: var(--color-text-body, #1f2937); }
.pick br { display: none; }
.pick i[class*="fa-"] { display: inline-block; vertical-align: middle; color: var(--color-brand-primary, #dd3333); margin-right: var(--s-2, 0.5rem); }
