/* ========================================
   MGPS PPF Compare Section — ÜRÜN KARŞILAŞTIRMA
   ======================================== */

/* --- Text Center --- */
.mgps-compare {
    background: linear-gradient(180deg, #1a1c24 0%, #0A0C10 40%) !important;
    border-radius: 16px;
    overflow: hidden;
}

.mgps-compare .mgps-heading {
    color: #fff !important;
}

.mgps-compare .mgps-text-center {
    text-align: center;
}

/* --- Screen Reader Only (erişilebilirlik) --- */
.mgps-compare .mgps-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;
}

/* --- Tablo Wrapper --- */
.mgps-compare-wrap {
    overflow-x: auto;
    margin-top: 48px;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
}

/* --- Tablo --- */
.mgps-compare-table {
    width: 100%;
    min-width: 700px;
    border-collapse: collapse;
    font-family: var(--mgps-font-body);
}

/* --- Thead --- */
.mgps-compare-table thead th {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.12em;
    padding: 16px 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    text-align: left;
    white-space: nowrap;
}

/* --- Tbody --- */
.mgps-compare-table tbody td {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    padding: 18px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

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

.mgps-compare-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.04);
}

/* --- Ürün Adı --- */
.mgps-compare-name {
    font-family: 'ethnocentric', sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    white-space: nowrap;
    color: #fff;
}

/* --- Yıldızlar --- */
.mgps-stars-compare {
    display: inline-flex;
    gap: 2px;
    letter-spacing: 1px;
}

.mgps-star-filled {
    color: #FFD700;
    font-size: 14px;
    filter: drop-shadow(0 0 3px rgba(255, 215, 0, 0.3));
}

.mgps-star-empty {
    color: rgba(255, 255, 255, 0.12);
    font-size: 14px;
}

/* ========================================
   Responsive
   ======================================== */

/* Tablet: <= 1024px */
@media (max-width: 1024px) {
    .mgps-compare-table thead th {
        font-size: 9px;
        padding: 14px 10px;
    }

    .mgps-compare-table tbody td {
        font-size: 12px;
        padding: 14px 10px;
    }
}

/* Mobile: <= 768px */
@media (max-width: 768px) {
    .mgps-compare-wrap {
        overflow-x: auto;
        margin-top: 32px;
    }

    .mgps-compare-table {
        min-width: 700px;
    }
}
