.pr-page {
    --pr-bg: #fff;
    --pr-panel: #f5f7fb;
    --pr-text: #101522;
    --pr-muted: #667085;
    --pr-border: #e4e8f0;
    --pr-accent: #3c65e8;

    background: var(--pr-bg);
    color: var(--pr-text);
    overflow-wrap: anywhere;
}

.pr-page * { box-sizing: border-box; }

.pr-wrap {
    width: min(1200px, calc(100% - 48px));
    margin: auto;
}

.pr-page h1,
.pr-page h2,
.pr-page h3 {
    color: var(--pr-text);
    letter-spacing: -.04em;
}

.pr-page a { color: inherit; }

.pr-hero {
    padding: 150px 0 78px;
    background:
        radial-gradient(ellipse at 85% 20%, #e9efff, transparent 60%),
        #f8faff;
    border-bottom: 1px solid var(--pr-border);
}

.pr-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--pr-accent);
    text-transform: uppercase;
}

.pr-hero h1 {
    font-size: clamp(38px, 5.8vw, 72px);
    line-height: 1.08;
    margin: 22px 0 24px;
    max-width: 1000px;
}

.pr-hero h1 span { color: var(--pr-accent); }

.pr-hero p {
    max-width: 670px;
    font-size: 17px;
    line-height: 1.8;
    color: var(--pr-muted);
    margin-bottom: 24px;
}

.pr-section { padding: 64px 0; }
.pr-band { background: var(--pr-panel); }

.pr-search {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) auto auto;
    align-items: end;
    gap: 16px;
    padding: 24px;
    border: 1px solid var(--pr-border);
    border-radius: 16px;
    margin-bottom: 42px;
    background: #fff;
}

.pr-search label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 9px;
}

.pr-search input,
.pr-search select {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 14px;
    border: 1px solid #d5dbe6;
    border-radius: 8px;
    background: #fff;
    color: var(--pr-text);
    font: inherit;
    font-size: 14px;
}

.pr-page .pr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 13px 20px;
    border: 1px solid var(--pr-accent);
    border-radius: 8px;
    background: var(--pr-accent);
    color: #fff;
    text-decoration: none;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}

.pr-page .pr-button:hover {
    background: #284fc9;
    border-color: #284fc9;
}

.pr-page .pr-button-secondary {
    background: #fff;
    color: var(--pr-text);
    border-color: var(--pr-border);
}

.pr-page .pr-button-secondary:hover {
    background: var(--pr-panel);
    border-color: #c9d2e5;
}

.pr-reset {
    padding: 14px 0;
    font-size: 13px;
}

.pr-results {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.pr-results h2 {
    font-size: clamp(24px, 3vw, 34px);
    margin: 0;
}

.pr-results > span,
.pr-results > a {
    font-size: 13px;
    color: var(--pr-muted);
}

.pr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pr-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: #fff;
    border: 1px solid var(--pr-border);
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
}

.pr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px #1a2b5210;
}

.pr-card-image {
    position: relative;
    display: block;
    height: 220px;
    background: #edf1fb;
    overflow: hidden;
}

.pr-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform .35s;
}

.pr-card:hover .pr-card-image img {
    transform: scale(1.03);
}

.pr-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #e8edff, #f2f8fa);
    color: #5776c9;
    font-size: 56px;
}

.pr-type {
    position: absolute;
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 6px 10px;
    background: #ffffffed;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
}

.pr-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px;
}

.pr-featured {
    align-self: flex-start;
    color: var(--pr-accent);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.pr-card h2 {
    font-size: 23px;
    line-height: 1.25;
    margin: 0 0 12px;
}

.pr-card h2 a { text-decoration: none; }

.pr-card-body > p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--pr-muted);
    margin: 0 0 18px;
}

.pr-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0 0 22px;
}

.pr-tags span {
    font-size: 10px;
    line-height: 1.6;
    padding: 5px 9px;
    border-radius: 5px;
    background: #f1f4fa;
    color: #53617d;
}

.pr-card-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    margin-top: auto;
    border-top: 1px solid var(--pr-border);
    font-size: 12px;
}

.pr-card-bottom > span { font-weight: 600; }

.pr-card-bottom a {
    color: var(--pr-accent);
    text-decoration: none;
    font-weight: 600;
}

.pr-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: center;
    justify-content: center;
    margin-top: 36px;
    font-size: 13px;
}

.pr-pagination a {
    padding: 10px 16px;
    border: 1px solid #dbe2ef;
    border-radius: 6px;
    text-decoration: none;
}

.pr-empty {
    text-align: center;
    padding: 60px 20px;
    border: 1px dashed var(--pr-border);
    border-radius: 16px;
}

.pr-empty > i {
    font-size: 48px;
    color: var(--pr-accent);
}

