.compare-page{padding-bottom:100px}.compare-page-header{text-align:center;max-width:900px;margin:28px auto}.compare-page-header .eyebrow{text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:var(--brand,#0a74da);margin-bottom:8px}.compare-page-header h1{font-size:clamp(24px,4vw,38px);line-height:1.2;margin:0 0 12px}.compare-page-header p{color:#666;font-size:16px}.compare-hero{background:#f3f4f8;border-radius:18px;padding:28px;margin:24px 0}.compare-tabs{display:flex;gap:32px;border-bottom:1px solid #cfd3dc;margin-bottom:28px;overflow-x:auto}.compare-tab{border:0;background:transparent;padding:12px 8px;font-size:18px;font-weight:800;color:#666;cursor:pointer;white-space:nowrap;border-bottom:4px solid transparent}.compare-tab.active{color:#111;border-bottom-color:var(--brand,#0a74da)}.compare-visual-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.radar-card{max-width:480px;margin:0 auto;width:100%}.score-row{display:flex;justify-content:center;gap:28px;margin-top:18px;flex-wrap:wrap}.score-row div{text-align:center}.score-row strong{display:block;font-size:30px;line-height:1;color:var(--brand,#0a74da)}.score-row span{color:#666;font-size:14px}.summary-card{background:#fff;border-radius:14px;padding:24px;min-height:320px}.summary-panel{display:none}.summary-panel.active{display:block}.summary-panel h2{font-size:22px;margin:0 0 20px}.advantage-item{display:flex;gap:12px;margin-bottom:16px;font-size:16px}.advantage-item>span{color:var(--brand,#0a74da);font-weight:900}.advantage-item strong{display:block;color:#444}.advantage-item small{display:block;color:#777;font-weight:600;margin-top:4px}.section-heading{margin:32px 0 12px}.section-heading h2{margin-bottom:6px}.section-heading p{color:#666}.compare-container{overflow-x:auto;border:1px solid #e5e7eb;border-radius:14px;background:#fff}.compare-table{width:100%;min-width:760px;border-collapse:separate;border-spacing:0}.compare-table th,.compare-table td{border-right:1px solid #eee;border-bottom:1px solid #eee;padding:12px;text-align:center;vertical-align:middle}.compare-table th:first-child,.compare-table td:first-child{position:sticky;left:0;z-index:2;width:210px;min-width:210px;text-align:left;background:#fafafa;font-weight:700}.compare-table thead th{background:#fff;vertical-align:top}.compare-table thead th:first-child{z-index:4}.compare-table td,.compare-table th{min-width:170px}.tv-head img{width:160px;height:160px;object-fit:contain;display:block;margin:0 auto 10px}.tv-head strong{display:block;font-size:15px}.score{--p:0;width:64px;height:64px;border-radius:50%;background:conic-gradient(var(--brand,#0a74da) calc(var(--p)*1%),#eaf3ff 0);margin:10px auto 0;display:flex;align-items:center;justify-content:center}.score span{width:48px;height:48px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:16px}.spec-title th{position:static!important;background:#eaf3ff!important;color:var(--brand,#0a74da);font-weight:800;text-align:left!important}.highlight{font-weight:800;color:var(--brand,#0a74da)}.compare-bar{position:fixed;bottom:0;left:0;right:0;background:var(--brand,#0a74da);color:#fff;display:flex;align-items:center;padding:8px 16px;z-index:1000;box-shadow:0 -2px 6px rgba(0,0,0,.2)}.compare-items{display:flex;flex:1;gap:8px;overflow:hidden}.compare-items img{width:40px;height:60px;object-fit:contain;border:1px solid #fff;border-radius:4px;background:#fff;padding:2px}.compare-clear,.compare-btn{border:0;border-radius:4px;padding:8px 12px;margin-left:8px;cursor:pointer}.compare-btn{background:#fff;color:var(--brand,#0a74da);font-weight:700}.compare-clear{background:#333;color:#fff}.muted{color:#777}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:768px){.compare-hero{padding:18px}.compare-tabs{gap:18px}.compare-tab{font-size:15px}.compare-visual-grid{grid-template-columns:1fr}.summary-card{min-height:auto}.compare-table th:first-child,.compare-table td:first-child{width:150px;min-width:150px}.tv-head img{width:120px;height:120px}.compare-title{display:none}}

/* Dynamic table width for 2-5 compared products */
.compare-page {
    width: min(1200px, calc(100% - 32px));
    margin-inline: auto;
}

.compare-table {
    min-width: max(100%, calc(210px + (var(--product-count, 2) * 220px)));
    table-layout: fixed;
}

.compare-table th:not(:first-child),
.compare-table td:not(:first-child) {
    width: 220px;
    min-width: 220px;
}

@media (max-width: 600px) {
    .compare-page {
        width: min(100% - 20px, 1200px);
    }
}

/* Phase 16: shared offer comparison cards */
.compare-offer-section{margin:34px 0}.best-offer-grid{display:grid;grid-template-columns:repeat(var(--offer-product-count,2),minmax(240px,1fr));gap:16px;overflow-x:auto;padding:2px 2px 10px}.best-offer-card{min-width:240px;background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:16px;box-shadow:0 6px 20px rgba(15,23,42,.05)}.best-offer-product{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center;padding-bottom:14px;border-bottom:1px solid #eef0f3}.best-offer-product img{width:100px;height:78px;object-fit:contain}.best-offer-product strong{font-size:15px;line-height:1.35}.best-offer-detail{display:flex;flex-direction:column;align-items:flex-start;gap:7px;padding-top:14px}.best-offer-badge{display:inline-flex;padding:4px 8px;border-radius:999px;background:#e9f8ee;color:#1d7a38;font-size:11px;font-weight:800}.best-offer-store{height:34px;display:flex;align-items:center}.best-offer-store img{max-width:100px;max-height:32px;object-fit:contain}.best-offer-price{font-size:22px;color:var(--brand,#0a74da)}.best-offer-detail>span:not(.best-offer-badge),.best-offer-detail small{color:#6b7280}.best-offer-button{display:inline-flex;justify-content:center;width:100%;margin-top:4px;padding:10px 14px;border-radius:9px;background:var(--brand,#0a74da);color:#fff;font-weight:800}.best-offer-button.secondary{background:#eef5ff;color:var(--brand,#0a74da)}.best-offer-empty{margin-top:14px;padding:18px;border:1px dashed #cfd5dd;border-radius:10px;color:#6b7280;text-align:center}.other-offers{margin-top:12px;border-top:1px solid #eef0f3;padding-top:10px}.other-offers summary{cursor:pointer;color:var(--brand,#0a74da);font-weight:700}.other-offer-list{display:flex;flex-direction:column;gap:8px;margin-top:10px}.other-offer-row{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;align-items:center;font-size:12px}.other-offer-row span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.other-offer-row a{color:var(--brand,#0a74da);font-weight:700}
@media(max-width:768px){.best-offer-grid{display:flex}.best-offer-card{width:82vw;max-width:320px}.best-offer-product{grid-template-columns:82px minmax(0,1fr)}.best-offer-product img{width:82px;height:70px}}

/* Phase 17: teklifleri teknik karşılaştırma tablosunun ilk satırında gösterir. */
.compare-offer-row > th {
    vertical-align: top;
    background: #f8fafc !important;
}

.compare-offer-row > td {
    vertical-align: top;
    padding: 16px 12px;
    background: #fff;
}

.compare-offer-cell {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    text-align: center;
}

.compare-offer-badge {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e9f8ee;
    color: #1d7a38;
    font-size: 11px;
    font-weight: 800;
}

.compare-offer-badge.is-secondary {
    background: #eef5ff;
    color: var(--brand, #0a74da);
}

.compare-offer-store {
    display: flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
}

.compare-offer-store img {
    width: auto;
    max-width: 110px;
    height: auto;
    max-height: 32px;
    object-fit: contain;
}

.compare-offer-price {
    color: var(--brand, #0a74da);
    font-size: 20px;
    line-height: 1.2;
}

.compare-offer-meta {
    color: #6b7280;
    font-size: 12px;
}

.compare-offer-button {
    display: inline-flex;
    width: 100%;
    max-width: 150px;
    justify-content: center;
    margin-top: 3px;
    padding: 9px 12px;
    border-radius: 8px;
    background: var(--brand, #0a74da);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.compare-offer-button.is-secondary {
    background: #eef5ff;
    color: var(--brand, #0a74da);
}

.compare-other-offers {
    width: 100%;
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid #eef0f3;
    text-align: left;
}

.compare-other-offers summary {
    cursor: pointer;
    color: var(--brand, #0a74da);
    font-size: 12px;
    font-weight: 700;
    text-align: center;
}

.compare-other-offer-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
    margin-top: 9px;
}

.compare-other-offer-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 6px;
    align-items: center;
    font-size: 11px;
}

.compare-other-offer-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compare-other-offer-row a {
    color: var(--brand, #0a74da);
    font-weight: 700;
}

.compare-offer-empty {
    margin: auto 0;
    padding: 14px;
    border: 1px dashed #cfd5dd;
    border-radius: 9px;
    color: #6b7280;
    font-size: 13px;
}

@media (max-width: 768px) {
    .compare-offer-cell {
        min-height: 190px;
    }

    .compare-offer-price {
        font-size: 18px;
    }
}

/* Phase 18: fark filtresi ve kazanan hücreleri */
.compare-table-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 12px;padding:12px 14px;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.difference-toggle{display:inline-flex;align-items:center;gap:9px;cursor:pointer;color:#111827;font-size:14px;font-weight:750}
.difference-toggle input{width:18px;height:18px;margin:0;accent-color:var(--brand,#0a74da)}
.compare-toolbar-note{color:#6b7280;font-size:12px}
.compare-spec-row[hidden]{display:none}
.compare-spec-row td{position:relative}
.compare-spec-row td.is-winner{background:#f0fdf4;box-shadow:inset 0 0 0 1px #bbf7d0}
.compare-cell-value{display:block}
.winner-badge{display:inline-flex;align-items:center;gap:4px;margin-top:7px;padding:3px 7px;border-radius:999px;background:#dcfce7;color:#166534;font-size:10px;font-weight:850;line-height:1.2;white-space:nowrap}
.compare-table.is-differences-only .spec-title.is-empty-category{display:none}
@media (max-width:768px){.compare-table-toolbar{align-items:flex-start;flex-direction:column;gap:7px}.compare-toolbar-note{line-height:1.45}}

/* Phase 19: görünür karşılaştırma özeti ve ürün bazlı artı/eksi kartları */
.compare-insight{margin:26px 0 34px;padding:26px;border:1px solid #dbe5f0;border-radius:18px;background:linear-gradient(135deg,#f8fbff 0%,#fff 58%);box-shadow:0 12px 32px rgba(15,23,42,.05)}
.compare-insight-copy{max-width:920px;margin:0 auto 22px;text-align:center}
.compare-insight-copy .eyebrow{margin:0 0 6px;color:var(--brand,#0a74da);font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.compare-insight-copy h2{margin:0 0 10px;font-size:clamp(22px,3vw,30px)}
.compare-insight-lead{margin:0;color:#243041;font-size:17px;font-weight:650;line-height:1.65}
.compare-insight-points{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 20px;max-width:900px;margin:18px auto 0;padding:0;list-style:none;text-align:left}
.compare-insight-points li{position:relative;padding-left:22px;color:#4b5563;line-height:1.55}
.compare-insight-points li::before{content:'✓';position:absolute;left:0;color:#16803c;font-weight:900}
.compare-insight-note{display:block;margin-top:14px;color:#7a8492;line-height:1.45}
.compare-summary-grid{display:grid;grid-template-columns:repeat(var(--summary-count,2),minmax(220px,1fr));gap:14px;overflow-x:auto;padding:2px 2px 8px}
.compare-summary-card{position:relative;min-width:220px;padding:18px;border:1px solid #e5e7eb;border-radius:14px;background:#fff}
.compare-summary-card.is-leader{border-color:#9ed8b0;box-shadow:inset 0 0 0 1px #c8efd3}
.compare-summary-leader{display:inline-flex;margin-bottom:10px;padding:4px 8px;border-radius:999px;background:#dcfce7;color:#166534;font-size:10px;font-weight:850}
.compare-summary-card h3{min-height:42px;margin:0;font-size:15px;line-height:1.4}
.compare-summary-score{display:flex;align-items:baseline;gap:3px;margin:12px 0 15px;color:var(--brand,#0a74da)}
.compare-summary-score strong{font-size:30px;line-height:1}
.compare-summary-score span{font-size:13px;font-weight:700}
.compare-summary-list h4{margin:0 0 7px;color:#374151;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.compare-summary-list ul{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.compare-summary-list li{position:relative;padding-left:18px;color:#4b5563;font-size:12px;line-height:1.45}
.compare-summary-list.is-pro li::before{content:'+';position:absolute;left:0;color:#16803c;font-weight:900}
.compare-summary-list.is-con{margin-top:14px;padding-top:12px;border-top:1px solid #eef0f3}
.compare-summary-list.is-con li::before{content:'–';position:absolute;left:0;color:#b45309;font-weight:900}
@media(max-width:768px){.compare-insight{padding:18px}.compare-insight-points{grid-template-columns:1fr}.compare-summary-grid{display:flex}.compare-summary-card{width:78vw;max-width:300px}}

/* Compare page: related comparison cards */
.page-compare .compare-suggestions a.compare-suggestion-card,
.page-compare .compare-suggestions a.compare-suggestion-card:hover,
.page-compare .compare-suggestions a.compare-suggestion-card:focus,
.page-compare .compare-suggestions a.compare-suggestion-card:active,
.page-compare .compare-suggestions a.compare-suggestion-card *,
.page-compare .compare-suggestions a.compare-suggestion-card:hover * {
    text-decoration: none !important;
}
