/* =====================================================
   TAC Know Your Product — Frontend Styles
   Developed by Webiz Square | v1.0.0
   ===================================================== */

:root {
    --grove-green: #162721;
    --avo-green: #9FB840;
    --soft-cream: #FDFBD4;
}

/* ── Base wrap ── */
.tac-kyp-wrap {
    font-family: "Futura", Sans-serif !important;
}

.tac-kyp-wrap * {
    box-sizing: border-box;
}

.tac-kyp-wrap h1,
.tac-kyp-wrap h2,
.tac-kyp-wrap h3 {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
}

/* ── Hero ── */
.tac-hero-section {
    background: #F5F0E8;
    position: relative;
    overflow: hidden;
    padding: 64px 20px 80px;
    text-align: center;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.tac-hero-blob {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(159, 184, 64, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

.tac-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.tac-eyebrow {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--avo-green);
    margin-bottom: 12px;
    font-family: "Futura", Sans-serif !important;
}

.tac-hero-heading {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: clamp(2.5rem, 6vw, 3.75rem);
    color: var(--grove-green);
    margin: 0 0 12px;
    letter-spacing: -0.02em;
}

.tac-hero-sub {
    font-size: 14px;
    color: #6B7280;
    max-width: 440px;
    margin: 0 auto 36px;
    line-height: 1.7;
    font-family: "Futura", Sans-serif !important;
}

/* ── Search Card ── */
.tac-search-card {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 28px;
    max-width: 560px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.tac-search-heading {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: 1.3rem;
    color: var(--grove-green);
    margin: 0 0 6px;
}

.tac-search-sub {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0 0 20px;
    font-family: "Futura", Sans-serif !important;
}

.tac-search-row {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.tac-batch-input {
    flex: 1;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    padding: 12px 16px !important;
    font-size: 13px;
    font-family: monospace;
    letter-spacing: 0.04em;
    color: var(--grove-green);
    background: #F5F0E8;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tac-batch-input:focus {
    border-color: var(--grove-green);
    box-shadow: 0 0 0 3px rgba(22, 39, 33, 0.08);
}

.tac-batch-input::placeholder {
    color: #9CA3AF;
    font-family: "Futura", Sans-serif;
    letter-spacing: 0;
}

.tac-search-btn {
    background: var(--grove-green);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 12px 22px !important;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    font-family: "Futura", Sans-serif !important;
}

.tac-search-btn:hover {
    background: var(--avo-green);
    color: var(--grove-green);
}

.tac-arrow {
    font-size: 13px;
}

/* ── Error msg ── */
.tac-err-msg {
    display: none;
    align-items: center;
    gap: 8px;
    background: #FEF2F2;
    color: #991B1B;
    font-size: 13px;
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #FECACA;
    font-family: "Futura", Sans-serif !important;
}

.tac-err-msg.tac-on {
    display: flex;
}

/* ── Spinner ── */
.tac-spinner-wrap {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 0;
    font-size: 13px;
    color: var(--grove-green);
    background: #fff;
    font-family: "Futura", Sans-serif !important;
}

.tac-spinner-wrap.tac-on {
    display: flex;
}

.tac-spinner {
    width: 22px;
    height: 22px;
    border: 2px solid #D1FAE5;
    border-top-color: var(--grove-green);
    border-radius: 50%;
    animation: tac-spin 0.7s linear infinite;
}

@keyframes tac-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Results area ── */
.tac-results-area {
    display: none;
    background: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.tac-results-area.tac-visible {
    display: block;
    animation: tac-slideUp 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes tac-slideUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tac-results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 32px 90px;
}

.tac-results-card {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.05);
}

/* ── Section label ── */
.tac-sec-lbl {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #6B7280;
    display: block;
    margin-bottom: 6px;
    font-family: "Futura", Sans-serif !important;
}

.tac-sec-lbl-green {
    color: #166534 !important;
}

.tac-sec-lbl-dim {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* ── S1 + S2 Row ── */
.tac-s1-row {
    padding: 32px 28px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tac-pid-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: stretch;
}

.tac-pid-imgbox {
    background: #F5F0E8;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tac-pid-imgbox img {
    width: 100%;
    height: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: 6px;
}

.tac-pid-vbadge {
    display: inline-flex;
    align-items: center;
    font-size: 9px;
    font-weight: 700;
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    font-family: "Futura", Sans-serif !important;
    text-align: center;
}

.tac-pid-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tac-pid-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--avo-green);
    font-family: "Futura", Sans-serif !important;
}

.tac-pid-name {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--grove-green);
    line-height: 1.2;
}

.tac-pid-dates {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    border-top: 1px solid #F3F4F6;
    padding-top: 8px;
    align-items: baseline;
}

.tac-pid-date-item {
    display: flex;
    flex-direction: column;
    margin-right: 16px;
}

.tac-pid-date-item span {
    font-size: 14px;
    color: #9CA3AF;
    font-family: "Futura", Sans-serif !important;
}

.tac-pid-date-item strong {
    font-size: 18px;
    color: #1F2937;
    font-weight: 600;
    font-family: "Futura", Sans-serif !important;
}

.tac-batch-status {
    padding: 14px 18px;
    border-radius: 8px;
    border: 1.5px solid;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
}

.tac-bs-pass {
    background: #F0FDF4;
    border-color: #86EFAC;
}

.tac-bs-warn {
    background: #FFFBEB;
    border-color: #FCD34D;
}

.tac-bs-icon {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 1px;
}

.tac-bs-label {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grove-green);
    margin-bottom: 3px;
    font-family: "Futura", Sans-serif !important;
}

.tac-bs-text {
    font-size: 24px;
    line-height: 1.45;
    color: #1F2937;
    font-family: "Futura", Sans-serif !important;
}

.tac-bs-sub {
    font-size: 16px;
    color: #6B7280;
    margin-top: 2px;
    font-family: "Futura", Sans-serif !important;
}

/* ── S2 ── */
.tac-s2-row {
    padding: 32px 28px;
    border-bottom: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tac-s2-heading {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--grove-green);
}

.tac-s2-intro {
    font-size: 12px;
    color: #6B7280;
    font-family: "Futura", Sans-serif !important;
}

.tac-sum-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.tac-sum-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    line-height: 1.45;
    font-family: "Futura", Sans-serif !important;
}

