:root {
    --cspo-ink: #17233a;
    --cspo-muted: #60708b;
    --cspo-line: #dce4ef;
    --cspo-soft: #f6f8fc;
    --cspo-blue: #2463eb;
    --cspo-blue-dark: #1748b8;
    --cspo-green: #16783a;
}

.cspo-price-page .entry-title,
.cspo-price-page .wp-block-post-title {
    width: min(920px, calc(100vw - 32px));
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2rem, 3.2vw, 3.4rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--cspo-ink);
}

.cspo-price-page .entry-content,
.cspo-price-page .wp-block-post-content {
    overflow: visible;
}

.cspo-app,
.cspo-hub {
    box-sizing: border-box;
    width: min(920px, calc(100vw - 32px));
    max-width: 920px;
    margin: 0 auto 3rem;
    color: var(--cspo-ink);
    font-size: 15px;
    line-height: 1.5;
}

.cspo-app *,
.cspo-hub * {
    box-sizing: border-box;
}


.cspo-app .screen-reader-text,
.cspo-hub .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cspo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1rem;
    color: var(--cspo-muted);
    font-size: 0.78rem;
}

.cspo-breadcrumbs a {
    color: var(--cspo-blue-dark);
    text-decoration: none;
}

.cspo-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    align-items: center;
    padding: 1.35rem 1.45rem;
    border: 1px solid var(--cspo-line);
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
    box-shadow: 0 12px 35px rgba(31, 54, 95, 0.06);
}

.cspo-eyebrow {
    display: block;
    margin-bottom: 0.55rem;
    color: #174fae;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.cspo-hero h2 {
    margin: 0 0 0.55rem;
    color: var(--cspo-ink);
    font-size: clamp(1.55rem, 2.4vw, 2.45rem);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.cspo-hero p {
    max-width: 850px;
    margin: 0;
    color: #465772;
    font-size: 1rem;
}

.cspo-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
}

.cspo-hero__stats div {
    min-width: 0;
    padding: 0.78rem 0.6rem;
    text-align: center;
    border: 1px solid var(--cspo-line);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.82);
}

.cspo-hero__stats strong,
.cspo-hero__stats span {
    display: block;
}

.cspo-hero__stats strong {
    font-size: 1.35rem;
    line-height: 1.2;
}

.cspo-hero__stats span {
    margin-top: 0.25rem;
    color: var(--cspo-muted);
    font-size: 0.78rem;
}

.cspo-quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.cspo-quick-filters button {
    padding: 0.48rem 0.8rem;
    border: 1px solid #cad6e8;
    border-radius: 999px;
    background: #fff;
    color: #23405f;
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.cspo-quick-filters button:hover,
.cspo-quick-filters button:focus-visible {
    border-color: var(--cspo-blue);
    color: var(--cspo-blue-dark);
}

.cspo-controls {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: end;
    margin-top: 1.15rem;
    padding: 1.15rem;
    border: 1px solid var(--cspo-line);
    border-radius: 18px;
    background: #fff;
}

.cspo-control--search {
    grid-column: span 2;
}

.cspo-checkbox,
.cspo-reset {
    align-self: end;
}

.cspo-control label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 0.78rem;
    font-weight: 750;
    color: #34435b;
}

.cspo-control input,
.cspo-control select {
    width: 100%;
    min-height: 43px;
    margin: 0;
    padding: 0.55rem 0.7rem;
    border: 1px solid #cdd7e5;
    border-radius: 10px;
    background: #fff;
    color: var(--cspo-ink);
    font: inherit;
    font-size: 0.88rem;
}

.cspo-control input:focus,
.cspo-control select:focus {
    border-color: var(--cspo-blue);
    outline: 3px solid rgba(36, 99, 235, 0.15);
}

.cspo-checkbox {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    min-height: 43px;
    white-space: nowrap;
    font-size: 0.88rem;
    font-weight: 700;
}

.cspo-checkbox input {
    width: 18px;
    height: 18px;
}

.cspo-reset,
.cspo-load-more-wrap button {
    min-height: 43px;
    padding: 0.55rem 1rem;
    border: 1px solid #cbd6e5;
    border-radius: 10px;
    background: var(--cspo-soft);
    color: var(--cspo-ink);
    font: inherit;
    font-size: 0.88rem;
    font-weight: 750;
    cursor: pointer;
}

.cspo-results-summary {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.05rem 0 0.65rem;
    color: var(--cspo-muted);
    font-size: 0.9rem;
}

.cspo-results-summary strong {
    color: var(--cspo-ink);
}

.cspo-list {
    overflow: hidden;
    border: 1px solid var(--cspo-line);
    border-radius: 18px;
    background: #fff;
}

