#dinchel-cart-popup[hidden] {
    display: none !important;
}

#dinchel-cart-popup {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.55);
}

.dinchel-cart-dialog {
    position: relative;
    width: 100%;
    max-width: 450px;
    padding: 34px 30px 28px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: dinchel-cart-show 0.2s ease-out;
}

.dinchel-cart-close {
    position: absolute;
    top: 10px;
    right: 14px;
    padding: 2px 8px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.dinchel-cart-close:hover {
    color: #222;
}

.dinchel-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #009b50;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
}

.dinchel-cart-title {
    margin: 0 0 10px;
    color: #222;
    font-size: 23px;
    line-height: 1.25;
    text-transform: none;
}

.dinchel-cart-product {
    margin: 0 0 22px;
    color: #666;
    font-size: 15px;
    line-height: 1.45;
}

.dinchel-cart-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dinchel-cart-actions a,
.dinchel-cart-actions button {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    white-space: nowrap;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
}

.dinchel-cart-go {
    border: 1px solid #009b50;
    background: #009b50;
    color: #fff !important;
}

.dinchel-cart-go:hover {
    border-color: #007b42;
    background: #007b42;
    color: #fff !important;
}

.dinchel-cart-continue {
    border: 1px solid #d6d6d6;
    background: #f5f5f5;
    color: #222;
}

.dinchel-cart-continue:hover {
    border-color: #c8c8c8;
    background: #e9e9e9;
    color: #222;
}

body.dinchel-cart-lock {
    overflow: hidden;
}

@keyframes dinchel-cart-show {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 520px) {
    .dinchel-cart-dialog {
        padding: 32px 18px 22px;
    }

    .dinchel-cart-title {
        font-size: 21px;
    }

    .dinchel-cart-actions {
        flex-direction: column;
        gap: 8px;
    }

    .dinchel-cart-actions a,
    .dinchel-cart-actions button {
        width: 100%;
        min-height: 42px;
        padding: 10px 14px;
        font-size: 14px;
    }
}