.tac-sum-list li::before {
    content: '✓';
    color: var(--avo-green);
    font-weight: 700;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── S3 ── */
.tac-s3-wrap {
    padding: 28px;
    border-bottom: 1px solid #E5E7EB;
}

.tac-s3-heading {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: 1.2rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 16px;
}

.tac-t-block {
    border: 1px solid #D1D5DB;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.tac-t-block:last-child {
    margin-bottom: 0;
}

.tac-t-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--grove-green);
    color: #fff;
    padding: 10px 16px;
}

.tac-t-head-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.tac-t-head-icon {
    font-size: 16px;
}

.tac-t-head-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: "Futura", Sans-serif !important;
}

.tac-t-head-sub {
    font-size: 10px;
    opacity: 0.6;
    font-weight: 400;
    font-family: "Futura", Sans-serif !important;
}

.tac-t-verdict {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(159, 184, 64, 0.25);
    border: 1px solid rgba(159, 184, 64, 0.5);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-family: "Futura", Sans-serif !important;
}

/* Safety cols */
.tac-sf-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.tac-sf-col {
    padding: 14px 16px;
    border-right: 1px solid #E5E7EB;
    font-family: "Futura", Sans-serif !important;
}

.tac-sf-col:last-child {
    border-right: none;
}

.tac-sf-col-title {
    font-size: 11px;
    font-weight: 700;
    color: #111827;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 7px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: "Futura", Sans-serif !important;
}

.tac-r-badge {
    font-size: 9px;
    font-weight: 700;
    background: #D1FAE5;
    color: #065F46;
    padding: 2px 6px;
    border-radius: 10px;
}