.cspo-list__head,
.cspo-row {
    display: grid;
    grid-template-columns: minmax(245px, 2.35fr) minmax(78px, 0.72fr) minmax(88px, 0.8fr) minmax(58px, 0.54fr) minmax(122px, 1.18fr) minmax(76px, 0.72fr) minmax(105px, 0.92fr);
    gap: 0;
    align-items: center;
}

.cspo-list__head {
    min-height: 56px;
    background: var(--cspo-soft);
    color: #4a5a72;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.cspo-list__head > div,
.cspo-cell {
    min-width: 0;
    padding: 0.72rem 0.58rem;
}

.cspo-row {
    min-height: 112px;
    border-top: 1px solid #e6ebf3;
    transition: background-color 0.15s ease;
}

.cspo-row:hover {
    background: #fbfcff;
}

.cspo-row.is-filter-hidden,
.cspo-row.is-page-hidden {
    display: none;
}

.cspo-cell {
    color: var(--cspo-ink);
    font-size: 0.9rem;
}

.cspo-cell strong {
    display: block;
    line-height: 1.35;
}

.cspo-cell del {
    display: block;
    margin-top: 0.2rem;
    color: #7d8a9f;
    font-size: 0.78rem;
}

.cspo-cell--product {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.cspo-product-image {
    display: grid;
    flex: 0 0 66px;
    width: 66px;
    height: 66px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #dce4ee;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
}

.cspo-product-image img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.cspo-product-image span {
    color: #6b7890;
    font-weight: 800;
}

.cspo-product-copy {
    min-width: 0;
}

.cspo-product-title {
    display: -webkit-box;
    overflow: hidden;
    color: var(--cspo-ink);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.cspo-product-title:hover {
    color: var(--cspo-blue-dark);
}

.cspo-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-top: 0.4rem;
    color: var(--cspo-muted);
    font-size: 0.75rem;
}

.cspo-deal-badge {
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: #fff2d5;
    color: #8a4c00;
    font-weight: 750;
}

.cspo-pptb {
    color: #174fae;
    font-size: 0.98rem;
}

.cspo-subline,
.cspo-paid-link,
.cspo-tooltip {
    display: block;
    margin-top: 0.25rem;
    color: var(--cspo-muted);
    font-size: 0.75rem;
    line-height: 1.35;
}

.cspo-tooltip {
    color: #315d9c;
    text-decoration: underline dotted;
    cursor: help;
}

.cspo-condition {
    display: inline-block;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #eef2ff;
    color: #5148a8;
    font-size: 0.78rem;
    font-weight: 800;
}

.cspo-condition--new {
    background: #e9f7ec;
    color: var(--cspo-green);
}

.cspo-condition--refurbished {
    background: #fff3de;
    color: #8b5200;
}

.cspo-cell--action {
    text-align: center;
}

.cspo-amazon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    padding: 0.48rem 0.5rem;
    border-radius: 10px;
    background: var(--cspo-blue);
    color: #fff !important;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none !important;
}

.cspo-amazon-button:hover,
.cspo-amazon-button:focus-visible {
    background: var(--cspo-blue-dark);
}

.cspo-load-more-wrap {
    margin-top: 1rem;
    text-align: center;
}

.cspo-load-more-wrap button {
    min-width: 210px;
}

.cspo-no-results,
.cspo-empty,
.cspo-admin-message {
    margin-top: 1rem;
    padding: 1.5rem;
    border: 1px solid var(--cspo-line);
    border-radius: 16px;
    background: var(--cspo-soft);
    text-align: center;
}

.cspo-no-results h2,
.cspo-empty h2 {
    margin: 0 0 0.35rem;
    font-size: 1.25rem;
}

.cspo-no-results p,
.cspo-empty p {
    margin: 0;
    color: var(--cspo-muted);
}

.cspo-disclosure {
    margin-top: 1rem;
    padding: 1rem 1.15rem;
    border-left: 4px solid #9fb9e9;
    background: #f7f9fd;
    color: #52617a;
    font-size: 0.82rem;
}

.cspo-disclosure strong {
    color: var(--cspo-ink);
}

.cspo-disclosure p {
    margin: 0.25rem 0 0;
}

.cspo-guide,
.cspo-faq,
.cspo-related {
    max-width: 1180px;
    margin: 2.4rem auto 0;
}

.cspo-guide > h2,
.cspo-faq > h2,
.cspo-related > h2,
.cspo-methodology h2 {
    margin: 0 0 1rem;
    color: var(--cspo-ink);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1.2;
}

.cspo-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cspo-guide__grid article {
    padding: 1.2rem;
    border: 1px solid var(--cspo-line);
    border-radius: 14px;
    background: #fff;
}

.cspo-guide__grid h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
}

