/* =========================================================
   Price comparison — brand-aligned competitive story
   Palette: #EC2E5E · #8B1538 · #1A1A1A
   ========================================================= */

.pc-page .pc-hero.product-hero {
    min-height: clamp(380px, 50vh, 520px);
}

.pc-page .pc-hero .product-hero-content {
    grid-template-columns: 1fr;
    max-width: 48rem;
}

.pc-page .pc-hero .highlight {
    background: linear-gradient(135deg, #FF8AA8 0%, #EC2E5E 45%, #fff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

/* Stats strip */
.pc-stats {
    background: linear-gradient(135deg, #1A1A1A 0%, #3a1020 50%, #8B1538 100%);
    color: #fff;
    padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.pc-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    text-align: center;
}

.pc-stat .value {
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.pc-stat .label {
    font-size: 0.92rem;
    opacity: 0.92;
    line-height: 1.35;
}

/* Shared section rhythm */
.pc-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.pc-section--soft {
    background: #f8fafc;
    border-top: 1px solid #eef0f3;
    border-bottom: 1px solid #eef0f3;
}

.pc-page .section-header {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
}

.pc-page .section-badge {
    display: inline-block;
    background: linear-gradient(135deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
    box-shadow: 0 8px 18px rgba(236, 46, 94, 0.18);
}

.pc-page .section-title {
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    letter-spacing: -0.02em;
    color: #1A1A1A;
    margin: 0.15rem 0 0.65rem;
}

.pc-page .section-subtitle {
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    color: #666;
    line-height: 1.65;
    margin: 0;
}

/* Win highlight cards */
.pc-win-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: min(1120px, 100%);
    margin: 0 auto 2.25rem;
}

.pc-win-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    text-align: center;
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-win-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 46, 94, 0.3);
    box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
}

.pc-win-card .icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 0.85rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
}

.pc-win-card .amount {
    font-size: clamp(1.5rem, 3vw, 1.85rem);
    font-weight: 900;
    color: #EC2E5E;
    letter-spacing: -0.02em;
    margin: 0 0 0.25rem;
}

.pc-win-card h3 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #1A1A1A;
}

.pc-win-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.45;
}

/* Visual bar comparison */
.pc-bars-panel {
    max-width: min(900px, 100%);
    margin: 0 auto 2.5rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: clamp(1.25rem, 3vw, 1.75rem);
    box-shadow: 0 10px 28px rgba(16, 24, 40, 0.05);
}

.pc-bars-panel h3 {
    margin: 0 0 0.35rem;
    font-size: 1.15rem;
    color: #1A1A1A;
    text-align: center;
}

.pc-bars-panel .bars-sub {
    margin: 0 0 1.35rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666;
}

.pc-bar-row {
    display: grid;
    grid-template-columns: minmax(110px, 140px) 1fr auto;
    gap: 0.75rem 1rem;
    align-items: center;
    margin-bottom: 0.75rem;
}

.pc-bar-row:last-child {
    margin-bottom: 0;
}

.pc-bar-row .name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #374151;
}

.pc-bar-row.is-winner .name {
    color: #EC2E5E;
}

.pc-bar-track {
    height: 14px;
    background: #eef0f3;
    border-radius: 999px;
    overflow: hidden;
}

.pc-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: #c4c9d2;
    min-width: 4px;
}

.pc-bar-row.is-winner .pc-bar-fill {
    background: linear-gradient(90deg, #EC2E5E, #8B1538);
}

.pc-bar-row .price {
    font-size: 0.95rem;
    font-weight: 800;
    color: #1A1A1A;
    min-width: 4.5rem;
    text-align: right;
}

.pc-bar-row.is-winner .price {
    color: #EC2E5E;
}

.pc-bar-row .delta {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #8B1538;
}

/* Comparison table */
.pc-table-wrap {
    overflow-x: auto;
    margin: 0 auto;
    max-width: min(1120px, 100%);
    border-radius: 18px;
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.07);
    border: 1px solid #e5e7eb;
    background: #fff;
}

.pc-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.pc-table thead th {
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    padding: 1.1rem 1rem;
    font-size: 0.88rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.01em;
}

.pc-table thead th:first-child {
    text-align: left;
    padding-left: 1.35rem;
}

.pc-table tbody td {
    padding: 1.1rem 1rem;
    text-align: center;
    border-bottom: 1px solid #eef0f3;
    vertical-align: middle;
    color: #555;
}

.pc-table tbody tr:last-child td {
    border-bottom: none;
}

.pc-table .provider-cell {
    text-align: left;
    padding-left: 1.35rem;
    font-weight: 700;
    color: #1A1A1A;
}