.tac-m-row {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    padding: 3px 0;
    font-family: "Futura", Sans-serif !important;
}

.tac-m-row strong {
    color: #111827;
    font-weight: 600;
    font-family: monospace;
    font-size: 12px;
}

.tac-blq-note {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.55;
    font-family: "Futura", Sans-serif !important;
}

.tac-blq-note em {
    font-style: normal;
    text-decoration: underline;
    color: #111827;
}

/* Quality table */
.tac-q-table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.tac-q-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 400px;
}

.tac-q-table thead tr {
    background: #F9FAFB;
}

.tac-q-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B7280;
    padding: 10px 16px;
    border-bottom: 1px solid #E5E7EB;
    font-family: "Futura", Sans-serif !important;
}

.tac-q-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    vertical-align: middle;
    font-family: "Futura", Sans-serif !important;
    line-height: 1.4;
}

.tac-q-table tr:last-child td {
    border-bottom: none;
}

/*.tac-q-table td:first-child {
    font-weight: 700;
    color: #111827;
}*/

.tac-q-table td:nth-child(2) {
    font-family: monospace;
    color: var(--grove-green);
    font-size: 13px;
    font-weight: 500;
}

.tac-s-tag {
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    font-family: "Futura", Sans-serif !important;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
}

.tac-s-tag.good {
    background: #D1FAE5;
    color: #065F46;
}

.tac-s-tag.ok {
    background: #FEF3C7;
    color: #92400E;
}

/* Purity table */
.tac-p-inner {
    display: grid;
    grid-template-columns: 1fr 220px;
}

.tac-p-left {
    border-right: 1px solid #E5E7EB;
}

.tac-p-table-wrap {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.tac-p-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 320px;
}

.tac-p-table thead tr {
    background: #F9FAFB;
}

.tac-p-table th {
    text-align: left;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6B7280;
    padding: 10px 16px;
    border-bottom: 1px solid #E5E7EB;
    font-family: "Futura", Sans-serif !important;
}

.tac-p-table td {
    padding: 10px 16px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 13px;
    vertical-align: middle;
    font-family: "Futura", Sans-serif !important;
}

.tac-p-table tr:last-child td {
    border-bottom: none;
}

.tac-p-table td:first-child {
    font-size: 14px;
    font-weight: 600;
}

.tac-p-table td:nth-child(2) {
    font-family: monospace;
    color: var(--grove-green);
    font-weight: 600;
    font-size: 13px;
}

.tac-chk {
    color: var(--avo-green);
    font-weight: 700;
    font-size: 14px;
}

/* Composition bars */
.tac-comp-panel {
    padding: 16px;
    background: #FAFAFA;
}

.tac-comp-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--grove-green);
    margin-bottom: 12px;
    font-family: "Futura", Sans-serif !important;
}

.tac-bar-row {
    margin-bottom: 10px;
}

.tac-bar-row:last-child {
    margin-bottom: 0;
}

.tac-bar-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    font-family: "Futura", Sans-serif !important;
}

.tac-bar-labels span {
    color: #6B7280;
}

.tac-bar-labels strong {
    color: #111827;
    font-weight: 600;
}

.tac-bar-track {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.tac-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.tac-bf-mufa {
    background: var(--avo-green);
}

.tac-bf-pufa {
    background: #B8860B;
}

.tac-bf-sfa {
    background: #9CA3AF;
}

.tac-bf-trans {
    background: #D1D5DB;
}

/* ── S4 + S5 + S6 Row ── */
.tac-s456-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-top: 1px solid #E5E7EB;
}

.tac-s4-col {
    padding: 24px;
    border-right: 1px solid #E5E7EB;
    background: #F0FDF4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tac-s4-heading {
    font-family: "Fot Tsukuardgothic Std", Sans-serif !important;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--grove-green);
}

.tac-s4-desc {
    font-size: 13px;
    color: #166534;
    line-height: 1.55;
    font-family: "Futura", Sans-serif !important;
}

