/**
 * KTC — cart reminder sheet.
 */

/* ========== KTC CARD REMINDER SHEET start ========== */

.bottom-sheet.ktc-card-cart-sheet .content,
.bottom-sheet.ktc-card-checkout-sheet .content {
    max-width: 490px;
}

@media (min-width: 1024px) {
    .bottom-sheet.ktc-card-cart-sheet .content,
    .bottom-sheet.ktc-card-checkout-sheet .content {
        min-height: -moz-min-content;
        min-height: min-content;
    }
}

.bottom-sheet.ktc-card-cart-sheet .body > .close-sheet-btn,
.bottom-sheet.ktc-card-checkout-sheet .body > .close-sheet-btn {
    display: none;
}

.bottom-sheet.ktc-card-cart-sheet .body,
.bottom-sheet.ktc-card-checkout-sheet .body {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
}

/* Soft brand wash behind the top of the sheet. */
.bottom-sheet.ktc-card-cart-sheet .body::before,
.bottom-sheet.ktc-card-checkout-sheet .body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 55%;
    background: radial-gradient(
        143.53% 143.53% at 50% -56.13%,
        rgba(16, 0, 243, 0.20) 0%,
        rgba(16, 0, 243, 0.08) 45%,
        rgba(16, 0, 243, 0.03) 75%,
        rgba(16, 0, 243, 0) 100%
    );
    pointer-events: none;
    z-index: 0;
}

.ktc-card-content {
    position: relative;
    display: flex;

    flex-direction: column;
    align-items: center;
    padding: 32px 24px;
    text-align: center;
}

/* Icon badge */
.ktc-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 20px rgba(16, 0, 243, 0.12);
}

.ktc-card-icon svg {
    width: 32px;
    height: 32px;
}

.ktc-card-heading {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--surface-brand);
    margin: 0 0 12px;
}

.ktc-card-text {
    font-size: 18px;
    line-height: 1.5;
    color: var(--voye-text-black);
    margin: 0 0 28px;
    max-width: 380px;
}

/* Actions — side by side, equal width */
.ktc-card-actions {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: 100%;
}

.ktc-card-actions button {
    flex: 1 1 0;
    min-width: 0;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 20px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.ktc-card-actions .ktc-card-cta {
    background: var(--surface-brand);
    color: #fff;
    border: 1px solid var(--surface-brand);
}

.ktc-card-actions .ktc-card-cta:hover {
    background: #002d63;
    border-color: #002d63;
}

.ktc-card-actions .ktc-card-back {
    background: none;
    color: var(--voye-text-black);
    border: 1px solid #ECEBFE;
}

.ktc-card-actions .ktc-card-back:hover {
    background: #ECEBFE;
    border-color: var(--surface-brand);
    color: var(--surface-brand);
}
.ktc-card-heading.error{
    color: #b32d2e;
}
.ktc-card-icon.error-icon{
    background: #fdecea;
}
.ktc-card-icon.error-icon svg path:first-child{
    fill: #b32d2e;
}
@media (max-width: 767px) {
    .ktc-card-content {
        padding: 24px 16px;
    }

    .ktc-card-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 16px;
    }

    .ktc-card-icon svg {
        width: 28px;
        height: 28px;
    }

    .ktc-card-heading {
        font-size: 1.25rem;
    }

    .ktc-card-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .ktc-card-actions button {
        font-size: 13px;
        padding: 14px 12px;
    }

    .bottom-sheet.ktc-card-cart-sheet .body,
    .bottom-sheet.ktc-card-checkout-sheet .body {
        border-radius: 0px;
    }
}
@media (max-width:1023.5px){
    .bottom-sheet.ktc-card-cart-sheet .content,
    .bottom-sheet.ktc-card-checkout-sheet .content {
        max-width: 100%;
    }
}
/* ========== KTC CARD REMINDER SHEET end ========== */