.sticky-iletisim {
    --sticky-size: 54px;
    --sticky-gap: 12px;
    --sticky-shadow: 0 10px 28px rgba(15, 23, 42, 0.22);
    position: fixed;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: calc(22px + env(safe-area-inset-bottom, 0px));
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: var(--sticky-gap);
    pointer-events: none;
    font-family: inherit;
}

.sticky-grup {
    position: relative;
    width: var(--sticky-size);
    height: var(--sticky-size);
    flex-shrink: 0;
    pointer-events: auto;
    z-index: 1;
}

.sticky-grup.acik {
    z-index: 5;
}

.sticky-panel {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

.sticky-grup.acik .sticky-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

.sticky-iletisim a.sticky-dugme,
.sticky-iletisim button.sticky-dugme {
    width: var(--sticky-size);
    height: var(--sticky-size);
    min-width: var(--sticky-size);
    min-height: var(--sticky-size);
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    text-decoration: none !important;
    background-image: none !important;
    box-shadow: var(--sticky-shadow);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    appearance: none;
    line-height: 0;
    vertical-align: middle;
}

.sticky-iletisim a.sticky-dugme:hover,
.sticky-iletisim a.sticky-dugme:focus,
.sticky-iletisim a.sticky-dugme:active,
.sticky-iletisim button.sticky-dugme:hover,
.sticky-iletisim button.sticky-dugme:focus,
.sticky-iletisim button.sticky-dugme:active {
    color: #fff !important;
    text-decoration: none !important;
    outline: none;
    border: 0;
}

.sticky-iletisim a.sticky-dugme:hover,
.sticky-iletisim button.sticky-dugme:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.05);
}

.sticky-iletisim a.sticky-dugme::before,
.sticky-iletisim a.sticky-dugme::after,
.sticky-iletisim button.sticky-dugme::before,
.sticky-iletisim button.sticky-dugme::after {
    content: none !important;
    display: none !important;
}

.sticky-dugme .sticky-ikon {
    display: block;
    font-size: 22px;
    line-height: 1;
    pointer-events: none;
}

.sticky-dugme .sticky-ikon::before {
    display: block;
    line-height: 1;
}

.sticky-dugme--wa {
    background: #25d366;
}

.sticky-dugme--tel {
    background: #1a2744;
}

.sticky-dugme--konum {
    background: #e53935;
}

.sticky-rozet {
    position: absolute;
    top: -3px;
    right: -3px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    background: #e53935;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    pointer-events: none;
}

.sticky-dugme--ana.sticky-dugme--acik {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.85), var(--sticky-shadow);
}

@media (min-width: 992px) {
    .sticky-iletisim {
        --sticky-size: 56px;
        right: max(22px, env(safe-area-inset-right, 0px));
        bottom: calc(28px + env(safe-area-inset-bottom, 0px));
    }

    .sticky-dugme .sticky-ikon {
        font-size: 24px;
    }
}

@media (max-width: 767px) {
    .sticky-iletisim {
        --sticky-size: 50px;
        --sticky-gap: 10px;
        bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    }

    .sticky-panel {
        right: 0;
        top: auto;
        bottom: calc(100% + 10px);
        flex-direction: column;
        transform: translateY(8px);
    }

    .sticky-grup.acik .sticky-panel {
        transform: translateY(0);
    }

    .sticky-dugme .sticky-ikon {
        font-size: 21px;
    }
}

@media (max-width: 767px) and (max-height: 520px) {
    .sticky-iletisim {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        transform: scale(0.92);
        transform-origin: bottom right;
    }
}

body:has(#button.show) .sticky-iletisim {
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
    body:has(#button.show) .sticky-iletisim {
        bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    }
}
