/* =========================================================================
   NOBLECO - CSS trang chi tiết sản phẩm (v6 - tối ưu Desktop + Mobile)
   --------------------------------------------------------------------- */
:root {
    --nbc-green:        #1B4332;
    --nbc-green-deep:   #0F2A20;
    --nbc-green-mid:    #2D6A4F;
    --nbc-green-soft:   #40916C;
    --nbc-green-tint:   #f4f8f5;
    --nbc-gold:         #B8955A;
    --nbc-gold-soft:    #C9AC79;
    --nbc-line:         #e6e2d8;
    --nbc-line-soft:    #f0ede5;
    --nbc-muted:        #8a8580;
    --nbc-text:         #2f2f38;
    --nbc-serif:        "Montserrat", -apple-system, system-ui, sans-serif;
    --nbc-sans:         "Montserrat", -apple-system, system-ui, sans-serif;
    --nbc-ease:         cubic-bezier(.22,.61,.36,1);
}

/* Font đồng nhất */
.single-product div.product,
.single-product div.product *:not(i) { font-family: var(--nbc-sans); }
.single-product div.product .product_title,
.single-product div.product h1,
.single-product div.product h2,
.nbc-detail-heading,
.nbc-faq-q,
.nbc-commit-title { font-family: var(--nbc-serif); }

.nbc-wide { max-width: 1000px; margin: 0 auto; padding: 0 20px; }

/* Tiêu đề sản phẩm */
.single-product div.product .product_title,
.single-product div.product h1.entry-title {
    font-weight: 600; letter-spacing: .01em; line-height: 1.22; color: var(--nbc-green);
}

/* Ẩn triệt để các phần thừa */
.single-product div.product .product_brand,
.single-product div.product .brand,
.single-product div.product .woocommerce-product-rating,
.single-product div.product .star-rating,
.single-product div.product .product_after_title,
.single-product div.product .stock,
.single-product div.product .posted_in,
.single-product div.product .tagged_as,
.single-product div.product .product_meta .sku_wrapper,
.single-product div.product .olight-product-no-tabs,
.single-product .olight-related-products,
.olight-single-product-current-bar .stars,
.olight-handheld-footer-bar .info-current-product .stars { display: none !important; }

/* =====================================================================
   SKU + DANH MỤC
   ===================================================================== */
.nbc-meta {
    display: flex; flex-wrap: wrap; gap: 8px 0;
    margin: 16px 0 22px;
    padding: 12px 18px;
    border-top: 1px solid var(--nbc-line);
    border-bottom: 1px solid var(--nbc-line);
    background: var(--nbc-green-tint);
    border-radius: 10px;
}
.nbc-meta-item {
    display: inline-flex; align-items: baseline; gap: 8px;
    padding: 4px 18px 4px 0; margin-right: 18px;
    font-size: 13px; letter-spacing: .015em;
    position: relative;
}
.nbc-meta-item:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 50%;
    width: 1px; height: 14px; background: var(--nbc-line);
    transform: translateY(-50%);
}
.nbc-meta-label {
    text-transform: uppercase; letter-spacing: .14em;
    font-size: 10.5px; font-weight: 600; color: var(--nbc-green);
    white-space: nowrap;
}
.nbc-meta-value { color: var(--nbc-text); font-weight: 500; word-break: break-word; }
.nbc-meta-value a {
    color: var(--nbc-text); text-decoration: none; font-weight: 500;
    border-bottom: 1px solid transparent; transition: all .25s var(--nbc-ease);
    padding-bottom: 1px;
}
.nbc-meta-value a:hover { color: var(--nbc-green); border-bottom-color: var(--nbc-gold); }

/* Giá */
.single-product div.product p.price,
.single-product div.product p.price ins {
    color: var(--nbc-gold); font-family: var(--nbc-serif);
    font-weight: 700; letter-spacing: .01em;
}
.single-product div.product p.price del {
    color: var(--nbc-muted); font-size: .58em;
    font-family: var(--nbc-sans); font-weight: 300;
}

