/* ==========================================
   AZEM PASTANE
   SOCIAL SHARE COMPONENT
========================================== */

.azem-share {
    --share-gold: var(--general);
    --share-dark: var(--text);
    --share-muted: #737373;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;

    width: 100%;
    margin: 30px 0;
    padding: 22px 0;

    border-top: 1px solid #e5e1d9;
    border-bottom: 1px solid #e5e1d9;
}

.azem-share,
.azem-share * {
    box-sizing: border-box;
}

/* BAŞLIK */

.azem-share__heading {
    min-width: 0;
}

.azem-share__title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.azem-share__line {
    display: block;
    width: 25px;
    height: 3px;
    flex-shrink: 0;

    background: var(--share-gold);
}

.azem-share__title strong {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.3px;
    line-height: 1.5;
    text-transform: uppercase;

    color: var(--share-dark);
}

.azem-share__heading p {
    margin: 7px 0 0;

    font-size: 12px;
    line-height: 1.6;

    color: var(--share-muted);
}

/* PAYLAŞIM BUTONLARI */

.azem-share__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}

.azem-share__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    flex-shrink: 0;

    padding: 0;
    margin: 0;

    background: var(--share-dark);
    border: 1px solid transparent;
    border-radius: 50%;

    color: #ffffff !important;
    text-decoration: none !important;

    font-size: 17px;
    line-height: 1;

    cursor: pointer;

    transition:
        background .25s ease,
        color .25s ease,
        transform .25s ease;
}

.azem-share__button[hidden] {
    display: none !important;
}

.azem-share__button svg {
    display: block;
    width: 18px;
    height: 18px;
}

.azem-share__button i {
    font-size: 18px;
}

/* PLATFORM RENKLERİ */

.azem-share__copy,
.azem-share__native {
    background: var(--share-gold);
    color: var(--share-dark) !important;
}

@media (hover: hover) {

    .azem-share__button:hover {
        transform: translateY(-4px);
    }

    .azem-share__whatsapp:hover {
        background: #25d366;
        color: #232323 !important;
    }

    .azem-share__facebook:hover {
        background: #1877f2;
    }

    .azem-share__twitter:hover {
        background: #000000;
    }

    .azem-share__telegram:hover {
        background: #229ed9;
    }

    .azem-share__copy:hover,
    .azem-share__native:hover {
        background: var(--share-dark);
        color: var(--share-gold) !important;
    }

}

.azem-share__button:active {
    transform: scale(.94);
}

.azem-share__button:focus-visible {
    outline: 2px solid #96700d;
    outline-offset: 4px;
}

/* KOPYALAMA BİLDİRİMİ */

.azem-share__notification {
    position: absolute;
    right: 0;
    bottom: calc(100% + 8px);
    z-index: 10;

    max-width: 100%;
    padding: 11px 17px;

    background: var(--share-dark);
    border-left: 3px solid var(--share-gold);

    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;

    box-shadow: 0 5px 20px rgba(0, 0, 0, .12);
}

.azem-share__notification[hidden] {
    display: none !important;
}

/* TABLET VE MOBİL */

@media (max-width: 767px) {

    .azem-share {
        flex-direction: column;
        align-items: flex-start;

        gap: 17px;
        margin: 25px 0;
        padding: 20px 0;
    }

    .azem-share__heading {
        width: 100%;
    }

    .azem-share__title strong {
        font-size: 11px;
    }

    .azem-share__heading p {
        font-size: 12px;
    }

    .azem-share__actions {
        width: 100%;
        gap: 8px;
    }

    .azem-share__button {
        width: 44px;
        height: 44px;
    }

    .azem-share__notification {
        right: auto;
        left: 0;
    }

}

/* KÜÇÜK TELEFONLAR */

@media (max-width: 375px) {

    .azem-share__actions {
        gap: 6px;
    }

    .azem-share__button {
        width: 44px;
        height: 44px;
    }

}

/* ERİŞİLEBİLİRLİK */

@media (prefers-reduced-motion: reduce) {

    .azem-share__button {
        transition: none;
    }

    .azem-share__button:hover {
        transform: none;
    }

}