html.nexly-cover-open,
body.nexly-cover-open {
    overflow: hidden !important;
}

.nexly-entry-cover,
.nexly-entry-cover * {
    box-sizing: border-box;
}

.nexly-entry-cover {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity .34s ease, visibility .34s ease;
}

.nexly-entry-cover.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.nexly-entry-picture {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.nexly-entry-picture img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-drag: none;
}

.nexly-entry-actions {
    position: absolute;
    left: clamp(28px, 5.6vw, 86px);
    bottom: clamp(38px, 8vh, 92px);
    z-index: 5;
    width: min(372px, calc(100vw - 56px));
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.nexly-entry-button {
    width: 100%;
    min-height: 76px;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 14px;
    border: 2px solid #2f73e8;
    border-radius: 18px;
    background: rgba(255,255,255,.72);
    color: #2866cc;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 12px 32px rgba(32,78,164,.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.nexly-entry-button:hover {
    transform: translateY(-2px);
    background: rgba(255,255,255,.92);
    box-shadow: 0 16px 36px rgba(32,78,164,.14);
}

.nexly-entry-button:focus-visible {
    outline: 3px solid rgba(47,115,232,.28);
    outline-offset: 3px;
}

.nexly-entry-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.nexly-entry-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.nexly-entry-text {
    min-width: 0;
    font-size: 18px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .45px;
    text-align: left;
    white-space: nowrap;
}

.nexly-entry-arrow {
    justify-self: end;
    font-size: 28px;
    line-height: 1;
    font-weight: 400;
}

.nexly-store-button.is-disabled {
    cursor: default;
}

.nexly-store-button.is-disabled:hover {
    transform: none;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .nexly-entry-actions {
        left: 36px;
        bottom: 40px;
        width: 350px;
    }

    .nexly-entry-button {
        min-height: 70px;
        padding: 0 21px;
    }

    .nexly-entry-text {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .nexly-entry-actions {
        left: 16px;
        right: 16px;
        bottom: max(20px, env(safe-area-inset-bottom));
        width: auto;
        gap: 10px;
    }

    .nexly-entry-button {
        min-height: 60px;
        padding: 0 17px;
        grid-template-columns: 26px minmax(0, 1fr) 24px;
        gap: 10px;
        border-radius: 14px;
    }

    .nexly-entry-icon svg {
        width: 21px;
        height: 21px;
    }

    .nexly-entry-text {
        font-size: 15px;
    }

    .nexly-entry-arrow {
        font-size: 23px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nexly-entry-cover,
    .nexly-entry-button {
        transition: none !important;
    }
}


/* MAĞAZA YAKINDA POPUP */
.nexly-store-modal {
    position: absolute;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .25s ease, visibility .25s ease;
}

.nexly-store-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nexly-store-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 52, .42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nexly-store-modal-card {
    position: relative;
    z-index: 2;
    width: min(460px, 100%);
    padding: 42px 34px 32px;
    border-radius: 28px;
    border: 1px solid rgba(255,255,255,.8);
    background: rgba(255,255,255,.94);
    color: #1d2a3a;
    text-align: center;
    box-shadow: 0 28px 80px rgba(7, 31, 74, .24);
    transform: translateY(14px) scale(.98);
    transition: transform .25s ease;
}

.nexly-store-modal.is-open .nexly-store-modal-card {
    transform: translateY(0) scale(1);
}

.nexly-store-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #edf4ff;
    color: #2866cc;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.nexly-store-modal-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    height: 42px;
    margin-bottom: 18px;
    padding: 0 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0a4cff 0%, #4f8cff 100%);
    color: #fff;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: 1.8px;
}

.nexly-store-modal-card h2 {
    margin: 0 0 12px;
    color: #1d2a3a;
    font-size: 30px;
    line-height: 1.15;
    font-weight: 900;
}

.nexly-store-modal-card p {
    margin: 0 auto 24px;
    max-width: 360px;
    color: #5f6d7e;
    font-size: 15px;
    line-height: 1.65;
}

.nexly-store-modal-service {
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #0a4cff 0%, #4f8cff 100%);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(10,76,255,.2);
}

@media (max-width: 767px) {
    .nexly-store-modal {
        padding: 18px;
    }

    .nexly-store-modal-card {
        padding: 38px 22px 26px;
        border-radius: 22px;
    }

    .nexly-store-modal-card h2 {
        font-size: 25px;
    }

    .nexly-store-modal-card p {
        font-size: 14px;
    }

    .nexly-store-modal-service {
        width: 100%;
    }
}
