/* New "deal card" design for vanity number listings (number-management and sibling browse pages). */

.dealcard {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 18, 63, 0.3);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dealcard__header {
    background: #004a8e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
}

.dealcard__tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 6px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.dealcard__tag--hot {
    background: #e0223b;
    color: #fff;
}

.dealcard__tag--hidden {
    visibility: hidden;
}

.dealcard__tag--off {
    background: #f5c344;
    color: #14123f;
    margin-left: auto;
}

.dealcard__body {
    padding: 18px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.dealcard__number-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.dealcard__number {
    margin: 0;
    font-family: Lato, sans-serif;
    font-weight: 900;
    font-size: 28px;
    color: #14123f;
    text-align: center;
}

.dealcard__number b {
    color: #dc2626;
    font-weight: 900;
}

.dealcard__crown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #eef0fb;
    color: #14123f;
    flex-shrink: 0;
}

.dealcard__sum {
    margin: 0;
    text-align: center;
    color: #4b4b63;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dealcard__sum::before,
.dealcard__sum::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d8d8e6;
}

.dealcard__timer {
    background: #fdeaea;
    color: #d92d2d;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    padding: 8px 10px;
    border-radius: 8px;
}

.dealcard__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    border-top: 1px solid #eceef7;
    padding-top: 10px;
}

.dealcard__price {
    font-size: 22px;
    font-weight: 800;
    color: #14123f;
}

.dealcard__price--strike {
    font-size: 15px;
    color: #9a9ab0;
    text-decoration: line-through;
}

.dealcard__save {
    margin-left: auto;
    background: #e3f8ea;
    color: #1a9d4a;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}

.dealcard__actions {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-top: 4px;
}

.dealcard__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 10px;
    border: 1px solid #dcdce8;
    background: #fff;
    color: #14123f;
}

.dealcard__icon-btn--whatsapp {
    background: #e6f9ec;
    border-color: #cdf0d8;
    color: #25d366;
}

.dealcard__buy-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #004a8e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 13px;
    padding: 0 12px;
}

.dealcard__similar-btn {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #14123f;
    color: #14123f;
    border-radius: 10px;
    font-weight: 700;
    font-size: 12px;
    padding: 0 10px;
    text-align: center;
}

@media (max-width: 575px) {
    .dealcard__actions {
        flex-wrap: wrap;
    }

    .dealcard__buy-btn,
    .dealcard__similar-btn {
        flex-basis: 100%;
        height: 40px;
    }
}

/* The mini-cart drawer is a fixed ~310-375px sidebar regardless of viewport
   width, so the action row needs to wrap even on desktop, matching the
   viewport-width-based mobile breakpoint above. */
.offCanvas__minicart .dealcard__actions {
    flex-wrap: wrap;
}

.offCanvas__minicart .dealcard__buy-btn,
.offCanvas__minicart .dealcard__similar-btn {
    flex-basis: 100%;
    height: 40px;
}

/* "What Happens After Payment" block in the mini-cart drawer */
.minicart__after-payment {
    padding: 16px 20px 4px;
    border-top: 1px solid #eceef7;
}

.minicart__after-payment--title {
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #14123f;
    margin: 0 0 16px;
}

.minicart__after-payment--step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
}

.minicart__after-payment--num {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #eef0fb;
    color: #004a8e;
    font-weight: 700;
    font-size: 13px;
}

.minicart__after-payment--step h4 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 700;
    color: #14123f;
}

.minicart__after-payment--step p {
    margin: 0;
    font-size: 13px;
    color: #6b6b80;
    line-height: 1.4;
}
