.onoxsoft-contact-bar {
    position: fixed;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 12px;
    right: 12px;
    display: flex;
    gap: 12px;
    justify-content: center;
    background: transparent;
    padding: 0 6px calc(6px + env(safe-area-inset-bottom));
    border-radius: 16px;
    z-index: 9999;
    color: inherit;
    box-shadow: none;
    backdrop-filter: none;
    flex-wrap: wrap;
}
.onoxsoft-contact-bar__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    min-height: 46px;
    flex: 1 1 140px;
    letter-spacing: 0.01em;
    min-width: 0;

}
.onoxsoft-contact-bar__btn span { display: inline-flex; align-items: center; }
.onoxsoft-contact-bar__btn--call { background: linear-gradient(135deg, #2563eb, #1d4ed8); box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35); }
.onoxsoft-contact-bar__btn--whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 10px 20px rgba(37, 211, 102, 0.35); }
.onoxsoft-contact-bar__btn--search { box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35); }
.onoxsoft-contact-bar__btn:hover { transform: translateY(-2px); box-shadow: 0 12px 22px rgba(0,0,0,0.28); }
.onoxsoft-contact-bar__btn:active { transform: translateY(0); }
.onoxsoft-contact-bar__icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
}
.onoxsoft-contact-bar__btn span:last-child {
    font-size: 18px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.onoxsoft-contact-bar__icon svg { width: 100%; height: 100%; fill: currentColor; }
.onoxsoft-contact-bar[data-button-count="1"] .onoxsoft-contact-bar__btn { flex: 1 1 100%; }
.onoxsoft-contact-bar[data-button-count="2"] .onoxsoft-contact-bar__btn { flex: 1 1 50%; }
.onoxsoft-contact-bar[data-button-count="3"] .onoxsoft-contact-bar__btn { flex: 1 1 33.333%; }
.onoxsoft-contact-search {
    position: absolute;
    bottom: calc(72px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.18);
    display: none;
    width: 90%;
    max-width: 520px;
}
.onoxsoft-contact-search.is-active { display: flex; gap: 8px; }
.onoxsoft-contact-search input[type="search"] {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
}
.onoxsoft-contact-search button {
    padding: 10px 14px;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}
.onoxsoft-desktop-whatsapp {
    position: fixed;
    bottom: 24px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.onoxsoft-desktop-whatsapp--right { right: 24px; }
.onoxsoft-desktop-whatsapp--left { left: 24px; }

@media (min-width: 1024px) {
    .onoxsoft-contact-bar { display: none; }
}
@media (max-width: 767px) {
    .onoxsoft-desktop-whatsapp { display: none; }
}

@media (max-width: 520px) {
    .onoxsoft-contact-bar {
        gap: 8px;
        left: 10px;
        right: 10px;

        padding: 0 6px calc(8px + env(safe-area-inset-bottom));
    }

    .onoxsoft-contact-bar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        flex-wrap: nowrap;
    }

    .onoxsoft-contact-bar__btn {
        padding: 11px 12px;
        gap: 8px;
        width: 100%;
    }

    .onoxsoft-contact-bar__btn span:last-child { font-size: 17px; }
}

.onoxsoft-toc {
    margin: 20px 0;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
}
.onoxsoft-toc__title {
    font-weight: 700;
    margin-bottom: 10px;
}
.onoxsoft-toc__list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
}
.onoxsoft-toc__item--child { margin-left: 12px; font-size: 0.95em; }
.onoxsoft-toc__item a { color: #1d4ed8; text-decoration: none; }
.onoxsoft-toc__item a:hover { text-decoration: underline; }

/* Elementor Post Widget basit düzeni */
.onoxsoft-post-grid { display: grid; gap: 16px; }
.onoxsoft-post-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.onoxsoft-post-card__thumb img { display: block; width: 100%; height: auto; }
.onoxsoft-post-card__body { padding: 14px; }
.onoxsoft-post-card__meta { color: #6b7280; font-size: 13px; margin-bottom: 6px; }
.onoxsoft-post-card__title { font-size: 18px; margin: 0 0 8px; }
.onoxsoft-post-card__excerpt { color: #4b5563; margin: 0 0 10px; }
.onoxsoft-post-card__readmore { color: #2563eb; font-weight: 600; text-decoration: none; }
.onox-grid {
    --onox-cols: 3;
    display: grid;
    grid-template-columns: repeat(var(--onox-cols,3), minmax(0,1fr));
    gap: 18px;
}
@media (max-width: 1024px) {
    .onox-grid { --onox-cols: 2; }
}
@media (max-width: 767px) {
    .onox-grid { --onox-cols: 1; }
}
.onox-card { border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.onox-thumb img { width: 100%; height: auto; display: block; }
.onox-content { padding: 14px; }
.onox-meta { color: #6b7280; font-size: 13px; margin-bottom: 6px; }
.onox-title { margin: 0 0 8px; font-size: 18px; }
.onox-title a { text-decoration: none; color: #111827; }
.onox-title a:hover { color: #2563eb; }
.onox-excerpt { margin: 0 0 10px; color: #4b5563; }
.onox-readmore { color: #2563eb; font-weight: 600; text-decoration: none; }

.onox-pagination {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 16px 0;
    align-items: center;
}

.onox-pagination li {
    display: inline-flex;
}

.onox-pagination a,
.onox-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    padding: 8px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: #1f2937;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.onox-pagination a:hover {
    background: #e5e7eb;
    color: #111827;
    border-color: #d1d5db;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.onox-pagination .current,
.onox-pagination span.current {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}
