/* =============================================
   Natz Cart Limit - Stiluri
   natz.ro
   ============================================= */

/* ---------- Bara de progres coș ---------- */
.natz-progress-bar-wrap {
    margin: 16px 0 24px;
    font-family: inherit;
}

.natz-progress-bar-wrap__label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.natz-progress-bar-wrap__label span:last-child {
    font-weight: 600;
    color: #222;
}

.natz-progress-track {
    height: 8px;
    background: #e8e8e8;
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 4px;
}

.natz-progress-fill {
    height: 100%;
    border-radius: 99px;
    transition: width 0.4s ease, background-color 0.3s ease;
    background: linear-gradient(90deg, #4caf50, #8bc34a);
}

.natz-progress-fill--warning {
    background: linear-gradient(90deg, #ff9800, #ffc107);
}

.natz-progress-fill--danger {
    background: linear-gradient(90deg, #f44336, #e91e63);
}

.natz-progress-bar-wrap__hint {
    font-size: 11px;
    color: #888;
    text-align: right;
}

/* ---------- Alertă coș depășit ---------- */
.natz-cart-alert {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fff8f0;
    border: 2px solid #e05c00;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 20px 0 28px;
    box-shadow: 0 4px 16px rgba(224, 92, 0, 0.12);
    animation: natz-slide-in 0.35s ease;
}

@keyframes natz-slide-in {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.natz-cart-alert--checkout {
    border-color: #c0392b;
    background: #fff5f5;
}

.natz-cart-alert__icon {
    font-size: 36px;
    flex-shrink: 0;
    line-height: 1;
}

.natz-cart-alert__content {
    flex: 1;
}

.natz-cart-alert__content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #c0392b;
    font-weight: 700;
}

.natz-cart-alert__content p {
    margin: 0 0 8px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.natz-cart-alert__cta {
    margin-top: 12px !important;
    font-weight: 500;
}

.natz-cart-alert__phone {
    display: inline-block;
    background: #e05c00;
    color: #fff !important;
    text-decoration: none !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-left: 8px;
    transition: background 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 8px rgba(224, 92, 0, 0.35);
}

.natz-cart-alert__phone:hover {
    background: #bf4f00;
    transform: translateY(-1px);
}

.natz-cart-alert__phone--big {
    font-size: 22px;
    padding: 12px 32px;
    margin: 12px 0;
    display: inline-block;
    letter-spacing: 0.5px;
}

/* ---------- Banner flotant (popup) ---------- */
.natz-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    background: #fff;
    border: 2px solid #e05c00;
    border-radius: 14px;
    padding: 18px 22px;
    max-width: 340px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    display: none;
    animation: natz-pop-in 0.4s cubic-bezier(.175,.885,.32,1.275);
}

@keyframes natz-pop-in {
    from { opacity: 0; transform: scale(0.85) translateY(20px); }
    to   { opacity: 1; transform: scale(1)   translateY(0); }
}

.natz-popup.is-visible {
    display: block;
}

.natz-popup__close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 2px 6px;
}

.natz-popup__close:hover { color: #222; }

.natz-popup__title {
    font-size: 15px;
    font-weight: 700;
    color: #c0392b;
    margin: 0 0 6px;
    padding-right: 24px;
}

.natz-popup__body {
    font-size: 13px;
    color: #555;
    margin: 0 0 12px;
    line-height: 1.5;
}

.natz-popup__phone {
    display: block;
    text-align: center;
    background: #e05c00;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px;
    border-radius: 8px;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.natz-popup__phone:hover { background: #bf4f00; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
    .natz-cart-alert {
        flex-direction: column;
        padding: 16px;
    }
    .natz-cart-alert__phone {
        margin-left: 0;
        margin-top: 8px;
    }
    .natz-popup {
        bottom: 12px;
        right: 12px;
        left: 12px;
        max-width: none;
    }
}
