.ababil-tiered-membership-panels {
    --ink: #0f1713;
    --ink-soft: #4a5750;
    --ink-faint: #8a968f;
    --bg-page: #f8faf9;
    --surface: #ffffff;
    --surface-hover: #f3f6f4;

    /* Custom Brand Colors (#FFCC00) */
    --brand: #ffcc00;
    --brand-deep: #a07800;
    --brand-ink: #302400;
    --brand-soft: #fff9db;
    --brand-border: #f0c300;

    --border: #e2e8e4;
    --border-soft: #edf2ee;
    --radius: 16px;
    --serif: "Fraunces", serif;
    --sans: "Inter", sans-serif;
    --mono: "IBM Plex Mono", monospace;
}

.suite {
    max-width: 1240px;
    margin: 0 auto;
}

/* ---------------- Header ---------------- */
.suite-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--brand-deep);
    margin-bottom: 14px;
}
.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 3px var(--brand-soft);
}

.suite-header h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(28px, 3.6vw, 42px);
    letter-spacing: -0.01em;
    color: var(--ink);
    max-width: 560px;
}

.suite-header p {
    color: var(--ink-soft);
    font-size: 13.5px;
    max-width: 340px;
    line-height: 1.65;
}
.suite-header p span {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    color: var(--ink-faint);
    margin-top: 8px;
    text-transform: uppercase;
}

/* ---------------- Tab Navigation ---------------- */
.matrix-nav {
    margin-bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.matrix-selector {
    display: flex;
}

.matrix-tab {
    appearance: none;
    background: transparent;
    border: none;
    border-right: 1px solid var(--border);
    outline: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--sans);
    flex: 1 1 0;
    min-width: 0;
    padding: 20px 22px 18px;
    position: relative;
    transition: background 0.2s ease;
}

.matrix-tab:last-child {
    border-right: none;
}
.matrix-tab:hover:not(.active) {
    background: var(--surface-hover);
}

.matrix-tab::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.matrix-tab.active::before {
    transform: scaleX(1);
}

.tab-code {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    font-weight: 600;
    color: var(--ink-faint);
    margin-bottom: 8px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.matrix-tab.active .tab-code {
    color: var(--brand-deep);
}

.tab-name {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 18px;
    color: var(--ink-faint);
    margin-bottom: 4px;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.matrix-tab.active .tab-name,
.matrix-tab:hover .tab-name {
    color: var(--ink);
}

.tab-price {
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-faint);
    white-space: nowrap;
    transition: color 0.2s ease;
}
.matrix-tab.active .tab-price {
    color: var(--ink-soft);
    font-weight: 600;
}

/* ---------------- Document Panel ---------------- */
.tier-panel {
    display: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 12px 36px rgba(15, 23, 19, 0.04);
    position: relative;
    overflow: hidden;
}

.tier-panel.active {
    display: grid;
    grid-template-columns: 340px 1fr;
    animation: rise 0.32s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tier-hero {
    position: relative;
    padding: 44px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fafcfb;
}
.tier-hero::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1px;
    background-image:
        radial-gradient(circle 4px, #fafcfb 60%, transparent 62%),
        linear-gradient(var(--border), var(--border));
    background-size:
        1px 22px,
        1px 100%;
    background-repeat: repeat-y;
    background-position: center;
}

.seal-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 26px;
    gap: 12px;
}

.tier-title-wrap h2 {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 600;
    font-size: 26px;
    color: var(--ink);
    letter-spacing: 0.01em;
}
.tier-tag {
    display: inline-block;
    margin-top: 8px;
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-ink);
    background: var(--brand-soft);
    border: 1px solid var(--brand-border);
    padding: 4px 9px;
    border-radius: 4px;
    white-space: nowrap;
}

.seal {
    flex-shrink: 0;
}

/* Pricing block with large prominent Baht symbol */
.price-block {
    margin-bottom: 22px;
    display: flex;
    flex-direction: column;
}
.price-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}
.price-block .currency {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    color: var(--brand-deep);
    line-height: 1;
}
.price-block .val {
    font-family: var(--serif);
    font-weight: 600;
    font-size: 48px;
    letter-spacing: -0.02em;
    color: var(--ink);
    line-height: 1;
}
.price-block .cadence {
    display: block;
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-top: 8px;
}

.validity-block {
    margin-bottom: 34px;
}
.validity-label {
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 8px;
}
.validity-track {
    display: flex;
    gap: 3px;
    margin-bottom: 6px;
}
.validity-track span {
    flex: 1;
    height: 6px;
    background: var(--border-soft);
    border-radius: 2px;
}
.validity-track span.filled {
    background: var(--brand);
}
.validity-years {
    font-family: var(--serif);
    font-style: italic;
    font-size: 13.5px;
    color: var(--ink-soft);
}

.tier-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 52px;
    padding: 0 20px;
    background: var(--ink);
    color: #ffffff;
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 8px;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        color 0.2s ease;
}
.tier-cta:hover {
    background: var(--brand);
    color: var(--brand-ink);
    transform: translateY(-1px);
}
.tier-cta .arrow {
    font-family: var(--sans);
    font-size: 15px;
}

/* Right: Manifest */
.tier-specs {
    padding: 44px 44px 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.specs-header {
    font-family: var(--mono);
    font-size: 10.5px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-faint);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.manifest {
    display: flex;
    flex-direction: column;
}
.manifest-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.manifest-row:last-child {
    border-bottom: none;
}

.manifest-mark {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid var(--brand-border);
    background: var(--brand-soft);
    color: var(--brand-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    margin-top: 2px;
}

.manifest-row.highlight {
    background: var(--brand-soft);
    margin: 6px -20px;
    padding: 14px 20px;
    border-radius: 8px;
    border-bottom: none;
    color: var(--ink);
    font-weight: 500;
}
.manifest-row.highlight .manifest-mark {
    background: var(--surface);
    border-color: var(--brand);
}

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
    .tier-panel.active {
        grid-template-columns: 1fr;
    }
    .tier-hero {
        border-bottom: 1px solid var(--border);
        padding: 36px 32px;
    }
    .tier-hero::after {
        display: none;
    }
    .tier-specs {
        padding: 36px 32px;
    }
}

@media (max-width: 900px) {
    .matrix-selector {
        overflow-x: auto;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .matrix-selector::-webkit-scrollbar {
        display: none;
    }
    .matrix-tab {
        flex: 0 0 168px;
        scroll-snap-align: start;
    }
}

@media (max-width: 640px) {
    .suite-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .price-block .val {
        font-size: 38px;
    }
    .price-block .currency {
        font-size: 26px;
    }
    .matrix-tab {
        flex: 0 0 140px;
        padding: 14px 16px 13px;
    }
    .tab-name {
        font-size: 16px;
    }
    /* .seal-row { flex-wrap: wrap; } */
    .tier-cta {
        height: 56px;
    }
}