/* =====================================================================
   NÚT MUA NGAY
   ===================================================================== */
.single-product div.product .nbc-buynow-button {
    position: relative; background: var(--nbc-green) !important; color: #fff !important;
    border: none !important; border-radius: 8px !important;
    padding: 15px 32px !important;
    letter-spacing: .14em; text-transform: uppercase;
    font-weight: 600 !important; font-size: 12.5px !important;
    line-height: 1 !important;
    overflow: hidden; isolation: isolate;
    transition: transform .3s var(--nbc-ease), box-shadow .3s var(--nbc-ease);
}
.nbc-buynow-label { position: relative; z-index: 2; }
.single-product div.product .nbc-buynow-button::after {
    content: ""; position: absolute; inset: 2px; border-radius: 6px;
    background: var(--nbc-green); z-index: 1; transition: background .3s var(--nbc-ease);
}
.single-product div.product .nbc-buynow-button::before {
    content: ""; position: absolute; inset: -150%; z-index: 0;
    background: conic-gradient(from 0deg, transparent 0deg, transparent 300deg,
        #fff6e0 330deg, var(--nbc-gold-soft) 350deg, transparent 360deg);
    opacity: 0; transition: opacity .35s var(--nbc-ease);
    animation: nbc-spin 2.4s linear infinite;
}
.single-product div.product .nbc-buynow-button:hover {
    transform: translateY(-1px); box-shadow: 0 10px 28px rgba(27,67,50,.30);
}
.single-product div.product .nbc-buynow-button:hover::before { opacity: 1; }
.single-product div.product .nbc-buynow-button:hover::after { background: var(--nbc-green-deep); }
@keyframes nbc-spin { to { transform: rotate(360deg); } }

/* =====================================================================
   NÚT THÊM VÀO GIỎ
   ===================================================================== */
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product .single_add_to_cart_button {
    position: relative !important;
    overflow: hidden !important; isolation: isolate !important;
    background: #fff !important;
    color: var(--nbc-green);
    border: 1px solid var(--nbc-green) !important;
    border-radius: 8px !important;
    padding: 14px 28px !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    line-height: 1 !important;
    min-width: 0 !important;
    width: auto !important;
    height: auto !important;
    transition: color .35s var(--nbc-ease), border-color .35s var(--nbc-ease),
                transform .3s var(--nbc-ease), box-shadow .3s var(--nbc-ease) !important;
}
.single-product div.product .single_add_to_cart_button::before {
    content: "" !important; position: absolute !important; inset: 0 !important;
    z-index: -1 !important; background: var(--nbc-green) !important; border-radius: 7px;
    transform: scaleX(0) !important; transform-origin: left !important;
    transition: transform .45s var(--nbc-ease) !important;
}
.single-product div.product .single_add_to_cart_button:hover {
    color: #fff !important;
    border-color: var(--nbc-green) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 8px 22px rgba(27,67,50,.20) !important;
}
.single-product div.product .single_add_to_cart_button:hover::before { transform: scaleX(1) !important; }

/* =====================================================================
   KHỐI 3 CAM KẾT
   ===================================================================== */
.nbc-commit {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin: 40px 0 8px;
}
.nbc-commit-item {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 14px; padding: 28px 18px 24px;
    border: 1px solid var(--nbc-line); border-radius: 18px;
    background: linear-gradient(180deg, #fff, var(--nbc-green-tint));
    position: relative; overflow: hidden;
    transition: border-color .35s var(--nbc-ease), box-shadow .35s var(--nbc-ease), transform .35s var(--nbc-ease);
}
.nbc-commit-item::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--nbc-green), var(--nbc-gold), var(--nbc-green));
    transform: scaleX(0); transform-origin: center;
    transition: transform .5s var(--nbc-ease);
}
.nbc-commit-item:hover {
    border-color: var(--nbc-green-soft);
    transform: translateY(-4px); box-shadow: 0 14px 32px rgba(27,67,50,.10);
}
.nbc-commit-item:hover::before { transform: scaleX(1); }
.nbc-commit-ic {
    width: 58px; height: 58px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; background: var(--nbc-green); border-radius: 50%;
    box-shadow: 0 6px 16px rgba(27,67,50,.22);
    transition: transform .45s var(--nbc-ease), background .35s var(--nbc-ease);
}
.nbc-commit-ic svg { width: 26px; height: 26px; }
.nbc-commit-item:hover .nbc-commit-ic { transform: scale(1.08) rotate(-4deg); background: var(--nbc-green-deep); }
.nbc-commit-txt { display: flex; flex-direction: column; line-height: 1.4; gap: 4px; }
.nbc-commit-title { font-size: 16px; font-weight: 600; color: var(--nbc-green); letter-spacing: .01em; }
.nbc-commit-desc { font-size: 12px; letter-spacing: .03em; color: var(--nbc-muted); }