.pr-empty h2 {
    font-size: 28px;
    margin: 20px 0 12px;
}

.pr-empty p {
    color: var(--pr-muted);
    line-height: 1.8;
    margin-bottom: 22px;
}

.pr-catalogue-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.pr-catalogue-cta h2 {
    font-size: clamp(28px, 4vw, 42px);
    margin: 14px 0;
}

.pr-catalogue-cta p {
    color: var(--pr-muted);
    line-height: 1.8;
    max-width: 650px;
}

.pr-catalogue-cta > a { flex-shrink: 0; }

.pr-detail-hero {
    padding: 130px 0 44px;
    background: #f8faff;
    border-bottom: 1px solid var(--pr-border);
}

.pr-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: var(--pr-muted);
    margin-bottom: 32px;
}

.pr-detail-hero h1 {
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.1;
    margin: 18px 0;
}

.pr-detail-summary {
    max-width: 800px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--pr-muted);
    margin: 0 0 24px;
}

.pr-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 44px;
}

.pr-main { min-width: 0; }

.pr-product-visual {
    margin: 0 0 36px;
    border: 1px solid var(--pr-border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--pr-panel);
}

.pr-product-visual img {
    display: block;
    width: 100%;
    height: auto;
}

.pr-description {
    font-size: 16px;
    line-height: 1.9;
}

.pr-description h2 {
    font-size: 28px;
    line-height: 1.3;
    margin: 32px 0 18px;
}

.pr-description h2:first-child { margin-top: 0; }

.pr-description p,
.pr-description li {
    color: var(--pr-muted);
}

.pr-description ul { padding-left: 22px; }

.pr-buy-panel {
    position: sticky;
    top: 110px;
    border: 1px solid var(--pr-border);
    border-radius: 16px;
    padding: 26px;
    background: #fff;
    box-shadow: 0 12px 40px #1a2b5209;
}

.pr-buy-panel h2 {
    font-size: 25px;
    margin: 16px 0;
}

.pr-price {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 18px;
}

.pr-version,
.pr-panel-note {
    font-size: 12px;
    line-height: 1.8;
    color: var(--pr-muted);
}

.pr-buy-panel .pr-button {
    display: flex;
    width: 100%;
    margin: 12px 0;
}

.pr-back {
    display: inline-block;
    margin-top: 12px;
    font-size: 12px;
}

.pr-detail-section { margin-top: 54px; }

.pr-detail-section > h2 {
    font-size: 30px;
    margin: 16px 0 26px;
}

.pr-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.pr-feature {
    padding: 24px;
    background: var(--pr-panel);
    border: 1px solid var(--pr-border);
    border-radius: 12px;
}

.pr-feature > span {
    font-size: 12px;
    color: var(--pr-accent);
}

.pr-feature h3 {
    font-size: 20px;
    margin: 16px 0 12px;
}

.pr-feature p,
.pr-faq p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--pr-muted);
}

.pr-faq {
    padding: 20px 0;
    border-bottom: 1px solid var(--pr-border);
}

.pr-faq summary {
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.pr-faq p { margin-top: 14px; }

.pr-page :is(a, button, input, select, summary):focus-visible {
    outline: 3px solid #75b3f0;
    outline-offset: 4px;
}

@media (max-width: 1000px) {
    .pr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pr-detail-layout {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
    }

    .pr-search {
        grid-template-columns: minmax(0, 1fr) minmax(150px, 230px);
    }

    .pr-search .pr-reset { align-self: center; }
    .pr-buy-panel { padding: 20px; }
}

@media (max-width: 760px) {
    .pr-detail-layout { grid-template-columns: 1fr; }

    .pr-buy-panel {
        position: static;
        grid-row: 1;
    }

    .pr-catalogue-cta {
        align-items: flex-start;
        flex-direction: column;
    }

    .pr-hero { padding: 125px 0 56px; }
    .pr-section { padding: 44px 0; }
    .pr-detail-hero { padding-top: 120px; }
    .pr-card-image { height: 190px; }
}

@media (max-width: 560px) {
    .pr-wrap { width: calc(100% - 32px); }

    .pr-grid,
    .pr-search,
    .pr-feature-grid {
        grid-template-columns: 1fr;
    }

    .pr-search {
        padding: 18px;
        gap: 14px;
    }

    .pr-reset {
        text-align: center;
        padding: 4px;
    }

    .pr-card-image { height: 210px; }
    .pr-card-body { padding: 22px; }

    .pr-hero p,
    .pr-detail-summary {
        font-size: 16px;
    }

    .pr-hero h1 { font-size: 39px; }
    .pr-detail-section > h2 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
    .pr-card,
    .pr-card-image img,
    .pr-button {
        transition: none !important;
    }

    .pr-card:hover,
    .pr-card:hover .pr-card-image img {
        transform: none;
    }
}