/* İndir menüsü: Windows, App Store ve yakında Google Play. */
.public-download-menu {
    position: relative;
    margin: 0;
    padding: 0;
}

.public-download-menu > summary {
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.public-download-menu > summary::-webkit-details-marker {
    display: none;
}

@media (min-width: 901px) {
    .public-download-menu > summary {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 10px 5px;
        color: #40516a;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        transition: color .2s ease;
    }

    .public-download-menu > summary > i {
        display: none;
    }

    .public-download-menu > summary > b {
        display: grid;
        place-items: center;
        width: 14px;
        height: 14px;
        margin-left: 1px;
        color: #8e9bad;
        transition: transform .2s ease;
    }

    .public-download-menu > summary > b svg {
        width: 12px;
        height: 12px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .public-download-menu > summary::after {
        content: "";
        position: absolute;
        right: 5px;
        bottom: 3px;
        left: 5px;
        height: 2px;
        border-radius: 99px;
        background: #1769e0;
        opacity: 0;
        transform: scaleX(.35);
        transition: opacity .2s ease, transform .2s ease;
    }

    .public-download-menu:hover > summary,
    .public-download-menu:focus-within > summary,
    .public-download-menu[open] > summary,
    .public-download-menu.active > summary {
        color: #0d61d5;
    }

    .public-download-menu:hover > summary::after,
    .public-download-menu:focus-within > summary::after,
    .public-download-menu[open] > summary::after,
    .public-download-menu.active > summary::after {
        opacity: 1;
        transform: scaleX(1);
    }

    .public-download-menu[open] > summary > b {
        transform: rotate(180deg);
    }

    .public-download-popover {
        position: absolute;
        top: calc(100% + 15px);
        left: 0;
        z-index: 80;
        display: grid !important;
        width: 318px;
        padding: 10px;
        border: 1px solid #e0e8f2;
        border-radius: 17px;
        background: rgba(255, 255, 255, .98);
        box-shadow: 0 22px 55px rgba(8, 31, 66, .18);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translate(0, -7px);
        transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
    }

    .public-download-popover::before {
        content: "";
        position: absolute;
        top: -7px;
        left: 24px;
        width: 13px;
        height: 13px;
        border-top: 1px solid #e0e8f2;
        border-left: 1px solid #e0e8f2;
        background: #fff;
        transform: rotate(45deg);
    }

    .public-download-menu:hover .public-download-popover,
    .public-download-menu:focus-within .public-download-popover,
    .public-download-menu[open] .public-download-popover {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translate(0, 0);
    }
}

.public-download-popover > a,
.public-download-popover > .download-platform-coming {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 11px;
    min-height: 62px;
    padding: 8px 10px !important;
    border: 0 !important;
    border-radius: 12px !important;
    background: transparent !important;
    color: #203a59 !important;
    text-decoration: none;
    box-shadow: none !important;
    transition: background-color .18s ease !important;
}

.public-download-popover > a:hover {
    background: #f1f6fd !important;
}

.download-platform-icon {
    display: grid !important;
    place-items: center;
    width: 42px !important;
    height: 42px !important;
    border-radius: 12px;
    background: #edf5ff;
    color: #1769e0;
    font-style: normal;
}

.download-platform-icon svg {
    width: 21px;
    height: 21px;
    fill: currentColor;
    stroke: none;
}

.download-platform-icon.apple {
    background: #f2f3f5;
    color: #111827;
}

.download-platform-icon.play {
    background: #edf8f2;
    color: #16865b;
}

.public-download-popover > a > span,
.public-download-popover > .download-platform-coming > span {
    display: block;
    min-width: 0;
}

.public-download-popover strong,
.public-download-popover small {
    display: block;
}

.public-download-popover strong {
    color: #173657;
    font-size: 12px;
    font-weight: 800;
}

.public-download-popover small {
    margin-top: 3px;
    color: #8794a5;
    font-size: 9px;
    font-weight: 650;
}

.public-download-popover > a > b {
    color: #7f91a7;
    font-size: 15px;
    font-weight: 600;
}

.download-platform-coming {
    opacity: .7;
}

.download-platform-coming em {
    padding: 5px 7px;
    border-radius: 999px;
    background: #eef2f6;
    color: #728197;
    font-size: 8px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: .4px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .public-download-menu {
        display: block;
    }

    .public-download-menu > summary {
        display: grid;
        grid-template-columns: 35px 1fr auto;
        align-items: center;
        gap: 11px;
        min-height: 55px;
        padding: 8px 11px;
        border-radius: 13px;
        color: #28425f;
        font-size: 13px;
        font-weight: 700;
    }

    .public-download-menu > summary > i {
        display: grid;
        place-items: center;
        width: 35px;
        height: 35px;
        border-radius: 10px;
        background: #f0f5fb;
        color: #47709f;
        font-style: normal;
    }

    .public-download-menu > summary > i svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .public-download-menu > summary > b {
        display: grid;
        place-items: center;
        width: 18px;
        height: 18px;
        margin: 0;
        color: #a8b5c4;
        transition: transform .2s ease;
    }

    .public-download-menu > summary > b svg {
        width: 15px;
        height: 15px;
        fill: none;
        stroke: currentColor;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .public-download-menu[open] > summary {
        background: #edf5ff;
        color: #0c59bd;
    }

    .public-download-menu[open] > summary > b {
        color: #1769e0;
        transform: rotate(180deg);
    }

    .public-download-popover {
        position: static;
        display: grid !important;
        max-height: 0;
        margin: 0 0 0 46px;
        padding: 0;
        border: 0;
        border-left: 1px solid #dce6f2;
        background: transparent;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: max-height .24s ease, opacity .2s ease, padding .2s ease;
    }

    .public-download-menu[open] .public-download-popover {
        max-height: 240px;
        padding: 4px 0 7px 9px;
        opacity: 1;
        visibility: visible;
    }

    .public-download-popover > a,
    .public-download-popover > .download-platform-coming {
        grid-template-columns: 34px 1fr auto;
        min-height: 52px;
        padding: 5px 7px !important;
    }

    .download-platform-icon {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px;
    }

    .download-platform-icon svg {
        width: 17px;
        height: 17px;
    }

    .public-download-popover strong {
        font-size: 11px;
    }

    .public-download-popover small {
        font-size: 8px;
    }
}
