.pt-wrap {
    --pt-accent: #e05c2a;
    --pt-imgbg: #d6eee8;
    --pt-cols: 4;
    font-family: inherit;
    border-radius: 16px;
    padding: 32px 32px 0;
    width: 100%;
    box-sizing: border-box;
}

.pt-header {
    text-align: center;
    margin-bottom: 24px;
}

.pt-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--pt-accent);
    margin: 0 0 6px;
}

.pt-heading {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    font-style: italic;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.2;
}

/* ── TAB BAR ── */
.pt-tabbar {
    display: grid;
    grid-template-columns: repeat(var(--pt-cols), 1fr);
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.1);
    border-bottom: none;
}

.pt-tab {
    position: relative;
    background: transparent;
    border: none;
    border-right: 1px solid rgba(0,0,0,.08);
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    cursor: pointer;
    text-align: left;
    overflow: hidden;
    transition: color .2s, background .2s;
    outline: none;
}

.pt-tab:last-child {
    border-right: none;
}

.pt-tab.pt-active {
    background: #ffffff;
    color: var(--pt-accent);
    border-radius: 8px 8px 0 0;
}

.pt-tab:hover:not(.pt-active) {
    color: #777;
}

.pt-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--pt-accent);
    border-radius: 0;
    display: block;
}

.pt-tab.pt-running .pt-bar {
    animation: ptProgress var(--pt-dur, 4000ms) linear forwards;
}

@keyframes ptProgress {
    from { width: 0; }
    to   { width: 100%; }
}

/* ── PANELS ── */
.pt-panels {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.1);
    border-top: none;
}

.pt-panel {
    display: none;
}

.pt-panel.pt-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 260px;
    animation: ptFadeIn .35s ease;
}

@keyframes ptFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Image side */
.pt-img-side {
    background: var(--pt-imgbg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
    overflow: hidden;
}

.pt-img-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pt-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 260px;
}

/* Text side */
.pt-text-side {
    background: #ffffff;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pt-panel-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0 0 14px;
    line-height: 1.25;
}

.pt-panel-content {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.8;
}

.pt-panel-content p { margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 680px) {
    .pt-wrap { padding: 24px 16px 0; }

    .pt-tabbar {
        grid-template-columns: repeat(2, 1fr);
    }

    .pt-panel.pt-active {
        grid-template-columns: 1fr;
    }

    .pt-img-side { min-height: 200px; }

    .pt-text-side { padding: 24px 20px; }

    .pt-heading { font-size: 1.3rem; }
}
