/* --- Extracted from 21_LOW_STOCK_ALERTS.css --- */
/* === LOW STOCK ALERTS === */
.product-card.low-stock,
.mobile-card-premium.low-stock {
    border: 1px solid var(--border) !important;
    position: relative;
    box-shadow: none !important;
}

.low-stock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}



/* --- Extracted from 18_MOBILE_PREMIUM_REDESIGN_User_Review_Req.css --- */
/* === MOBILE PREMIUM REDESIGN (User Review Req.) === */
.mobile-card-premium {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 0;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
    transition: transform 0.2s;
}

.mobile-card-premium:active {
    transform: scale(0.98);
}

.m-card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.m-card-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: #f1f5f9;
    object-fit: contain;
    padding: 5px;
    border: 1px solid #e2e8f0;
}

.m-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-card-eyebrow {
    font-size: 0.6rem;
    font-weight: 800;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-card-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.m-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.m-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #64748b;
}

.m-badge.primary {
    background: var(--primary-soft);
    color: var(--primary);
}

.m-badge.success {
    background: #dcfce7;
    color: #166534;
}

.m-badge.danger {
    background: #fef2f2;
    color: #dc2626;
    /* Deeper red for better visibility */
    border: 1px solid #fee2e2;
}

.m-badge.install {
    background: #10b981;
    color: white;
    font-weight: 800;
}

.m-card-pricing {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    border-top: 1px dashed var(--border);
    gap: 10px;
}

.m-price-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-price-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
}

.m-price-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--warning);
}

.m-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.m-stepper {
    display: flex;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 2px;
    align-items: center;
}

.m-stepper button {
    width: 28px;
    height: 28px;
    border: none;
    background: white;
    color: var(--text-main);
    font-weight: 700;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-stepper input {
    width: 32px;
    height: 32px;
    text-align: center;
    border: none;
    background: transparent !important;
    border-radius: 6px;
    font-weight: 900;
    font-size: 1rem;
    color: #000000 !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #000000;
    margin: 0 4px;
    line-height: normal;
    padding: 0 !important;
    outline: none;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-appearance: none;
    appearance: none;
}

.m-btn-add {
    flex: 1;
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
}