/**
 * TechHub Theme - Product & Device Review Engine Styles
 * Thiết kế bảng điểm đánh giá thiết bị, bảng thông số kỹ thuật (Tech Specs),
 * hộp mua hàng Affiliate minh bạch và thư viện ảnh chụp thực tế (Lightbox).
 */

/* Khung Điểm Đánh Giá Tổng Quan (Review Score Box) */
.th-review-summary-card {
    background: var(--wp--preset--color--card-bg);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: var(--wp--preset--spacing--md);
    padding: 2rem;
    margin: var(--wp--preset--spacing--xl) 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.th-review-score-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.th-review-overall-wrap {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.th-review-score-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--wp--preset--color--purple-ai), var(--wp--preset--color--blue-electric));
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

.th-review-score-num {
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
}

.th-review-score-max {
    font-size: 0.75rem;
    opacity: 0.85;
}

.th-review-verdict-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--wp--preset--color--text-main);
    margin: 0 0 0.25rem 0;
}

.th-review-verdict-desc {
    font-size: 0.9rem;
    color: var(--wp--preset--color--text-muted);
    margin: 0;
}

/* Các thanh tiêu chí thành phần (Score Bars) */
.th-review-criteria-list {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    margin: 1.75rem 0;
}

.th-review-criteria-item {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.th-review-criteria-label-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--wp--preset--color--text-main);
}

.th-review-criteria-bar-bg {
    height: 8px;
    background: var(--wp--preset--color--background-alt);
    border-radius: 9999px;
    overflow: hidden;
    position: relative;
}

.th-review-criteria-bar-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, var(--wp--preset--color--blue-electric), var(--wp--preset--color--purple-ai));
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hộp Ưu & Nhược Điểm (Pros & Cons) */
.th-review-pros-cons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--wp--preset--color--border-light);
}

.th-review-column {
    border-radius: 10px;
    padding: 1.25rem;
}

.th-review-column.pros {
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.th-review-column.cons {
    background: rgba(239, 68, 68, 0.05);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.th-review-col-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.85rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.th-review-col-title.pros {
    color: #10b981;
}

.th-review-col-title.cons {
    color: #ef4444;
}

.th-review-point-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    font-size: 0.875rem;
}

/* Bảng Thông Số Kỹ Thuật (Tech Specs Matrix) */
.th-tech-specs-table-wrap {
    background: var(--wp--preset--color--card-bg);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: var(--wp--preset--spacing--md);
    overflow: hidden;
    margin: var(--wp--preset--spacing--xl) 0;
}

.th-tech-specs-header {
    padding: 1.25rem 1.5rem;
    background: var(--wp--preset--color--background-alt);
    border-bottom: 1px solid var(--wp--preset--color--border-light);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--wp--preset--color--text-main);
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.th-tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.th-tech-specs-table tr {
    border-bottom: 1px solid var(--wp--preset--color--border-light);
}

.th-tech-specs-table tr:last-child {
    border-bottom: none;
}

.th-tech-specs-table th {
    width: 35%;
    padding: 1rem 1.5rem;
    text-align: left;
    background: rgba(0, 0, 0, 0.015);
    color: var(--wp--preset--color--text-muted);
    font-weight: 600;
}

.th-tech-specs-table td {
    padding: 1rem 1.5rem;
    color: var(--wp--preset--color--text-main);
    font-weight: 500;
}

/* Hộp Mua Hàng Affiliate Minh Bạch */
.th-affiliate-buybox {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
    border: 1.5px solid var(--wp--preset--color--blue-electric);
    border-radius: var(--wp--preset--spacing--md);
    padding: 1.75rem;
    margin: var(--wp--preset--spacing--xl) 0;
}

.th-affiliate-disclosure-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    color: var(--wp--preset--color--text-muted);
    background: var(--wp--preset--color--background-alt);
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
    border: 1px solid var(--wp--preset--color--border-light);
}

.th-affiliate-merchants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.th-merchant-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.15rem;
    background: var(--wp--preset--color--card-bg);
    border: 1px solid var(--wp--preset--color--border-light);
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
}

.th-merchant-card:hover {
    transform: translateY(-2px);
    border-color: var(--wp--preset--color--blue-electric);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.th-merchant-name {
    font-weight: 700;
    font-size: 0.95rem;
}

.th-merchant-price {
    font-weight: 700;
    color: #10b981;
    font-size: 0.95rem;
}

/* Lightbox Popup Gallery */
.th-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.th-lightbox-overlay.is-active {
    opacity: 1;
    visibility: visible;
}

.th-lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    object-fit: contain;
}

.th-lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.th-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   TECHHUB PRODUCT REVIEW & SHOWCASE CATALOG STYLES (Shop-Like Review Hub)
   ========================================================================== */