.tac-btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: var(--grove-green);
    background: transparent;
    border: 1.5px solid var(--grove-green);
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    font-family: "Futura", Sans-serif !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s;
}

.tac-btn-outline:hover {
    background: rgba(22, 39, 33, 0.06);
}

.tac-btn-solid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--grove-green);
    border: 1.5px solid var(--grove-green);
    border-radius: 4px;
    padding: 10px 14px;
    cursor: pointer;
    text-decoration: none;
    width: 100%;
    font-family: "Futura", Sans-serif !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.tac-btn-solid:hover {
    background: var(--avo-green);
    border-color: var(--avo-green);
    color: var(--grove-green);
}

.tac-s5-col {
    padding: 24px;
    border-right: 1px solid #E5E7EB;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tac-s5-eye {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--avo-green);
    font-family: "Futura", Sans-serif !important;
}

.tac-s5-heading {
    font-size: 13px;
    font-weight: 700;
    color: var(--grove-green);
    font-family: "Futura", Sans-serif !important;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tac-s5-body {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.65;
    font-family: "Futura", Sans-serif !important;
}

.tac-s6-col {
    padding: 24px;
    background: #F0FDF4;
    color: var(--grove-green);
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
}

.tac-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.tac-trust-icon {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

.tac-trust-name {
    font-size: 12px;
    font-weight: 700;
    display: block;
    line-height: 1.35;
    font-family: "Futura", Sans-serif !important;
    letter-spacing: 0.05em;
    color: var(--grove-green);
}

.tac-trust-sub {
    font-size: 11px;
    color: #166534;
    opacity: 0.8;
    margin-top: 2px;
    display: block;
    font-family: "Futura", Sans-serif !important;
}

.tac-trust-divider {
    border: none;
    border-top: 1px solid rgba(22, 39, 33, 0.1);
    margin: 2px 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .tac-results-container {
        padding: 60px 20px 60px;
    }

    .tac-s1-row {
        border-bottom: 1px solid #E5E7EB;
    }

    .tac-s456-row {
        grid-template-columns: 1fr;
    }

    .tac-s4-col,
    .tac-s5-col {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .tac-p-inner {
        grid-template-columns: 1fr;
    }

    .tac-p-left {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }
}

@media (max-width: 768px) {
    .tac-results-container {
        padding: 40px 16px 40px;
    }

    .tac-pid-grid {
        grid-template-columns: 220px 1fr;
    }

    .tac-sf-cols {
        grid-template-columns: 1fr;
    }

    .tac-sf-col {
        border-right: none;
        border-bottom: 1px solid #E5E7EB;
    }

    .tac-sf-col:last-child {
        border-bottom: none;
    }

    /* Let tables shrink and wrap instead of forcing wide scroll if possible */
    .tac-q-table {
        min-width: 100%;
    }

    .tac-p-table {
        min-width: 100%;
    }

    .tac-s-tag {
        white-space: normal;
        padding: 4px 6px;
        font-size: 14px;
    }

    .tac-s3-wrap {
        padding: 20px 0;
    }

    .tac-batch-input {
        padding: 16px 18px !important;
        font-size: 14px;
    }

    .tac-search-btn {
        padding: 16px 24px !important;
        font-size: 12px;
    }

    .tac-s1-row,
    .tac-s2-row,
    .tac-s4-col,
    .tac-s5-col,
    .tac-s6-col {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .tac-results-container {
        padding: 40px 12px 40px;
    }

    .tac-search-row {
        flex-direction: column;
    }

    .tac-search-btn {
        width: 100%;
        justify-content: center;
    }

    .tac-pid-grid {
        grid-template-columns: 1fr;
    }

    .tac-pid-imgbox {
        min-height: auto;
        flex-direction: row;
        gap: 10px;
        padding: 10px 14px;
    }

    .tac-pid-imgbox img {
        width: 100px;
    }

    .tac-s3-heading {
        font-size: 1rem;
    }

    .tac-t-head {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 10px 12px;
    }

    .tac-t-verdict {
        align-self: auto;
    }

    .tac-comp-panel {
        padding: 12px 10px;
    }

    .tac-s4-col,
    .tac-s5-col,
    .tac-s6-col {
        padding: 18px 14px;
    }

    /* Enhance table readability on very small screens */
    .tac-q-table th,
    .tac-q-table td {
        padding: 8px;
        font-size: 13px;
    }

    .tac-p-table th,
    .tac-p-table td {
        padding: 8px;
        font-size: 13px;
    }

    .tac-q-table td:nth-child(2) {
        font-size: 12px;
    }

    /* Result value */
}

/* ══════════════════════════════════════════
   NEW TYPOGRAPHY OVERRIDES
══════════════════════════════════════════ */
/* Desktop */
.tac-kyp-wrap .tac-hero-heading {
    font-size: 60px !important;
    line-height: 72px !important;
}

.tac-kyp-wrap .tac-hero-sub,
.tac-kyp-wrap .tac-search-sub,
.tac-kyp-wrap .tac-t-head-title {
    font-size: 22px !important;
    line-height: 32px !important;
    font-family: "Futura", Sans-serif !important;
}

.tac-kyp-wrap .tac-bs-text,
.tac-kyp-wrap .tac-s2-intro,
.tac-kyp-wrap .tac-sum-list li,
.tac-kyp-wrap .tac-s4-heading,
.tac-kyp-wrap .tac-s4-desc,
.tac-kyp-wrap .tac-s5-body,
.tac-kyp-wrap .tac-t-head-sub,
.tac-kyp-wrap p,
.tac-kyp-wrap a,
.tac-kyp-wrap p span,
.tac-kyp-wrap li span,
.tac-kyp-wrap .tac-s5-body span,
.tac-kyp-wrap .tac-sf-col-title,
.tac-kyp-wrap .tac-q-table th,
.tac-kyp-wrap .tac-p-table th,
.tac-kyp-wrap .tac-comp-title,
.tac-kyp-wrap .tac-trust-name,
.tac-kyp-wrap .tac-trust-sub,
.tac-kyp-wrap .tac-trust-icon {
    font-size: 20px !important;
    line-height: 34px !important;
    font-family: "Futura", Sans-serif !important;
}

/* Batch code value — 1.5× scale */
.tac-kyp-wrap .tac-pid-date-item strong {
    font-size: 16px !important;
    line-height: 24px !important;
}

.tac-kyp-wrap .tac-m-row,
.tac-kyp-wrap .tac-m-row strong,
.tac-kyp-wrap .tac-blq-note,
.tac-kyp-wrap .tac-q-table td,
.tac-kyp-wrap .tac-p-table td,
.tac-kyp-wrap .tac-bar-labels,
.tac-kyp-wrap .tac-bar-labels strong {
    font-size: 16px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    font-family: "Futura", Sans-serif !important;
}


/* Tablet */
@media (max-width: 1024px) {

    .tac-kyp-wrap .tac-hero-heading,
    .tac-kyp-wrap .tac-search-heading,
    .tac-kyp-wrap h1,
    .tac-kyp-wrap h2 {
        font-size: 42px !important;
        line-height: 52px !important;
    }

    .tac-kyp-wrap .tac-hero-sub,
    .tac-kyp-wrap .tac-search-sub,
    .tac-kyp-wrap .tac-t-head-title {
        font-size: 20px !important;
        line-height: 30px !important;
    }

    .tac-kyp-wrap .tac-bs-text,
    .tac-kyp-wrap .tac-s2-intro,
    .tac-kyp-wrap .tac-sum-list li,
    .tac-kyp-wrap .tac-s4-heading,
    .tac-kyp-wrap .tac-s4-desc,
    .tac-kyp-wrap .tac-s5-body,
    .tac-kyp-wrap .tac-t-head-sub,
    .tac-kyp-wrap p,
    .tac-kyp-wrap a,
    .tac-kyp-wrap p span,
    .tac-kyp-wrap li span,
    .tac-kyp-wrap .tac-s5-body span,
    .tac-kyp-wrap .tac-sf-col-title,
    .tac-kyp-wrap .tac-q-table th,
    .tac-kyp-wrap .tac-p-table th,
    .tac-kyp-wrap .tac-comp-title,
    .tac-kyp-wrap .tac-trust-name,
    .tac-kyp-wrap .tac-trust-sub,
    .tac-kyp-wrap .tac-trust-icon {
        font-size: 18px !important;
        line-height: 28px !important;
    }

    /* Batch code value — 1.5× scale */
    .tac-kyp-wrap .tac-pid-date-item strong {
        font-size: 15px !important;
        line-height: 24px !important;
    }

    .tac-kyp-wrap .tac-m-row,
    .tac-kyp-wrap .tac-m-row strong,
    .tac-kyp-wrap .tac-blq-note,
    .tac-kyp-wrap .tac-q-table td,
    .tac-kyp-wrap .tac-p-table td,
    .tac-kyp-wrap .tac-bar-labels,
    .tac-kyp-wrap .tac-bar-labels strong {
        font-size: 15px !important;
        line-height: 22px !important;
        font-weight: 400 !important;
        font-family: "Futura", Sans-serif !important;
    }
}

/* Mobile */
@media (max-width: 767px) {

    .tac-kyp-wrap .tac-hero-heading,
    .tac-kyp-wrap .tac-search-heading,
    .tac-kyp-wrap h1,
    .tac-kyp-wrap h2 {
        font-size: 32px !important;
        line-height: 42px !important;
    }

    .tac-kyp-wrap .tac-hero-sub,
    .tac-kyp-wrap .tac-search-sub,
    .tac-kyp-wrap .tac-t-head-title {
        font-size: 18px !important;
        line-height: 26px !important;
    }

    .tac-kyp-wrap .tac-bs-text,
    .tac-kyp-wrap .tac-s2-intro,
    .tac-kyp-wrap .tac-sum-list li,
    .tac-kyp-wrap .tac-s4-heading,
    .tac-kyp-wrap .tac-s4-desc,
    .tac-kyp-wrap .tac-s5-body,
    .tac-kyp-wrap .tac-t-head-sub,
    .tac-kyp-wrap p,
    .tac-kyp-wrap a,
    .tac-kyp-wrap p span,
    .tac-kyp-wrap li span,
    .tac-kyp-wrap .tac-s5-body span,
    .tac-kyp-wrap .tac-trust-name,
    .tac-kyp-wrap .tac-trust-sub,
    .tac-kyp-wrap .tac-trust-icon {
        font-size: 16px !important;
        line-height: 24px !important;
    }

    /* Data Table Equivalence - Mobile (reduced to prevent overflow) */
    .tac-kyp-wrap .tac-sf-col-title,
    .tac-kyp-wrap .tac-q-table th,
    .tac-kyp-wrap .tac-p-table th,
    .tac-kyp-wrap .tac-comp-title {
        font-size: 11px !important;
        line-height: 16px !important;
    }

    .tac-kyp-wrap .tac-m-row,
    .tac-kyp-wrap .tac-m-row strong,
    .tac-kyp-wrap .tac-blq-note,
    .tac-kyp-wrap .tac-q-table td,
    .tac-kyp-wrap .tac-p-table td,
    .tac-kyp-wrap .tac-bar-labels,
    .tac-kyp-wrap .tac-bar-labels strong {
        font-size: 12px !important;
        line-height: 18px !important;
        font-weight: 400 !important;
        font-family: "Futura", Sans-serif !important;
    }

    /* Reduce table padding heavily on mobile so 4+ columns can fit */
    .tac-kyp-wrap .tac-q-table th,
    .tac-kyp-wrap .tac-p-table th {
        padding: 8px 4px !important;
    }

    .tac-kyp-wrap .tac-q-table td,
    .tac-kyp-wrap .tac-p-table td {
        padding: 8px 4px !important;
    }
}