/* =====================================================================
   SECTIONS
   ===================================================================== */
.nbc-detail-section,
.nbc-warranty-section,
.nbc-faq-section { margin: 96px 0; clear: both; }

.nbc-detail-heading {
    font-size: 34px; font-weight: 600; text-align: center;
    margin: 0 0 4px; letter-spacing: .01em; color: var(--nbc-green);
    line-height: 1.25;
}
.nbc-dash {
    display: block; width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--nbc-gold), transparent);
    margin: 18px auto 56px;
}

.nbc-detail-card {
    border: 1px solid var(--nbc-line); border-radius: 22px;
    padding: 28px 52px 52px;
    background: linear-gradient(180deg, var(--nbc-green-tint), #fff);
}
.nbc-detail-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nbc-detail-table tr { transition: background .3s var(--nbc-ease); }
.nbc-detail-table tr:hover { background: rgba(27,67,50,.04); }
.nbc-detail-table th, .nbc-detail-table td {
    padding: 17px 18px; text-align: left;
    border-bottom: 1px solid var(--nbc-line);
    vertical-align: middle; letter-spacing: .02em;
}
.nbc-detail-table tr:last-child th, .nbc-detail-table tr:last-child td { border-bottom: none; }
.nbc-detail-table th { width: 34%; color: var(--nbc-muted); font-weight: 400; text-transform: capitalize; }
.nbc-detail-table td { color: var(--nbc-text); font-weight: 500; }

/* Mô tả */
.nbc-detail-desc { margin-top: 8px; font-size: 15.5px; line-height: 1.9; color: var(--nbc-text); }
.nbc-detail-desc p { margin: 0 0 14px; }
.nbc-detail-desc h2, .nbc-detail-desc h3, .nbc-detail-desc h4 {
    font-family: var(--nbc-serif); font-weight: 600;
    margin: 26px 0 14px; color: var(--nbc-green); font-size: 22px;
}
.nbc-detail-desc strong { color: var(--nbc-green); font-weight: 600; }
.nbc-detail-desc ul { margin: 12px 0 14px; padding: 0; list-style: none; }
.nbc-detail-desc ul li {
    position: relative; padding-left: 26px; margin-bottom: 11px;
    line-height: 1.7; list-style: none;
}
.nbc-detail-desc ul li::marker { content: ""; }
.nbc-detail-desc ul li::before {
    content: ""; position: absolute; left: 4px; top: 10px;
    width: 7px; height: 7px; transform: rotate(45deg); background: var(--nbc-gold);
}
/* Bảng do user dán trong mô tả (vd bảng size) - cho cuộn ngang trên mobile */
.nbc-detail-desc table { width: 100%; border-collapse: collapse; margin-top: 18px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nbc-detail-desc table td, .nbc-detail-desc table th {
    padding: 10px 8px; border-bottom: 1px solid var(--nbc-line);
    text-align: left; vertical-align: middle;
}
.nbc-detail-desc table td::before, .nbc-detail-desc table th::before { content: none !important; }
.nbc-detail-desc table ul, .nbc-detail-desc table ol { list-style: none; padding: 0; margin: 0; }
.nbc-detail-desc table li::before { content: none !important; }
.nbc-detail-desc table li { padding-left: 0 !important; }

/* Bảng bảo hành */
.nbc-warranty-card { border-radius: 22px; overflow: hidden; border: 1px solid var(--nbc-line); }
.nbc-warranty-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.nbc-warranty-table th, .nbc-warranty-table td { padding: 18px 26px; text-align: left; color: var(--nbc-text); }
.nbc-warranty-table thead th {
    background: linear-gradient(180deg, var(--nbc-green), var(--nbc-green-deep));
    font-weight: 600; letter-spacing: .08em; color: #fff;
    text-transform: uppercase; font-size: 12px;
}
.nbc-warranty-table tbody tr { border-bottom: 1px solid var(--nbc-line); transition: background .3s var(--nbc-ease); }
.nbc-warranty-table tbody tr:last-child { border-bottom: none; }
.nbc-warranty-table tbody tr:nth-child(even) { background: var(--nbc-green-tint); }
.nbc-warranty-table tbody tr:hover { background: rgba(27,67,50,.07); }
.nbc-warranty-table td:first-child { font-weight: 600; color: var(--nbc-green); }
.nbc-warranty-table td:nth-child(2) { color: var(--nbc-gold); font-weight: 600; }

/* FAQ */
.nbc-faq-list { display: flex; flex-direction: column; gap: 16px; }
.nbc-faq-item {
    border: 1px solid var(--nbc-line); border-radius: 18px;
    padding: 4px 26px; background: #fff;
    transition: all .35s var(--nbc-ease);
}
.nbc-faq-item:hover { border-color: var(--nbc-green-soft); box-shadow: 0 6px 20px rgba(27,67,50,.06); }
.nbc-faq-item[open] {
    border-color: var(--nbc-green); background: var(--nbc-green-tint);
    box-shadow: 0 8px 24px rgba(27,67,50,.10);
}
.nbc-faq-q {
    list-style: none; cursor: pointer; font-size: 18px; font-weight: 600;
    position: relative; padding: 22px 48px 22px 0; color: var(--nbc-green);
    transition: color .25s var(--nbc-ease); line-height: 1.4;
}
.nbc-faq-item[open] .nbc-faq-q { color: var(--nbc-green-deep); }
.nbc-faq-q:hover { color: var(--nbc-green-mid); }
.nbc-faq-q::-webkit-details-marker { display: none; }
.nbc-faq-q::after {
    content: "+"; position: absolute; right: 0; top: 22px;
    font-size: 20px; font-weight: 300;
    color: #fff; background: var(--nbc-green); line-height: 1;
    transition: transform .3s var(--nbc-ease), background .3s var(--nbc-ease);
    width: 30px; height: 30px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.nbc-faq-item[open] .nbc-faq-q::after { transform: rotate(45deg); background: var(--nbc-gold); }
.nbc-faq-a { padding: 0 0 24px; font-size: 15px; line-height: 1.9; color: var(--nbc-text); }
.nbc-faq-item[open] .nbc-faq-a { animation: nbc-fade .45s var(--nbc-ease); }
@keyframes nbc-fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* =====================================================================
   SẢN PHẨM LIÊN QUAN
   ===================================================================== */
.nbc-related-section {
    background: var(--nbc-green-tint);
    padding: 80px 20px;
    margin: 100px 0 0;
}
.nbc-related-inner { max-width: 1200px; margin: 0 auto; }
.nbc-related-sub {
    text-align: center; font-size: 14.5px; color: var(--nbc-muted);
    max-width: 640px; margin: -28px auto 40px; line-height: 1.8;
}
.nbc-related-section ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 36px !important;
    margin: 0 !important; padding: 0 !important;
    list-style: none !important;
}
.nbc-related-section ul.products::before,
.nbc-related-section ul.products::after { content: none !important; }
.nbc-related-section ul.products li.product {
    width: auto !important; margin: 0 !important; padding: 18px !important;
    background: #fff; border: 1px solid var(--nbc-line); border-radius: 18px;
    text-align: center; transition: all .4s var(--nbc-ease);
    overflow: hidden; position: relative; float: none !important;
    clear: none !important;
}
.nbc-related-section ul.products li.product:hover {
    border-color: var(--nbc-green-soft); transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(27,67,50,.12);
}
.nbc-related-section ul.products li.product .woocommerce-loop-product__link { display: block; text-decoration: none; }
.nbc-related-section ul.products li.product img {
    border-radius: 10px; width: 100% !important; height: auto;
    transition: transform .6s var(--nbc-ease);
}
.nbc-related-section ul.products li.product:hover img { transform: scale(1.04); }
.nbc-related-section ul.products li.product .woocommerce-loop-product__title,
.nbc-related-section ul.products li.product h2,
.nbc-related-section ul.products li.product h3 {
    font-family: var(--nbc-serif) !important; font-size: 18px !important;
    font-weight: 600 !important; color: var(--nbc-green) !important;
    margin: 14px 0 6px !important; line-height: 1.3 !important;
    letter-spacing: .01em; padding: 0 !important;
}
.nbc-related-section ul.products li.product .price {
    color: var(--nbc-gold) !important; font-family: var(--nbc-serif) !important;
    font-weight: 700 !important; font-size: 17px !important; margin: 0 0 8px !important;
}
.nbc-related-section ul.products li.product .price del {
    color: var(--nbc-muted) !important; font-size: 14px !important;
    font-family: var(--nbc-sans) !important; margin-right: 6px;
}
.nbc-related-section ul.products li.product .price {
    display: block !important;
}
.nbc-related-section ul.products li.product .button {
    display: inline-block !important;
    border-radius: 3px !important;
    background: var(--nbc-green) !important; color: #fff !important;
    text-transform: uppercase; letter-spacing: .1em;
    font-size: 11.5px !important; padding: 10px 18px !important;
    margin-top: 12px !important;
    transition: background .3s var(--nbc-ease) !important;
}
.nbc-related-section ul.products li.product .button:hover { background: var(--nbc-green-deep) !important; }

/* Animation reveal - mượt hơn, có blur nhẹ + stagger */
.nbc-reveal {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(4px);
    transition: opacity .9s var(--nbc-ease), transform .9s var(--nbc-ease), filter .9s var(--nbc-ease);
    will-change: opacity, transform;
}
.nbc-reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* Bên trong mỗi section: tiêu đề, gạch, nội dung xuất hiện nối tiếp (stagger) */
.nbc-reveal .nbc-detail-heading,
.nbc-reveal .nbc-dash,
.nbc-reveal .nbc-detail-card,
.nbc-reveal .nbc-warranty-card,
.nbc-reveal .nbc-faq-list,
.nbc-reveal .nbc-related-sub,
.nbc-reveal ul.products {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .7s var(--nbc-ease), transform .7s var(--nbc-ease);
}
.nbc-reveal.is-visible .nbc-detail-heading { transition-delay: .05s; opacity: 1; transform: none; }
.nbc-reveal.is-visible .nbc-dash          { transition-delay: .15s; opacity: 1; transform: none; }
.nbc-reveal.is-visible .nbc-related-sub   { transition-delay: .2s;  opacity: 1; transform: none; }
.nbc-reveal.is-visible .nbc-detail-card,
.nbc-reveal.is-visible .nbc-warranty-card,
.nbc-reveal.is-visible .nbc-faq-list,
.nbc-reveal.is-visible ul.products        { transition-delay: .25s; opacity: 1; transform: none; }

/* Card cam kết: xuất hiện nối tiếp khi summary hiện */
.nbc-commit-item {
    opacity: 0; transform: translateY(20px);
    animation: nbc-commit-in .7s var(--nbc-ease) forwards;
}
.nbc-commit-item:nth-child(1) { animation-delay: .1s; }
.nbc-commit-item:nth-child(2) { animation-delay: .22s; }
.nbc-commit-item:nth-child(3) { animation-delay: .34s; }
@keyframes nbc-commit-in { to { opacity: 1; transform: none; } }

/* =====================================================================
   RESPONSIVE — nhiều breakpoint, tối ưu kỹ
   ===================================================================== */

/* ---- Tablet ngang & nhỏ (≤ 1024px) ---- */
@media (max-width: 1024px) {
    .nbc-detail-heading { font-size: 30px; }
    .nbc-detail-section, .nbc-warranty-section, .nbc-faq-section { margin: 60px 0; }
    .nbc-detail-card { padding: 18px 30px 34px; }
    .nbc-related-section { padding: 54px 20px; }
}

/* ---- Tablet dọc (≤ 768px) ---- */
@media (max-width: 768px) {
    .nbc-wide { padding: 0 16px; }
    .nbc-commit { grid-template-columns: 1fr; gap: 12px; }
    .nbc-commit-item {
        flex-direction: row; align-items: center; text-align: left;
        padding: 18px 20px; gap: 16px;
    }
    .nbc-commit-ic { width: 48px; height: 48px; }
    .nbc-commit-ic svg { width: 22px; height: 22px; }
    .nbc-commit-txt { align-items: flex-start; }

    .nbc-detail-heading { font-size: 25px; }
    .nbc-dash { margin: 14px auto 32px; }
    .nbc-detail-section, .nbc-warranty-section, .nbc-faq-section { margin: 50px 0; }

    .nbc-faq-q { font-size: 16px; padding: 18px 44px 18px 0; }
    .nbc-faq-q::after { top: 18px; width: 28px; height: 28px; font-size: 18px; }
    .nbc-faq-item { padding: 2px 20px; }
    .nbc-faq-a { font-size: 14px; padding-bottom: 20px; }

    .nbc-detail-table th { width: 42%; }
    .nbc-detail-table th, .nbc-detail-table td { padding: 14px 12px; font-size: 14px; }
    .nbc-detail-card { padding: 14px 20px 28px; }
    .nbc-detail-desc { font-size: 14.5px; line-height: 1.8; }

    /* Bảng bảo hành: thu nhỏ padding để không tràn */
    .nbc-warranty-table { font-size: 13.5px; }
    .nbc-warranty-table th, .nbc-warranty-table td { padding: 13px 12px; }
    .nbc-warranty-table thead th { font-size: 10.5px; letter-spacing: .05em; }

    .single-product div.product .nbc-buynow-button {
        width: 100%; margin-bottom: 10px !important;
    }
    /* Nút Thêm vào giỏ: full-width, chữ không bị cắt mất nét */
    .single-product div.product form.cart .single_add_to_cart_button,
    .single-product div.product .single_add_to_cart_button {
        width: 100% !important;
        padding: 15px 16px !important;
        letter-spacing: .08em !important;
        white-space: nowrap !important;
        text-align: center !important;
    }

    .nbc-meta { padding: 10px 14px; gap: 6px 0; }
    .nbc-meta-item { margin-right: 12px; padding-right: 12px; font-size: 12.5px; }

    .nbc-related-section { padding: 44px 16px; margin-top: 56px; }
    .nbc-related-section ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 16px !important; }
    .nbc-related-sub { margin: -16px auto 30px; font-size: 13.5px; }
    .nbc-related-section ul.products li.product { padding: 14px !important; }
    .nbc-related-section ul.products li.product .woocommerce-loop-product__title,
    .nbc-related-section ul.products li.product h2,
    .nbc-related-section ul.products li.product h3 { font-size: 16px !important; }
}

/* ---- Mobile (≤ 560px) ---- */
@media (max-width: 560px) {
    .nbc-detail-heading { font-size: 22px; }

    /* Bảng bảo hành: KHÔNG ép cột đều nhau. Cột Dịch vụ rộng hơn để chữ
       không rớt dòng giữa chừng; 2 cột sau co lại. */
    .nbc-warranty-card { border-radius: 12px; }
    .nbc-warranty-table { width: 100%; table-layout: auto; }
    .nbc-warranty-table th, .nbc-warranty-table td {
        padding: 13px 8px; font-size: 12px; white-space: normal;
        word-break: normal; overflow-wrap: anywhere;
    }
    .nbc-warranty-table th:first-child, .nbc-warranty-table td:first-child { width: 46%; }
    .nbc-warranty-table th:nth-child(2), .nbc-warranty-table td:nth-child(2) { width: 27%; }
    .nbc-warranty-table th:last-child, .nbc-warranty-table td:last-child { width: 27%; }
    .nbc-warranty-table thead th { font-size: 10px; letter-spacing: .03em; padding: 12px 8px; }

    /* SKU + danh mục: bỏ dấu ngăn, mỗi item 1 dòng cho gọn */
    .nbc-meta { flex-direction: column; gap: 8px; }
    .nbc-meta-item { margin-right: 0; padding-right: 0; width: 100%; }
    .nbc-meta-item:not(:last-child)::after { display: none; }

    .nbc-commit-item { padding: 16px 16px; }
    .nbc-detail-card { padding: 12px 14px 24px; border-radius: 12px; }
    .nbc-detail-desc { font-size: 14px; }
}

/* ---- Mobile rất nhỏ (≤ 400px) ---- */
@media (max-width: 400px) {
    .nbc-related-section ul.products { grid-template-columns: 1fr !important; gap: 14px !important; }
    .nbc-detail-heading { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .nbc-reveal, .nbc-reveal * { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
    .nbc-commit-item { opacity: 1 !important; transform: none !important; animation: none !important; }
    .nbc-buynow-button::before { animation: none; }
}

/* =========================================================================
   NOBLECO — Trạng thái giá: "Liên hệ" & "Pre Order"  (v8 - typography only)
   ─────────────────────────────────────────────────────────────────────────
   Không dùng box, badge, background, border-left. Chỉ thuần typography.
   Cùng kích cỡ font với giá thật để vị trí UI không bị xê dịch.
   ========================================================================= */

/* ── Trên trang sản phẩm (single product) ──────────────────────────── */
.nbc-price-status {
    margin: 2px 0 26px;
    line-height: 1;
}
.nbc-ps-main {
    display: block;
    font-size: 24px; font-weight: 700;
    letter-spacing: .01em; line-height: 1;
    margin-bottom: 8px;
    font-family: var(--nbc-serif);
}
.nbc-ps-rule {
    display: block; width: 28px; height: 1px;
    opacity: .4; margin-bottom: 8px;
    background: currentColor;
}
.nbc-ps-sub {
    display: block; font-size: 12px; font-style: italic;
    color: var(--nbc-muted); letter-spacing: .03em; font-weight: 400;
}

/* Liên hệ — vàng champagne */
.nbc-ps-contact .nbc-ps-main { color: var(--nbc-gold); }
.nbc-ps-contact .nbc-ps-rule { background: var(--nbc-gold); }

/* Pre Order — xanh NOBLECO + dot nhấp nháy */
.nbc-ps-preorder .nbc-ps-main { color: var(--nbc-green); }
.nbc-ps-preorder .nbc-ps-rule { background: var(--nbc-green); }
.nbc-ps-preorder .nbc-ps-main::before {
    content: ""; display: inline-block;
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--nbc-green-soft);
    margin-right: 9px; vertical-align: middle;
    animation: nbc-dot-v8 2.2s ease-in-out infinite;
}
@keyframes nbc-dot-v8 {
    0%, 100% { opacity: 1; transform: scale(1);   }
    50%       { opacity: .3; transform: scale(.6); }
}

/* ── Trong loop (homepage / category / related / search) ───────────── */
/* Chỉ là text inline — KHÔNG phá layout card dù ở đâu               */
.nbc-price-loop {
    display: inline-block;
    font-size: 14px; font-weight: 600; letter-spacing: .03em;
}
.nbc-pl-contact  { color: var(--nbc-gold); }
.nbc-pl-preorder { color: var(--nbc-green); }

/* ── Nút CTA (Gọi & Zalo) ──────────────────────────────────────────── */
/* Đồng nhất hoàn toàn với .nbc-buynow-button / .single_add_to_cart_button */
.nbc-cta-group {
    display: flex; gap: 12px; flex-wrap: wrap;
    margin: 0 0 26px;
}

/* Nút chính: giống Mua ngay */
a.nbc-cta-primary,
.nbc-cta-primary {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; flex: 1; min-width: 0;
    background: var(--nbc-green) !important; color: #fff !important;
    border: none !important; border-radius: 8px !important;
    padding: 15px 22px !important;
    letter-spacing: .12em; text-transform: uppercase;
    font-weight: 600 !important; font-size: 12px !important; line-height: 1 !important;
    text-decoration: none !important; cursor: pointer;
    font-family: var(--nbc-sans) !important;
    box-shadow: 0 4px 16px rgba(27,67,50,.16);
    transition: background .3s var(--nbc-ease), transform .3s var(--nbc-ease),
                box-shadow .3s var(--nbc-ease) !important;
}
a.nbc-cta-primary svg, .nbc-cta-primary svg {
    width: 15px; height: 15px; flex-shrink: 0;
}
a.nbc-cta-primary:hover, .nbc-cta-primary:hover {
    background: var(--nbc-green-deep) !important; color: #fff !important;
    transform: translateY(-1px); box-shadow: 0 10px 28px rgba(27,67,50,.28);
}

/* Nút phụ: giống Thêm vào giỏ nhưng dùng var(--nbc-line) để nhẹ hơn */
a.nbc-cta-outline,
.nbc-cta-outline {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 8px; flex: 1; min-width: 0;
    background: #fff !important; color: var(--nbc-green) !important;
    border: 1.5px solid var(--nbc-line) !important; border-radius: 8px !important;
    padding: 14px 22px !important;
    letter-spacing: .12em; text-transform: uppercase;
    font-weight: 600 !important; font-size: 12px !important; line-height: 1 !important;
    text-decoration: none !important; cursor: pointer;
    font-family: var(--nbc-sans) !important;
    transition: border-color .3s var(--nbc-ease), transform .3s var(--nbc-ease) !important;
    position: relative; overflow: hidden;
}
a.nbc-cta-outline::before, .nbc-cta-outline::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: var(--nbc-green-tint);
    transform: scaleX(0); transform-origin: left;
    transition: transform .4s var(--nbc-ease);
}
a.nbc-cta-outline svg, .nbc-cta-outline svg {
    width: 15px; height: 15px; flex-shrink: 0; position: relative; z-index: 1;
}
a.nbc-cta-outline span, .nbc-cta-outline span {
    position: relative; z-index: 1;
}
a.nbc-cta-outline:hover, .nbc-cta-outline:hover {
    border-color: var(--nbc-green) !important; color: var(--nbc-green) !important;
    transform: translateY(-1px) !important;
}
a.nbc-cta-outline:hover::before, .nbc-cta-outline:hover::before {
    transform: scaleX(1);
}

/* ── Ẩn thông báo hết hàng mặc định của WooCommerce ──────────────── */
.single-product div.product p.out-of-stock,
.single-product div.product span.out-of-stock,
.single-product div.product .woocommerce-variation-availability { display: none !important; }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .nbc-cta-group { flex-direction: column; gap: 10px; }
    a.nbc-cta-primary, .nbc-cta-primary,
    a.nbc-cta-outline, .nbc-cta-outline { flex: none; width: 100% !important; }
    .nbc-ps-main { font-size: 26px; }
}
@media (max-width: 560px) {
    .nbc-ps-main { font-size: 22px; }
    .nbc-ps-sub  { font-size: 11.5px; }
    a.nbc-cta-primary, .nbc-cta-primary,
    a.nbc-cta-outline, .nbc-cta-outline { font-size: 11.5px !important; padding: 14px 16px !important; }
}