.pc-table .provider-note {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    margin-top: 0.2rem;
}

.pc-table tr.is-epostcode {
    background: linear-gradient(90deg, rgba(236, 46, 94, 0.08), rgba(255, 249, 240, 0.9));
}

.pc-table tr.is-epostcode td {
    color: #EC2E5E;
    font-weight: 800;
    font-size: 1.1rem;
}

.pc-table tr.is-epostcode .provider-cell {
    font-size: 1.05rem;
}

.pc-table .best-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: 0.4rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #EC2E5E, #8B1538);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    vertical-align: middle;
}

.pc-table .price-main {
    font-weight: 700;
    font-size: 1.05rem;
    color: #374151;
}

.pc-table .price-more {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #EC2E5E;
}

.pc-table .na {
    font-size: 0.85rem;
    color: #999;
    font-style: italic;
    font-weight: 500;
}

.pc-disclaimer {
    max-width: min(1120px, 100%);
    margin: 1.25rem auto 0;
    padding: 1rem 1.15rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 4px solid #EC2E5E;
    border-radius: 12px;
    font-size: 0.88rem;
    color: #555;
    line-height: 1.65;
}

.pc-disclaimer i {
    color: #EC2E5E;
    margin-right: 0.35rem;
}

/* Feature value matrix */
.pc-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    max-width: min(960px, 100%);
    margin: 0 auto;
}

.pc-feature-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1rem 1.15rem;
}

.pc-feature-row h4 {
    margin: 0 0 0.2rem;
    font-size: 0.95rem;
    color: #1A1A1A;
}

.pc-feature-row p {
    margin: 0;
    font-size: 0.8rem;
    color: #666;
    line-height: 1.4;
}

.pc-feature-tag {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}

.pc-feature-tag.yes {
    background: rgba(236, 46, 94, 0.12);
    color: #8B1538;
}

.pc-feature-tag.mixed {
    background: #f3f4f6;
    color: #6b7280;
}

.pc-feature-col-label {
    font-size: 0.68rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
    display: block;
    margin-bottom: 0.25rem;
}

/* Price match panel */
.pc-match {
    max-width: min(1040px, 100%);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
}

.pc-match-head {
    text-align: center;
    margin-bottom: 1.75rem;
}

.pc-match-head h3 {
    margin: 0.5rem 0 0.65rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    color: #1A1A1A;
    letter-spacing: -0.02em;
}

.pc-match-head p {
    margin: 0 auto;
    max-width: 36rem;
    color: #666;
    line-height: 1.6;
}

.pc-match-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.pc-match-card {
    background: #f8fafc;
    border: 1px solid #eef0f3;
    border-radius: 14px;
    padding: 1.25rem;
}

.pc-match-card i {
    color: #EC2E5E;
    font-size: 1.35rem;
    margin-bottom: 0.65rem;
    display: block;
}

.pc-match-card h4 {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    color: #1A1A1A;
}

.pc-match-card p {
    margin: 0;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.5;
}

.pc-legal {
    background: linear-gradient(135deg, rgba(236, 46, 94, 0.05), rgba(139, 21, 56, 0.04));
    border: 1px solid rgba(236, 46, 94, 0.15);
    border-radius: 14px;
    padding: 1.25rem 1.35rem;
    margin-bottom: 1.5rem;
}