/* 1. Quick Category Navigation Tabs (Pills) */
.th-catalog-tabs {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1.75rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.th-catalog-tabs::-webkit-scrollbar {
    display: none;
}

.th-catalog-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    background: var(--wp--preset--color--surface-light, #f8fafc);
    color: var(--wp--preset--color--navy-primary, #0f172a);
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    user-select: none;
}

.th-catalog-tab-btn:hover {
    background: #ffffff;
    border-color: var(--wp--preset--color--blue-electric, #2563eb);
    color: var(--wp--preset--color--blue-electric, #2563eb);
    transform: translateY(-1px);
}

.th-catalog-tab-btn.is-active {
    background: linear-gradient(135deg, var(--wp--preset--color--blue-electric, #2563eb), var(--wp--preset--color--purple-ai, #7c3aed));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* 2. Modern Product Review Card (Shop-Like Showcase) */
.th-product-card {
    background: #ffffff;
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    position: relative;
}

.th-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--wp--preset--color--blue-electric, #2563eb);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.12);
}

/* Khung Ảnh Bìa / Media Cover của Sản Phẩm */
.th-product-cover {
    height: 170px;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

.th-product-cover.cat-ai-tool {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

.th-product-cover.cat-software {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

.th-product-cover.cat-game {
    background: linear-gradient(135deg, #dcfce7, #ccfbf1);
}

.th-product-cover.cat-device {
    background: linear-gradient(135deg, #ffedd5, #fee2e2);
}

.th-product-icon-center {
    font-size: 3.25rem;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.08));
}

.th-product-card:hover .th-product-icon-center {
    transform: scale(1.12);
}

/* Floating Badges trên Ảnh */
.th-badge-top-left {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.th-badge-top-left.ai-tool {
    color: #7c3aed;
}

.th-badge-top-left.software {
    color: #2563eb;
}

.th-badge-top-left.game {
    color: #059669;
}

.th-badge-top-left.device {
    color: #ea580c;
}

.th-badge-top-right {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.th-badge-top-right.action-affiliate {
    background: #ea580c;
}

.th-badge-top-right.action-download {
    background: #2563eb;
}

.th-badge-top-right.action-web_app {
    background: #7c3aed;
}

.th-badge-top-right.action-play_game {
    background: #059669;
}

.th-badge-bottom-left {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #facc15;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 800;
}

.th-badge-bottom-right {
    position: absolute;
    bottom: 10px;
    right: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--wp--preset--color--navy-primary, #0f172a);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Thân Card Sản Phẩm */
.th-product-body {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.th-product-developer {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--wp--preset--color--text-muted, #64748b);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.th-product-verified-icon {
    color: #2563eb;
    font-size: 0.85rem;
}

.th-product-title {
    font-size: 1.12rem;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    color: var(--wp--preset--color--navy-primary, #0f172a);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th-product-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.th-product-title a:hover {
    color: var(--wp--preset--color--blue-electric, #2563eb);
}

.th-product-desc {
    font-size: 0.86rem;
    color: var(--wp--preset--color--text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.th-product-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.th-product-platform-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.15rem 0.45rem;
    background: var(--wp--preset--color--surface-light, #f1f5f9);
    color: var(--wp--preset--color--navy-primary, #334155);
    border-radius: 4px;
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
}

/* Footer Nút Hành Động Kép (Action Bar) */
.th-product-actions {
    padding: 0.85rem 1.25rem 1.15rem 1.25rem;
    border-top: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    display: flex;
    justify-content: center;
    gap: 0.65rem;
    background: #fafafa;
}

.th-btn-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.th-btn-primary-action.action-affiliate {
    background: linear-gradient(135deg, #ea580c, #c2410c);
}

.th-btn-primary-action.action-affiliate:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    transform: translateY(-1px);
}

.th-btn-primary-action.action-download {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.th-btn-primary-action.action-download:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-1px);
}

.th-btn-primary-action.action-web_app {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.th-btn-primary-action.action-web_app:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    transform: translateY(-1px);
}

.th-btn-primary-action.action-play_game {
    background: linear-gradient(135deg, #059669, #047857);
}

.th-btn-primary-action.action-play_game:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-1px);
}

.th-btn-secondary-review {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    background: #ffffff;
    color: var(--wp--preset--color--navy-primary, #0f172a);
    border: 1px solid var(--wp--preset--color--border-light, #cbd5e1);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
}

.th-btn-secondary-review:hover {
    background: var(--wp--preset--color--surface-light, #f8fafc);
    border-color: var(--wp--preset--color--blue-electric, #2563eb);
    color: var(--wp--preset--color--blue-electric, #2563eb);
    transform: translateY(-1px);
}

/* ==========================================================================
   BALANCED 2-COLUMN SINGLE TOOL & REVIEW LAYOUT (1360px Container)
   ========================================================================== */

/* 1. Header Hàng Ngang Tinh Tế & Cân Đối (Top Product Header) */
.th-single-header-card {
    background: var(--wp--preset--color--surface-light, #ffffff);
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    border-radius: 20px;
    padding: 1.75rem 2.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
}

.th-single-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--wp--preset--color--text-muted, #64748b);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.th-single-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.th-single-breadcrumb a:hover {
    color: var(--wp--preset--color--blue-electric, #2563eb);
}

.th-single-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.th-single-header-main {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    min-width: 300px;
}

.th-single-app-icon {
    width: 76px;
    height: 76px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.75rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.th-single-app-icon.cat-ai-tool {
    background: linear-gradient(135deg, #f3e8ff, #ede9fe);
}

.th-single-app-icon.cat-software {
    background: linear-gradient(135deg, #e0f2fe, #dbeafe);
}

.th-single-app-icon.cat-game {
    background: linear-gradient(135deg, #dcfce7, #ccfbf1);
}

.th-single-app-icon.cat-device {
    background: linear-gradient(135deg, #ffedd5, #fee2e2);
}

.th-single-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.th-single-header-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.th-single-header-title {
    font-size: clamp(1.45rem, 2.5vw, 1.95rem);
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
    color: var(--wp--preset--color--navy-primary, #0f172a);
}

.th-single-header-author {
    font-size: 0.88rem;
    color: var(--wp--preset--color--text-muted, #64748b);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.th-single-header-score-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 14px;
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.th-single-score-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}

/* 2. Bố Cục 2 Cột Cân Đối (Main Column 68% + Sticky Sidebar 32%) */
.th-single-tool-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 960px) {
    .th-single-tool-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.th-single-tool-main-col {
    min-width: 0;
}

/* Khung Tóm Tắt Đánh Giá Nhanh (Lửng Code Quick Verdict) */
.th-single-verdict-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-left: 4px solid var(--wp--preset--color--blue-electric, #2563eb);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.th-single-verdict-text {
    font-size: 0.98rem;
    line-height: 1.6;
    color: var(--wp--preset--color--navy-primary, #0f172a);
    margin: 0;
}

/* 3. Sticky Buying & Action Sidebar */
.th-single-tool-sidebar-col {
    position: sticky;
    top: 90px;
    z-index: 20;
}

.th-sticky-action-card {
    background: var(--wp--preset--color--surface-light, #ffffff);
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    border-radius: 18px;
    padding: 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.th-sticky-badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid #bbf7d0;
    align-self: flex-start;
}

.th-sticky-price-box {
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
}

.th-sticky-price-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--wp--preset--color--text-muted, #64748b);
}

.th-sticky-price-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--wp--preset--color--navy-primary, #0f172a);
    margin-top: 0.2rem;
}

.th-sticky-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.95rem 1.5rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 800;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-sizing: border-box;
}

.th-sticky-cta-btn.action-affiliate {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.35);
}

.th-sticky-cta-btn.action-affiliate:hover {
    background: linear-gradient(135deg, #c2410c, #9a3412);
    transform: translateY(-2px);
}

.th-sticky-cta-btn.action-download {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.th-sticky-cta-btn.action-download:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
}

.th-sticky-cta-btn.action-web_app {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
}

.th-sticky-cta-btn.action-web_app:hover {
    background: linear-gradient(135deg, #6d28d9, #5b21b6);
    transform: translateY(-2px);
}

.th-sticky-cta-btn.action-play_game {
    background: linear-gradient(135deg, #059669, #047857);
}

.th-sticky-cta-btn.action-play_game:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
}

.th-sticky-secondary-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--wp--preset--color--blue-electric, #2563eb);
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.15s;
}

.th-sticky-secondary-link:hover {
    background: rgba(37, 99, 235, 0.06);
}

/* Specs Snapshot Table trong Sidebar */
.th-sticky-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.85rem;
    border-top: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    padding-top: 1rem;
}

.th-sticky-spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.th-sticky-spec-key {
    color: var(--wp--preset--color--text-muted, #64748b);
    font-weight: 500;
}

.th-sticky-spec-val {
    color: var(--wp--preset--color--navy-primary, #0f172a);
    font-weight: 700;
    text-align: right;
}

.th-sticky-disclaimer {
    font-size: 0.76rem;
    color: var(--wp--preset--color--text-muted, #64748b);
    line-height: 1.45;
    margin: 0;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--wp--preset--color--border-light, #e2e8f0);
}

/* 4. Responsive Iframe Embeds trong bài viết & ứng dụng trực tuyến */
.th-article-body iframe,
iframe.th-embed-responsive {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 520px;
    border-radius: 12px;
    border: 1px solid var(--wp--preset--color--border-light, #e2e8f0);
    display: block;
    margin: 1.5rem 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}