:root {
    --pta-ink: #111111;
    --pta-muted: #777777;
    --pta-line: #dddddd;
    --pta-soft: #f4f3f5;
    --pta-accent: #6b4a78;
    --pta-max: 1400px;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
    color: var(--pta-ink);
    background: #ffffff;
}

a {
    color: inherit;
    text-decoration: none;
}

.pta-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--pta-line);
}

.pta-header__inner {
    width: min(var(--pta-max), 90vw);
    height: 80px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pta-logo img {
    width: 105px;
    display: block;
}

.pta-nav {
    display: flex;
    align-items: center;
    gap: 59px;
    font-size: 12px;
    text-transform: uppercase;
    margin-left: auto;
    margin-right: auto;
}

.pta-nav a {
    white-space: nowrap;
    line-height: 80px;
}

.pta-nav a[aria-current="page"] {
    color: var(--pta-accent);
    font-weight: 400;
}

.pta-header-tools {
    display: flex;
    align-items: center;
    gap: 27px;
    width: 63px;
    justify-content: flex-end;
}

.pta-header-tools a,
.pta-header-tools button {
    width: 18px;
    height: 18px;
    padding: 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pta-header-tools img {
    width: 18px;
    height: 18px;
    display: block;
    filter: invert(1);
}

@media screen and (max-width: 1919px) {
    .pta-header__inner {
        height: 4.1666666667vw;
    }

    .pta-logo img {
        width: 5.46875vw;
    }

    .pta-nav {
        gap: 3.0729166667vw;
        font-size: .625vw;
    }

    .pta-nav a {
        line-height: 4.1666666667vw;
    }

    .pta-header-tools {
        gap: 1.40625vw;
        width: 3.28125vw;
    }

    .pta-header-tools a,
    .pta-header-tools button,
    .pta-header-tools img {
        width: .9375vw;
        height: .9375vw;
    }
}

.pta-page {
    width: min(var(--pta-max), 90vw);
    margin: 0 auto;
    padding: 92px 0 120px;
}

.pta-kicker {
    display: inline-flex;
    padding: 13px 21px;
    background: #ece6f4;
    color: #9b8aa6;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.pta-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.04;
    margin: 0 0 28px;
    letter-spacing: 0;
    font-weight: 400;
}

.pta-intro {
    max-width: 740px;
    color: var(--pta-muted);
    font-size: 18px;
    line-height: 1.75;
    margin: 0 0 54px;
}

.pta-toolbar {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin: 0 0 42px;
}

.pta-pill {
    border: 1px solid var(--pta-line);
    background: #fff;
    padding: 11px 18px;
    border-radius: 999px;
    color: #555;
    font-size: 14px;
    cursor: pointer;
}

.pta-pill.is-active {
    border-color: var(--pta-accent);
    background: var(--pta-accent);
    color: #fff;
}

.pta-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.pta-product-card {
    min-width: 0;
    min-height: 320px;
    border-radius: 8px;
    background: #f3f3f4;
    padding: 34px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.pta-product-card__media {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
    margin-bottom: 24px;
}

.pta-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.pta-product-card__body {
    min-width: 0;
}

.pta-product-card[hidden] {
    display: none;
}

.pta-product-card__category {
    color: var(--pta-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pta-product-card__title {
    font-size: 26px;
    line-height: 1.15;
    margin: 0 0 14px;
    letter-spacing: 0;
}

.pta-product-card__text {
    color: #333333;
    font-size: 15px;
    line-height: 1.55;
    max-width: 430px;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pta-product-card__action {
    height: 46px;
    min-width: 140px;
    padding: 0 26px;
    border: 1px solid #555555;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #222222;
    background: #ffffff;
    margin-top: 34px;
}

.pta-product-card__action:hover {
    border-color: var(--pta-accent);
    background: var(--pta-accent);
    color: #ffffff;
}

.pta-back-link {
    display: inline-flex;
    color: var(--pta-muted);
    font-size: 14px;
    margin-bottom: 34px;
}

.pta-back-link:hover {
    color: var(--pta-accent);
}

.pta-product-hero {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1fr);
    gap: 48px;
    align-items: stretch;
    margin-bottom: 64px;
}

.pta-product-hero__copy {
    min-width: 0;
    padding: 36px 0;
}

.pta-product-hero__copy .pta-product-card__action {
    margin-top: 0;
}

.pta-product-meta,
.pta-product-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pta-product-meta {
    color: var(--pta-muted);
    font-size: 14px;
    margin: -10px 0 24px;
}

.pta-product-meta span + span::before {
    content: "/";
    margin-right: 12px;
    color: var(--pta-line);
}

.pta-product-actions {
    gap: 14px;
}

.pta-product-hero__media {
    min-width: 0;
    border-radius: 8px;
    background: #f3f3f4;
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pta-product-hero__media img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
    border-radius: 6px;
    background: #fff;
}

.pta-product-content {
    border-top: 1px solid var(--pta-line);
    padding-top: 42px;
    max-width: 960px;
}

.pta-product-content h2 {
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.25;
}

.pta-rich-content {
    color: #333333;
    font-size: 17px;
    line-height: 1.78;
}

.pta-rich-content p,
.pta-rich-content ul,
.pta-rich-content ol,
.pta-rich-content blockquote {
    margin: 0 0 18px;
}

.pta-rich-content ul,
.pta-rich-content ol {
    padding-left: 1.4em;
}

.pta-rich-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 26px 0;
    border-radius: 8px;
    background: #f3f3f4;
}

.pta-rich-content blockquote {
    border-left: 3px solid var(--pta-accent);
    padding-left: 18px;
    color: var(--pta-muted);
}

.pta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px;
}

.pta-card {
    min-width: 0;
    border-bottom: 1px solid var(--pta-line);
    padding-bottom: 28px;
}

.pta-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    background: var(--pta-soft);
    margin-bottom: 24px;
}

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

.pta-card__meta {
    color: var(--pta-accent);
    font-size: 13px;
    text-transform: uppercase;
    margin-bottom: 13px;
}

.pta-card__title {
    font-size: 23px;
    line-height: 1.25;
    margin: 0 0 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pta-card__text {
    color: var(--pta-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pta-form {
    display: grid;
    gap: 42px;
}

.pta-fieldset {
    border: 1px solid var(--pta-line);
    padding: 32px;
    margin: 0;
}

.pta-fieldset legend {
    padding: 0 12px;
    font-size: 22px;
    font-weight: 700;
}

.pta-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.pta-field {
    display: grid;
    gap: 9px;
}

.pta-field--wide {
    grid-column: 1 / -1;
}

.pta-field label {
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.pta-optional {
    color: var(--pta-muted);
    font-size: 12px;
    font-weight: 400;
}

.pta-field input,
.pta-field select,
.pta-field textarea {
    width: 100%;
    border: 1px solid var(--pta-line);
    border-radius: 0;
    padding: 13px 14px;
    font: inherit;
    color: var(--pta-ink);
    background: #fff;
}

.pta-field textarea {
    min-height: 130px;
    resize: vertical;
}

.pta-fieldset-note {
    color: var(--pta-muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.pta-check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
}

.pta-check-grid label {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.pta-check-grid input {
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    flex: 0 0 auto;
}

.pta-screen-list {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.pta-screen-card {
    background: var(--pta-soft);
    border: 1px solid #e7e5ea;
    padding: 26px;
}

.pta-screen-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.pta-screen-card__head h2 {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.pta-screen-card__head button {
    border: 1px solid var(--pta-line);
    background: #fff;
    color: var(--pta-muted);
    padding: 10px 14px;
}

.pta-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pta-button {
    border: 0;
    background: var(--pta-accent);
    color: #fff;
    padding: 15px 24px;
    font-weight: 700;
    cursor: pointer;
}

.pta-button--ghost {
    border: 1px solid var(--pta-line);
    background: #fff;
    color: var(--pta-ink);
}

.pta-status {
    color: var(--pta-muted);
}

.pta-empty,
.pta-error {
    grid-column: 1 / -1;
    padding: 28px;
    background: var(--pta-soft);
    color: var(--pta-muted);
}

@media screen and (max-width: 900px) {
    .pta-header__inner {
        height: auto;
        padding: 18px 5%;
        align-items: flex-start;
        gap: 22px;
        flex-direction: column;
    }

    .pta-nav {
        width: 100%;
        flex-wrap: wrap;
        gap: 14px 22px;
        overflow-x: visible;
        padding-bottom: 4px;
        margin: 0;
    }

    .pta-logo img {
        width: 105px;
    }

    .pta-nav a {
        line-height: 1.4;
    }

    .pta-header-tools {
        display: none;
    }

    .pta-page {
        padding: 58px 0 86px;
    }

    .pta-grid,
    .pta-product-grid,
    .pta-form-grid {
        grid-template-columns: 1fr;
    }

    .pta-check-grid {
        grid-template-columns: 1fr;
    }

    .pta-product-card {
        min-height: 280px;
        padding: 34px 24px 28px;
    }

    .pta-product-hero {
        grid-template-columns: 1fr;
        gap: 28px;
        margin-bottom: 48px;
    }

    .pta-product-hero__copy {
        padding: 0;
    }

    .pta-product-hero__media {
        padding: 24px;
    }

    .pta-screen-card {
        padding: 22px 16px;
    }

    .pta-fieldset {
        padding: 24px 18px;
    }
}
