/* Mobility Product Info Widget */

.mpi-product-info {
    border-top: 1px solid rgba(0,0,0,.06);
    padding-top: 16px;
    font-size: 16px;
    line-height: 1.4;
}

.mpi-headline-wrap {
    margin-bottom: 12px;
}

.mpi-headline {
    font-size: 18px;
    font-weight: 600;
    text-decoration: none; /* alt çizgiyi kaldır */
    cursor: pointer;
}

.mpi-actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin: 8px 0 16px;
    flex-wrap: wrap;
}

.mpi-actions__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent !important; /* arka plan yok */
    border: none;
    padding: 0;
    cursor: pointer;
    font-size: 16px;
    color: #000; /* varsayılan ikon + yazı siyah */
}

.mpi-actions__item i {
    font-size: 18px;
    color: inherit; /* ikon rengi yazıyla aynı */
}

.mpi-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.mpi-row i {
    font-size: 18px;
}

.mpi-guarantee {
    margin-top: 16px;
    padding: 24px;
    border-radius: 12px;
    background-color: #f7f7f7;
    display: flex;
    align-items: center;
    gap: 16px;
}

.mpi-guarantee__icon i {
    font-size: 40px;
}

.mpi-guarantee__text {
    font-size: 18px;
    font-weight: 500;
}

/* Buttons */
.mpi-btn {
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.mpi-btn--primary {
    background-color: #0070d2;
    color: #fff;
}

.mpi-btn--secondary {
    background-color: #f0f0f0;
    color: #111;
}

/* Modals */
.mpi-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}

.mpi-modal.is-open {
    display: block;
}

.mpi-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
}

.mpi-modal__dialog {
    position: relative;
    max-width: 480px;
    margin: 60px auto;
    background: #fff;
    border-radius: 16px;
    padding: 24px 24px 20px;
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
}

.mpi-modal__title {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 600;
}

.mpi-modal__close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.mpi-form__field {
    margin-bottom: 12px;
}

.mpi-form__field label {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.mpi-form__field input,
.mpi-form__field textarea {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 14px;
    box-sizing: border-box;
}

.mpi-form__field textarea {
    min-height: 80px;
    resize: vertical;
}

.mpi-form__message,
.mpi-share__message {
    margin-top: 10px;
    font-size: 14px;
}

.mpi-share__desc {
    font-size: 14px;
    margin: 0 0 10px;
}

.mpi-share__field {
    display: flex;
    gap: 8px;
    align-items: center;
}

.mpi-share__input {
    flex: 1 1 auto;
    min-width: 0;
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 8px 10px;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 767px) {
    .mpi-modal__dialog {
        margin: 40px 16px;
        max-width: none;
    }

    .mpi-guarantee {
        padding: 16px;
    }

    .mpi-guarantee__icon i {
        font-size: 32px;
    }

    .mpi-guarantee__text {
        font-size: 16px;
    }

    /* Başlık mobilde tek satır, taşarsa ... ile kesilsin */
    .mpi-headline {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 16px;
    }
}