.cspo-guide__grid p,
.cspo-methodology p,
.cspo-faq p {
    color: #4f5f77;
}

.cspo-guide__grid p {
    margin: 0;
    font-size: 0.92rem;
}

.cspo-methodology {
    margin-top: 1.7rem;
}

.cspo-faq details {
    border-top: 1px solid var(--cspo-line);
}

.cspo-faq details:last-child {
    border-bottom: 1px solid var(--cspo-line);
}

.cspo-faq summary {
    padding: 1rem 0;
    font-weight: 750;
    cursor: pointer;
}

.cspo-faq p {
    margin: -0.3rem 0 1rem;
}

.cspo-related > div {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.cspo-related a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--cspo-line);
    border-radius: 12px;
    color: var(--cspo-ink);
    font-weight: 700;
    text-decoration: none;
}

.cspo-related a:hover {
    border-color: #9fb9e9;
    color: var(--cspo-blue-dark);
}

.cspo-hub__intro {
    max-width: 900px;
    margin-bottom: 1.4rem;
}

.cspo-hub__intro p {
    margin: 0;
    color: #4f5f77;
    font-size: 1.05rem;
}

.cspo-hub__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.cspo-hub-card {
    padding: 1.3rem;
    border: 1px solid var(--cspo-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(31, 54, 95, 0.05);
}

.cspo-hub-card__count {
    color: var(--cspo-blue-dark);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cspo-hub-card h2 {
    margin: 0.45rem 0 0.55rem;
    font-size: 1.25rem;
    line-height: 1.25;
}

.cspo-hub-card h2 a {
    color: var(--cspo-ink);
    text-decoration: none;
}

.cspo-hub-card p {
    color: var(--cspo-muted);
    font-size: 0.9rem;
}

.cspo-text-link,
.cspo-hub__all-links a {
    color: var(--cspo-blue-dark);
    font-weight: 750;
}

.cspo-hub__all-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.2rem;
}

@media (max-width: 980px) {
    .cspo-price-page .entry-title,
    .cspo-price-page .wp-block-post-title {
        font-size: clamp(1.8rem, 5vw, 2.6rem);
    }

    .cspo-guide__grid,
    .cspo-hub__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .cspo-app,
    .cspo-hub {
        width: min(100%, calc(100vw - 20px));
        max-width: none;
        font-size: 15px;
    }

    .cspo-hero {
        padding: 1.2rem;
        border-radius: 16px;
    }

    .cspo-hero__stats {
        gap: 0.45rem;
    }

    .cspo-hero__stats div {
        min-width: 0;
        padding: 0.7rem 0.4rem;
    }

    .cspo-hero__stats strong {
        font-size: 1rem;
    }

    .cspo-controls {
        grid-template-columns: 1fr;
        padding: 0.9rem;
    }

    .cspo-control--search {
        grid-column: auto;
    }

    .cspo-results-summary {
        display: block;
    }

    .cspo-results-summary > span {
        display: block;
        margin-top: 0.2rem;
    }

    .cspo-list {
        overflow: visible;
        border: 0;
        background: transparent;
    }

    .cspo-list__head {
        display: none;
    }

    .cspo-row,
    .cspo-row:hover {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.7rem;
        min-height: 0;
        margin-bottom: 0.8rem;
        padding: 1rem;
        border: 1px solid var(--cspo-line);
        border-radius: 14px;
        background: #fff;
    }

    .cspo-row.is-filter-hidden,
    .cspo-row.is-page-hidden {
        display: none;
    }

    .cspo-cell,
    .cspo-row > .cspo-cell:nth-child(4),
    .cspo-row > .cspo-cell:nth-child(6) {
        display: block;
        padding: 0;
    }

    .cspo-cell::before {
        display: block;
        margin-bottom: 0.15rem;
        color: var(--cspo-muted);
        content: attr(data-label);
        font-size: 0.68rem;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .cspo-cell--product,
    .cspo-cell--details,
    .cspo-cell--action {
        grid-column: 1 / -1;
    }

    .cspo-cell--product {
        display: flex;
    }

    .cspo-cell--product::before,
    .cspo-cell--action::before {
        display: none;
    }

    .cspo-product-image {
        flex-basis: 68px;
        width: 68px;
        height: 68px;
    }

    .cspo-product-image img {
        width: 58px;
        height: 58px;
    }

    .cspo-amazon-button {
        width: 100%;
    }

    .cspo-guide__grid,
    .cspo-related > div,
    .cspo-hub__grid {
        grid-template-columns: 1fr;
    }
}