.pc-legal h4 {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pc-legal h4 i {
    color: #EC2E5E;
}

.pc-legal-steps {
    display: grid;
    gap: 0.75rem;
}

.pc-legal-step {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pc-legal-step .num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex-shrink: 0;
    background: linear-gradient(145deg, #EC2E5E, #8B1538);
    color: #fff;
    font-weight: 800;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-legal-step strong {
    display: block;
    color: #1A1A1A;
    font-size: 0.92rem;
    margin-bottom: 0.15rem;
}

.pc-legal-step span {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.45;
}

.pc-match-cta {
    text-align: center;
    padding: 1.5rem 1rem 0.25rem;
    border-top: 1px dashed rgba(236, 46, 94, 0.25);
}

.pc-match-cta h4 {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    color: #1A1A1A;
}

.pc-match-cta p {
    margin: 0 0 1.15rem;
    color: #666;
}

.pc-match-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.pc-match-cta .btn {
    border-radius: 999px;
}

.pc-match-cta .fine {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    color: #999;
}

/* Calculator section polish */
.pc-page .savings-calculator-card {
    max-width: min(820px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.06);
}

.pc-calc-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #1A1A1A;
    font-size: 0.95rem;
}

.pc-calc-field label i {
    color: #EC2E5E;
    margin-right: 0.4rem;
}

.pc-calc-field .hint {
    font-size: 0.85rem;
    color: #666;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.pc-calc-input-wrap {
    position: relative;
}

.pc-calc-input-wrap input {
    width: 100%;
    padding: 0.95rem 4rem 0.95rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    color: #1A1A1A;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pc-calc-input-wrap input:focus {
    outline: none;
    border-color: #EC2E5E;
    box-shadow: 0 0 0 3px rgba(236, 46, 94, 0.12);
}

.pc-calc-input-wrap .unit {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    font-weight: 700;
    color: #666;
}

.pc-presets {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.65rem;
}

.pc-presets button {
    padding: 0.4rem 0.85rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pc-presets button:hover {
    background: rgba(236, 46, 94, 0.08);
    border-color: rgba(236, 46, 94, 0.3);
    color: #EC2E5E;
}

.pc-uprn-box {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.1rem 1.15rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1.25rem;
}

.pc-uprn-box label {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    font-weight: 700;
    color: #1A1A1A;
    font-size: 0.95rem;
}

.pc-uprn-box input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #EC2E5E;
}

.pc-uprn-box p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
    padding-left: 1.7rem;
}

.pc-note-green,
.pc-note-brand {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.pc-note-green {
    background: rgba(236, 46, 94, 0.06);
    border-left: 4px solid #EC2E5E;
    color: #374151;
}

.pc-note-brand {
    background: #f8fafc;
    border-left: 4px solid #1A1A1A;
    color: #555;
}

.pc-note-green strong,
.pc-note-brand strong {
    color: #1A1A1A;
}

.pc-total-savings {
    margin-top: 1.75rem;
    padding: 1.5rem 1.25rem;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    border-radius: 16px;
    text-align: center;
    color: #fff;
}

.pc-total-savings .label {
    font-size: 0.95rem;
    opacity: 0.95;
    margin-bottom: 0.35rem;
}

.pc-total-savings #totalSavings {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
}

.pc-total-savings #savingsSubtext {
    font-size: 0.88rem;
    opacity: 0.9;
}

.pc-how-calc {
    margin-top: 1.75rem;
    padding: 1.35rem 1.25rem;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.pc-how-calc h3 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.pc-how-calc h3 i {
    color: #EC2E5E;
}

.pc-how-calc p {
    margin: 0 0 0.65rem;
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
}

.pc-how-calc p:last-child {
    margin-bottom: 0;
    font-size: 0.82rem;
    color: #999;
    font-style: italic;
}

/* Value cards */
.pc-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: min(1120px, 100%);
    margin: 0 auto;
}

.pc-value-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.pc-value-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 46, 94, 0.28);
}

.pc-value-card .icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, #EC2E5E 0%, #8B1538 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    margin-bottom: 0.9rem;
}

.pc-value-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    color: #1A1A1A;
}

.pc-value-card p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.55;
}

/* Switch steps */
.pc-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: min(960px, 100%);
    margin: 0 auto 2rem;
}

.pc-step {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 1.35rem 1.2rem;
    text-align: center;
}

.pc-step .num {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.85rem;
    border-radius: 12px;
    background: linear-gradient(145deg, #EC2E5E, #8B1538);
    color: #fff;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-step h3 {
    margin: 0 0 0.4rem;
    font-size: 1.05rem;
    color: #1A1A1A;
}

.pc-step p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Final CTA */
.pc-final-cta {
    background: linear-gradient(135deg, #1A1A1A 0%, #3a1020 50%, #8B1538 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 4.5rem) 0;
    text-align: center;
}

.pc-final-cta h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: #fff;
}

.pc-final-cta p {
    margin: 0 auto 1.5rem;
    max-width: 36rem;
    opacity: 0.92;
    line-height: 1.65;
}

.pc-final-cta .cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.pc-final-cta .btn-primary {
    background: #fff !important;
    color: #EC2E5E !important;
    border: none !important;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
}

.pc-final-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    color: #fff !important;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.9rem 1.5rem;
}

.pc-final-cta .fine {
    margin: 1.15rem 0 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 960px) {
    .pc-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .pc-win-grid,
    .pc-value-grid,
    .pc-steps,
    .pc-match-cards {
        grid-template-columns: 1fr;
    }

    .pc-feature-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .pc-bar-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
        margin-bottom: 1rem;
    }

    .pc-bar-row .price {
        text-align: left;
    }

    .pc-feature-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pc-feature-row .pc-feature-tag {
        justify-self: start;
    }
}
